Re: [Vserver] Set default gateway for a guest

From: Baltasar Cevc <baltasar_at_cevc-topp.de>
Date: Sat 04 Nov 2006 - 17:43:04 GMT
Message-Id: <a00112a0909358865784c1c62be7f8ba@cevc-topp.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Attila,

On 03.11.2006, at 15:25, Attila - Van der Velde Media wrote:
> How can i set a default gateway for a guest?
>
> Now a guest cannot reach the internet. When i type "route", on the
> commandline within the guest, gateway shows *
The routing is a kernel thing - thus it's done 'by the host' for all
the vservers (same applies to packet filtering). You have to change the
routes on the host.
I'd check the packet filter and the routing (do that on the host).
It may also be a resolver problem (maybe you haven't set up
/etc/resolv.conf in the guests, or their IPs aren't considered valid
clients on the nameserver you try to reach).

If you want different routing, depending on the vserver you're using,
you'll probably want to set up advanced routing (IPRoute2, ip route
command, see the Linux advanced routing and traffic control howto for
starting points).

Baltasar

((( Baltasar Cevc

) World wide web:
   * http://www.openairkino.net/ (a project for the local youth; German
only)
   * http://technik.juz-kirchheim.de/ (programming and admin projects)
   * http://baltasar.cevc-topp.de/ (private homepage)
) Phone:
   +49 176 232 20 822
)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFFTNEqp2YsmzTbIwYRAsQ9AJ9JuneCro15Bwc/e2ET7yTukC/clACffhpk
YEz7NoErKRZ8CasFEG90h4M=
=BmYR
-----END PGP SIGNATURE-----

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Nov 4 17:44:27 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 04 Nov 2006 - 17:44:34 GMT by hypermail 2.1.8