OpenVZ Forum


Home » General » Support » cannot ping internet from ve
Re: cannot ping internet from ve [message #30893 is a reply to message #30891] Mon, 09 June 2008 23:58 Go to previous messageGo to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

cesurasean wrote on Tue, 10 June 2008 01:05

I setup another container with ip address 192.168.1.100, and it's still unable to access the internet.


And have you configured SNAT (Source Network Address Translation, also known as IP masquerading) to access a private IP to external NET like:

On your Hostnode "dreamintsadecv":

# iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth0 -j SNAT --to <configured_ip_on_your_hostnode>

 
Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VPS Mandriva
Next Topic: HNode high load...
Goto Forum:
  


Current Time: Sat Aug 30 07:20:47 GMT 2025

Total time taken to generate the page: 0.09706 seconds