Re: [vserver] Split WAN access.

From: Nicolas Cadou <ncadou_at_cobi.net>
Date: Sun 08 Jun 2008 - 15:19:05 BST
Message-ID: <5F5121C960BADD4FB10E0C612641C5FF0AEA15@cobi1w.cobi.local>

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

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