Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 20th March 2012, 16:14
dgardner dgardner is offline
Junior Member
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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: (GW is on this subnet)

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):
arpsend: is detected on another computer : 00:30:48:67:3c:e4
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 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.
Reply With Quote
Sponsored Links
Old 21st March 2012, 14:05
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Do you have
in /etc/vz/vz.conf?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 21st March 2012, 17:10
dgardner dgardner is offline
Junior Member
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Yes, "NEIGHBOUR_DEVS=all" was set in the /etc/vz/vz.conf file and the server has been restarted since it was set so I know it's in.

I tried running arpsend myself and got the following results:

arpsend -D -e eth0 (Note: 192.168.5.x/24 interface)
arpsend: is detected on another computer : 00:30:48:67:3c:e4

arpsend -D -e eth1 (Note: 192.168.6.x/24 interface)
(This request hangs indefinitely)

I do not know who has a Mac of "00:30:48:67:3c:e4". I have not been able to locate it on any of my other systems and I can't believe there would be any 192.168.6.x systems on the 192.168.5.x network. It would almost have to be running in promiscuous mode as any IP I try arpsend with returns in use.

So it looks like arpsend is returning a detected message on the first interface and that it does not proceed to the second. Never the less there are two issues as I see it:
1. Why is arpsend returning a conflict on eth0?
2. Why does arpsend hang when I try it on eth1?

So I am guessing that both of these will need to be resolved. Hopefully this information will spur some thoughts from others. Thanks for your reply.
Reply With Quote
Old 22nd March 2012, 05:44
dgardner dgardner is offline
Junior Member
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

More info: I actually put in two identical servers a week ago, both CentOS and OpenVZ. Turns out the other server (which I haven't been using) had the mysterious MAC address of "00:30:48:67:3c:e4" on eth0. I brought that interface down and now OpenVZ on the first box initializes fine with both IP addresses. The IP config on Box #2 looks normal and the Eth0 interface is defined as So why is it responding to an ARP request for Seems really odd. So now OpenVZ looks great but I have to figure out how to bring up the other box. Odd...
Reply With Quote


centos, multiple nics, openvz, subnets

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu and nginx delgado2061 Installation/Configuration 0 28th November 2011 00:36
Cannot login to phpmyadmin penkku HOWTO-Related Questions 1 24th February 2011 10:26
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 19:16
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 06:19
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29

All times are GMT +2. The time now is 01:16.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.