[vserver] Split WAN access.

From: Dark Nebula <x03ml_at_sgene.org>
Date: Sun 08 Jun 2008 - 15:13:14 BST
Message-ID: <484BE8FA.6000906@sgene.org>

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 14:13:38 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 08 Jun 2008 - 14:13:39 BST by hypermail 2.1.8