OpenVZ Forum


Home » General » Support » Multiple interfaces and subnets on HN
Re: Multiple interfaces and subnets on HN [message #29150 is a reply to message #29131] Mon, 07 April 2008 10:46 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

mastermindpro wrote on Sun, 06 April 2008 11:42

I have a HN with two physical network interfaces connected to two subnets. I want VE's to have addresses in both subnets. I read through the extensive and confusing wiki article on using private IP's for Hardware Nodes, but it's not clear what I need to do to accomplish what I want.

Can I just have two venet interfaces per VE? If so, are the routing tables taken care of automatically?


I guess what you want is just
vzctl set CTID --ipadd a.b.c.d --ipadd e.f.g.h --save


and that's it. Here a.b.c.d is an IP address from the first subnet, and e.f.g.h is an IP address from the second subnet.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: network problem
Next Topic: problem with last kernel/2.6.18/028stab053.5 vps kernel: unregister_netdevice
Goto Forum:
  


Current Time: Sun Oct 06 10:22:14 GMT 2024

Total time taken to generate the page: 0.04349 seconds