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

From: Matthieu Racine (m.racine_at_free.fr)
Date: Mon 10 Feb 2003 - 10:41:01 GMT


Hello,

Here is my problem :

I want to use severals vservers on the same host. Each one belongs to a
different subnet :
Main Server IP : 192.168.0.1
Vserver 1 IP : 192.168.1.1
Vserver 2 IP : 192.168.2.1

my gateway has the followings IPs : 192.168.0.254, 192.168.1.254,
192.168.2.254.

How can i do to force each vserver default route to his own gateway.
In others words, is it possible to allocate a different routage table
for each vserver :

Main Server :
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 0 eth0

VServer 1:
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0

VServer 2:
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.2.254 0.0.0.0 UG 0 0 0 eth0

Thanks,

--
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 Mon 10 Feb 2003 - 12:54:33 GMT by hypermail 2.1.3