I don't have a link right now, but try googling for "source routing", as I believe it is the solution to your problem.
Nicolas Cadou
Cobi Informatique, inc.
http://www.cobi.net
Tel: (450) 266-2420 (305)
Fax: (450) 266-2415
----- Original Message -----
From: Dark Nebula <x03ml@sgene.org>
To: vserver@list.linux-vserver.org <vserver@list.linux-vserver.org>
Sent: Sun Jun 08 10:13:14 2008
Subject: [vserver] Split WAN access.
Hallo list!
I have a little problem here.
I have a host, that have 2 interfaces. In eth0 (10.10.10.0/24) i have
two different gateways 10.10.10.254/24 and 10.10.10.253/24.
The 10.10.10.254 is the host default gateway to one isp (connected to eth1).
The 10.10.10.253 is a redundant gateway (connected to a lan client eth0
via wireless).
So, my problem is, how can i setup my host to allow the guest to use the
10.10.10.253 as gateway and not 10.10.10.254.
I have the guest, connected to eth0 and as a 10.10.10.10 ip.
The draw must illustrate the scenario:
[WLAN] <----- [10.10.10.253] <---- [guest 10.10.10.10/24]
|
[LAN 10.10.10.0/24] ---------------------------- [eth0 HOST] [eth1 HOST]
-----> [ISP]
(10.10.10.254)(Dynamic IP)
At this moment i have this kernel routing table is the host:
# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
83.144.142.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
0.0.0.0 83.144.142.254 0.0.0.0 UG 0 0 0
eth1
I hope this is explicit, if yes, can someone help me please?
Thanks a lot for your patience.
Received on Sun Jun 8 15:17:42 2008