About this list Date view Thread view Subject view Author view Attachment view

From: Matthieu Racine (m.racine_at_free.fr)
Date: Tue 11 Feb 2003 - 00:09:56 GMT


Christoph Kuhles wrote:

>Hey Matthieu,
>
>Monday, February 10, 2003, 11:41:01 AM, you wrote:
>
>MR> How can i do to force each vserver default route to his own gateway.
>MR> In others words, is it possible to allocate a different routage table
>MR> for each vserver :
>
>You might want to take a closer look at source-based routing (kernel
>option "policy routing"), it allows for exactly what you want. Also,
>it's pretty simple -
>
>ip ru add from 192.168.1.1 lookup 10
>ip ro add default via 192.168.1.254 dev eth0 table 10
>
>something like this. You shoud be able to find more info on
>http://lartc.org.
>
>Cheers
>
>Chris
>
>
>
>
>
Yes, Nice shot.

Thanks a lot.

--
Matthieu


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 11 Feb 2003 - 00:28:35 GMT by hypermail 2.1.3