[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Multi WAN Routing



Hallo,

i will try a Multi-WAN-Routing.

It look like:

LAN -- Router (Debian squeeze) -- ISP Line 1
                           |----- ISP Line 2

The ISP- Ip's are static.

Here some links i have found:

http://www.debian-administration.org/article/377/Routing_for_multiple_uplinks
http://code.google.com/p/muggles/
http://lartc.org/howto/lartc.rpdb.multiple-links.html

http://maltekueppers.de/wp/?p=1346
http://maltekueppers.de/wp/?p=1363

At the moment my routing table looks like:
rtr-0002:/var/log# route -n
Kernel-IP-Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use
Iface
217.0.111.222   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
rtr-0002:/var/log#
rtr-0002:/var/log# ip route show
217.0.111.222 dev ppp0  proto kernel  scope link  src 111.222.333.444
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.1
default dev ppp0  scope link
rtr-0002:/var/log#
rtr-0002:/var/log# ifconfig ppp0
ppp0      Link encap:Punkt-zu-Punkt-Verbindung 
          inet Adresse:111.222.333.444  P-z-P:217.0.111.222 Maske:255.255.255.255
          UP PUNKTZUPUNKT RUNNING NOARP MULTICAST  MTU:1492  Metrik:1
          RX packets:2885981 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2125651 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:3
          RX bytes:2957960607 (2.7 GiB)  TX bytes:347600931 (331.4 MiB)

nx4-rtr-0002:/var/log#

At the moment I use ppp (pon/poff) dail up.
Not clear thinks are:

- how do 2 PPPoE connections at the same time?
- where do I place the code for multiple routing
  (ip route add default scope global nexthop via 1.0.0.2 dev eth1 weight 1 nexthop via 2.0.0.2 eth2 weight 1)
- did this setup runing with SSL or SSH connections? (while the connection is keep alive they must use the same route i think?)

Thanks,
regards Basti

Reply to: