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 previous 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,

 
Read Message
Read Message
Read Message
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: Thu Jul 24 11:30:33 GMT 2025

Total time taken to generate the page: 0.15669 seconds