Re: Network settings - differnet address range for containers [message #43235 is a reply to message #43232] |
Wed, 10 August 2011 11:00  |
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.
|
|
|