-----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
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to