arpsend does not cancel vz start

MaFL

Renowned Member
Jun 19, 2008
16
0
66
Hi

arpsend doesn´t cancel the vz start anymore. It only writes a warning and starts the vz despite the address conflict.
Network inside the container is up (and competing with the other host)

Code:
root@blade2:~# vzctl start 303
Starting container ...
Container is mounted
Adding IP address(es): x.x.x.x
arpsend: x.x.x.x is detected on another computer : 00:15:17:23:xx:xx
vps-net_add WARNING: arpsend -c 1 -w 2 -D -e x.x.x.x vmbr0 FAILED
Setting CPU units: 1000
Setting CPUs: 8
Container start in progress...

On a plain openvz box it looks like this:
Code:
helene:~# vzctl start 124
Starting container ...
Container is mounted
Adding IP address(es): x.x.x.x
Unable to add IP x.x.x.x: Address already in use
Container start failed
Stopping container ...
Container was stopped
Container is unmounted

Is this a wanted behaviour?

Regards
Matt
 
Same vzctl version?

Negative.

openvz: vzctl version 3.0.23-1dso1
vs
proxmox: vzctl version 3.0.30.2-11.git.aefc8ef

If you didn´t change the scripts, should I ask the openvz guys?

Regards
Matt
 
Answer to my own question:

/etc/vz/vz.conf
Code:
## Fail if there is another machine in the network with the same IP
ERROR_ON_ARPFAIL="yes"

Possible a suggestion for a default value? Because in the web interface you don´t see the warning if you don´t open the task viewer (what you don´t do if the status is OK)

Regards
Matt ;)
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!