Re: [Vserver] Suddenly, no routing.

From: Robin Lee Powell <rlpowell_at_digitalkingdom.org>
Date: Fri 14 Oct 2005 - 09:34:49 BST
Message-ID: <20051014083449.GT25303@chain.digitalkingdom.org>

On Fri, Oct 14, 2005 at 09:11:56AM +0200, Herbert Poetzl wrote:
> On Thu, Oct 13, 2005 at 09:31:08PM -0700, Robin Lee Powell wrote:
> > For no reason I'm aware of, I suddenly can't reach outside IPs
> > from my VServer. The VServer has a non-routeable IP, but it's
> > copied its interface config from the host, so its gateway is a
> > regular net-routeable IP, which the VServer can't ping.
>
> aha, why? does ping -I <guest ip> www.google.com fail? if so, try
> the 'typical' snat command:
>
> iptables -t nat -I POSTROUTING -s <guest ip> -j SNAT --to <host ip>

Beautiful! Thank you.

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
Reason #237 To Learn Lojban: "Homonyms: Their Grate!"
Proud Supporter of the Singularity Institute - http://singinst.org/
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Oct 14 09:35:12 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 14 Oct 2005 - 09:35:16 BST by hypermail 2.1.8