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
Prev Previous Post   Next Post Next
  #1  
Old 20th March 2012, 15: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: 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.
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
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 27th November 2011 23:36
Cannot login to phpmyadmin penkku HOWTO-Related Questions 1 24th February 2011 09:26
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 18:16
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 08:24.


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