adsl + cable multiple connection problem
From: alexp (banha_at_sapo.pt)
Date: 04/16/04
- Next message: Alex Harsch: "Re: changed port"
- Previous message: Alex Harsch: "Re: Using Squid With Hardware Router"
- Next in thread: alexp: "Re: adsl + cable multiple connection problem"
- Reply: alexp: "Re: adsl + cable multiple connection problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Apr 2004 16:10:46 -0700
I have a multiple connection (ADSL + Cable) running for almost a year.
I followed the instructions of Christoph Simon
(http://www.ssi.bg/~ja/nano.txt) and Julian Anastasov
(http://www.ssi.bg/~ja/dgd-usage.txt):
- patched a brand new kernel (2.4.25) with Anastasov's scripts
(http://www.ssi.bg/~ja/routes-2.4.24-9.diff which works with 2.4.25
kernel);
- configured the kernel to have "equal cost multi path" enabled;
- compiled the kernel and modules and installed them;
- installed iproute2 and builded a script like Simon's to manage
multiple connections and Dead gateway detection;
- wrote a iptables based firewall.
My Linux box have two public static IP adresses (ADSL + Cable) and one
private IP for the LAN and DMZ networks.
The Cable modem is connected to eth1 and the ADSL modem is set up as
RFC1483 Bridging so I have to run adsl-start (pppoe + pppd) to start
the ppp0 interface which is connected to the eth0 interface.
I expected that, when one of the connections got down, the other one
would carry all the load. It happens this way when the Cable
connection fails.
But when the ADSL connection fails, ppp0 interface disappears and the
supposedly static routes go away too. Specially the ip rule that
manages the load balancing:
ip route add default table 222 proto static equalize \
nexthop via $GWE1 dev $IFE1 weight 1 \
nexthop via $GWE2 dev $IFE2 weight 1
On the one hand, Anastasov gives an example like this one and says
that this rule (with "proto static") should survive even if ppp0 is
down.
On the other hand, Simon says that there is no support for PPP, PPPoE,
etc.(section 1.2. Bad news).
Can anyone give me a clue?
Thanks
Alex
- Next message: Alex Harsch: "Re: changed port"
- Previous message: Alex Harsch: "Re: Using Squid With Hardware Router"
- Next in thread: alexp: "Re: adsl + cable multiple connection problem"
- Reply: alexp: "Re: adsl + cable multiple connection problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|