OpenVZ Forum


Home » General » Support » 2 subnets on CT possible arp problem
2 subnets on CT possible arp problem [message #43163] Tue, 02 August 2011 11:39 Go to next message
pilpelet is currently offline  pilpelet
Messages: 25
Registered: October 2006
Junior Member
Hi,

Im having problem deploying containers with different subnets
while the NH has only 1 NIC connected to a swich with 2 ot more subnets. I tried both with or without VLANS on the switch.
The setup is as follow:

NH - 1 nic main IP 62.90.150.20/26
All VM's that get IPs from this subnect works ok
But when i add a VM with IP from the other subnet for example 62.90.160.5 wich is on 62.90.160.0/24 (but on the same switch
it doesnt work even after running

route add -net 62.90.160.0/24 dev eth0

on NH.

The 2 subnets connected to the same switch but have different gateways, both on the same firewall but on different ports.

Is this setup possible?

I tried to setup this setup with veth and it works but i rather not work with veth due to strange network issues and breaks on the host everytime the VM start(about 30 seconds network outgage)

Any suggestunes would be great.

Ronald,

Re: 2 subnets on CT possible arp problem [message #43199 is a reply to message #43163] Fri, 05 August 2011 15:12 Go to previous messageGo to next message
seanfulton is currently offline  seanfulton
Messages: 105
Registered: May 2007
Senior Member
What OS are you using on the Host Node?
Re: 2 subnets on CT possible arp problem [message #43200 is a reply to message #43199] Fri, 05 August 2011 18:27 Go to previous message
pilpelet is currently offline  pilpelet
Messages: 25
Registered: October 2006
Junior Member
Centos 5.5
Previous Topic: VE's on differents wan subnets on 1 NH wan nic is that possible?
Next Topic: bridge and ebtable INSIDE a Container
Goto Forum:
  


Current Time: Tue Sep 10 05:45:39 GMT 2024

Total time taken to generate the page: 0.08721 seconds