OpenVZ Forum


Home » General » Support » Network settings - differnet address range for containers
Re: Network settings - differnet address range for containers [message #43235 is a reply to message #43232] Wed, 10 August 2011 11:00 Go to previous message
pilpelet is currently offline  pilpelet
Messages: 25
Registered: October 2006
Junior Member
Hi naro,

Thanks for the script, i was wondering how did you solve the routing issue? im having the same issue and the max i could achive is pinging from the container out but not from the world in.
I did that by adding
iptables -t nat -A POSTROUTING -d 62.90.150.0/26 -j MASQUERADE -o eth0
on NH
where 62.90.150.0/26 is the subnet that doesnt configured on the NH eth0.
I still not fully understand the routing procedure special the default gateway/route on the NH specialy when its not possible to add default gayway on container working with venet.

maybee the ARP table on NH will solve the issue(it does make sense) i havnt tested it yet.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: are vzdump problems well known ?
Next Topic: Container ebtables LOG are going to Hardware Node CT0 syslog
Goto Forum:
  


Current Time: Sun Jul 20 23:20:07 GMT 2025

Total time taken to generate the page: 0.08882 seconds