adsl + cable multiple connection problem

From: alexp (banha_at_sapo.pt)
Date: 04/16/04


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



Relevant Pages

  • Re: Vanilla kernel >=2.4.28-rc2 incompatibility with ADSL modem Dlink DSL-G300+
    ... > ethernet ports, one is connected to the ADSL modem, the other to the LAN. ... > The kernel is a plain vanilla one, ... > The problem showed up after updating to kernel 2.4.28: ... > connection would never outlive the fifteenth minute. ...
    (Linux-Kernel)
  • Re: Line length and BT Broadband
    ... Broadband service for about a year. ... The engineers are actually quite amazed that we get a connection at ... connection reported speeds variously between 49 Kbps and 53 Kbps, ... I went ADSL 2 years ago, last February, and have had ...
    (uk.telecom.broadband)
  • Re: Changing Node Type
    ... under the network setup wizard I chose OTHER in the "Select Connection ... the ADSL unpowered, and state 2 with it powered up. ... the laptop could ping the desktop but not vice versa. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Changing Node Type
    ... under the network setup wizard I chose OTHER in the "Select Connection ... the ADSL unpowered, and state 2 with it powered up. ... the laptop could ping the desktop but not vice versa. ... communication, as desired, without having to spend time unplugging cables. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Vanilla kernel >=2.4.28-rc2 incompatibility with ADSL modem Dlink DSL-G300+
    ... >>ADSL modem where connected to, I swapped the modem with an identical one ... I upgraded to kernel 2.4.29 all to no avail. ... > packets on some adsl routers. ... > connection misteriously ceased to work from some boxes after some time ...
    (Linux-Kernel)