OpenVZ Forum


Home » General » Support » How does openvz decide on the source address for an outbound packet?
Re: How does openvz decide on the source address for an outbound packet? [message #30395 is a reply to message #30381] Fri, 23 May 2008 10:31 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

only source based routing can help you.
Instead of making new rules you can do it by adding appropriate routes:

ip ro add 10.200.3.0/24 dev venet0 src 10.200.3.100
ip ro add 10.200.4.0/24 dev venet0 src 10.200.4.100


Then if you want you can add this command inside appropriate init script (for example /etc/rc.local) to add routes automatically.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzmigrate % complete
Next Topic: openvz on xen guest
Goto Forum:
  


Current Time: Fri Jul 18 19:36:28 GMT 2025

Total time taken to generate the page: 0.04415 seconds