OpenVZ Forum

Home » General » Support » venet adds ip to wrong interfaceifc
venet adds ip to wrong interfaceifc [message #51656] Mon, 15 September 2014 15:49
thenob is currently offline  thenob
Messages: 1
Registered: September 2014
Junior Member
From: *
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.

# ifconfig
eth0 Link encap:Ethernet HWaddr 0C:C4:7A:06:F0:BD
inet addr: Bcast: Mask:
eth1 Link encap:Ethernet HWaddr 0C:C4:7A:06:F0:BC
inet addr: Bcast: Mask:

# vzctl set 106 --ipdel all --save
CT configuration saved to /etc/vz/conf/106.conf
# vzctl set 106 --ipadd --save
CT configuration saved to /etc/vz/conf/106.conf
# vzctl start 106
Adding IP address(es):
arpsend: is detected on another computer : 00:07:ec:57:e8:18
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e eth1 FAILED

--> it sends arp for on eth1, instead off eth0
If I config a 192.168.89.x-adress, vps-net_add sends arps to eth0 (instead of eth1)

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)
Previous Topic: OpenVZ n physical server + server deosn't boot
Next Topic: Ploop over NFS for HA
Goto Forum:

Current Time: Thu Jan 23 02:37:05 GMT 2020