OpenVZ Forum


Home » General » Support » *SOLVED* Moving default NIC
Re: Moving default NIC [message #4653 is a reply to message #4651] Thu, 20 July 2006 16:42 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

If you want a set of VEs to use one interface and gateway and another set of VEs to user another interface/gateway, you need to setup IP source based routing in host system.

Check http://wiki.openvz.org/Source_based_routing
it is a draft I took from forums here.

In a few words: you need to make host system to route some of your packets from VEs to if1/gw1, and another set of IPs (VEs) to if2/gw2. This is done purely by routing.
In developement OpenVZ version with 2.6.16 kernel it is also possible to do it with veth devices and bridges, but I wouldn't bother with it in your case.


http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: multiple NICs on Different Networks with different default gateways
Next Topic: name based routing to VE's possible?
Goto Forum:
  


Current Time: Sat Nov 16 02:43:57 GMT 2024

Total time taken to generate the page: 0.03283 seconds