OpenVZ Forum


Home » General » Support » Making a manual IP configuration 'stick' (Doing this the right way)
Re: Making a manual IP configuration 'stick' [message #39178 is a reply to message #39175] Tue, 23 March 2010 14:27 Go to previous messageGo to previous message
PhYrE is currently offline  PhYrE
Messages: 3
Registered: November 2009
Junior Member
In reading the bug, I'm not sure that it is.

The bug asks for the ability to set netmasks for IP addresses and resolves the bug my using IP masquerading.

My fix changes the source IP address in the IP header so that it need not be the default primary IP but could also be a secondary IP address.

Maybe it does inadvertantly do it (as it could scope the IP range) but I just want to make sure this is in fact the same bug before I drop the issue.

My fix:
ip route add to 10.0.0.0/8 src 10.6.6.6 dev venet0

Their Bug Fix:
iptables -t nat -A POSTROUTING -s 10.0.15.64/27 -o eth1 -j SNAT --to
63.248.94.18


I guess just two ways to fix the same problem. I'll watch the bug and see where it goes.

-M
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IP-Tables Problem on vz-machine bei stateful inspection
Next Topic: Template to acess remote desktop
Goto Forum:
  


Current Time: Fri Jul 26 19:22:52 GMT 2024

Total time taken to generate the page: 0.03262 seconds