venet adds ip to wrong interfaceifc [message #51656] |
Mon, 15 September 2014 15:49 |
thenob
Messages: 1 Registered: September 2014
|
Junior Member |
|
|
We have a openvz-host, with 2 ethernet interfaces.
However when we add a container it looks like vps-net_add is attaching the IP to the wrong interface.
HOST-NODE:
# ifconfig
eth0 Link encap:Ethernet HWaddr 0C:C4:7A:06:F0:BD
inet addr:10.10.48.28 Bcast:10.10.48.255 Mask:255.255.255.0
eth1 Link encap:Ethernet HWaddr 0C:C4:7A:06:F0:BC
inet addr:192.168.89.33 Bcast:192.168.89.255 Mask:255.255.255.0
# vzctl set 106 --ipdel all --save
CT configuration saved to /etc/vz/conf/106.conf
# vzctl set 106 --ipadd 10.10.48.92 --save
CT configuration saved to /etc/vz/conf/106.conf
# vzctl start 106
.....
Adding IP address(es): 10.10.48.92
arpsend: 10.10.48.92 is detected on another computer : 00:07:ec:57:e8:18
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.10.48.92 eth1 FAILED
--> it sends arp for 10.10.48.92 on eth1, instead off eth0
If I config a 192.168.89.x-adress, vps-net_add sends arps to eth0 (instead of eth1)
Note:
When the container is running, the IP-interfaces do work, however we don't want to let the host sends wrong ARP's on our network!
How can we fix this?
(without using veth/bridges)
|
|
|