Lloyd R. Prentice wrote:
Hi,
I'm closing in on my first successful install of a VE on openVZ but,
having trouble with network configuration.
My hardware NODE is behind a firewall connected to a dsl modem.
DNSmasq on the firewall supplies a static IP to the hardware NODE.
Let's call it <hardwareNODE>.
Following the instructions in:
http://wiki.openvz.org/Using_NAT_for_VE_with_private_IPs
...I issued the following command to the hardware NODE:
iptables -t nat -A POSTROUTING -s 172.16.0.0/255/255/255/0 -o eth0 -j
SNAT --to <hardwareNODE>
Then I entered:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to <hardwareNODE>
Finally, since my system didn't hve the file /etc/modprobe.conf, I
issued the following at the commandline:
modprobe ip_conntrack ip_conntrack_enable_ve0=1
Then I rebooted
Oops. Why a reboot?
All the iptables commands, and modprobe as well, are not taking effect
after the reboot. In order to make them persistent, you have to put
those in some startup script.
, entered a VE and tested by issuing:
apt-get update.
The system failed resolve the addresses in sources.list.
I double checked that I had entered:
vzctl set 777 --ipadd 172.16.0.1 --save
...which I had.
Any ideas, please, of what I'm doing wrong, or need to do to diagnose
and solve the problem?
Many thanks,
Lloyd R. Prentice
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users