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