OpenVZ Unable to configure IP addresses on 2 different subnets
I have a system running CentOS 6.2 and OpenVZ 3.0.30. The system has 2 NICs on 2 different subnets as follows:
Eth0: 192.168.5.30/24 (GW is on this subnet)
Eth1: 192.168.6.30/24
venet0
I can build a container and give it an IP address on the 192.168.5. subnet and it works fine.
When I try to add another IP on the 192.168.6. subnet it fails with:
Adding IP address(es): 192.168.6.51
arpsend: 192.168.6.51 is detected on another computer : 00:30:48:67:3c:e4
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 192.168.6.51 eth0 FAILED
The problem is that it tries to add it on Eth0 in the 192.168.5. subnet instead of Eth1.
The duplicate detection error is bogus as this IP does not exist anywhere else.
I've read through a lot of items but can't quite nail down how to resolve this scenario.
I need this container to talk on both subnets if possible - One is Orange (to the firewall and out to the Internet), and the other is Green (no internet, backbone between SQL, shared drives, etc.)
Any help is appreciated.
|
Recent comments
2 days 7 hours ago
2 days 16 hours ago
2 days 19 hours ago
2 days 20 hours ago
2 days 22 hours ago
2 days 23 hours ago
3 days 1 hour ago
3 days 2 hours ago
3 days 18 hours ago
3 days 19 hours ago