Multiple ADSL lines using bonded uplink



 
Internet Router LAN
LAN PC 2Mbs/250Kbs no-NAT ADSL line with block of IPs
500Kbs/250Kbs no-NAT ADSL line with block of 4 IPs



LAN FireBrick LAN PC
Internet Router LAN
LAN PC

In this configuration a customer has a no-NAT 2Mb/s ADSL line (with 250Kb/s uplink) and a large block of IPs so that machines on the LAN have real addresses. The 2Mb/s ADSL is normally used, and the 500Kb/s ADSL is a backup and to provide additional uplink capacity.

Basic IP setup :-
  1. First subnet, LAN, no NAT, no Stealth, using address B. This gives machines on the LAN real addresses on 2Mb/s line
  2. Second subnet, WAN, no NAT, Stealth, using address B. This allows the FireBrick to see router on address A
  3. Third subnet, WAN, no NAT, no Stealth, using address D. This allows the FireBrick to see router on address C
  4. Routing entry, LAN to WAN for address A, proxy ARP. This allows machines on the LAN to see router address A
  5. Equipment on the LAN to use the 2Mb/s ADSL subnet's addresses and FireBrick address B as their gateway.
This basic setup allows machines on the LAN to have real addresses.

Gateway setup :-
  1. Default gateway set to address E
  2. Gateway alternative list set to addresses A and B
This means that all traffic from to the internet will use the pseudo address E, which is mapped to A and B alternatively for each packet allowing a bonded uplink of 500Kb/s for outgoing traffic. The pseudo address is used because if the router address such as A was used, then the profile based re-routing to use teh 2Mb line would using gateway A would still be mapped to both gateways which would not work if one was down. By using a pseudo address, this is avoided and you can route to A, C or both (using E) based on routing rules as necessary.

Fallback setup :-
  1. Profile (2MBADSL) monitoring an internet address, such as routers WAN address, via address A on WAN, set to alert when inactive and reroute on change
  2. Profile (500KADSL) monitoring an internet address, such as routers WAN address, via address C on WAN, set to re-route.
  3. Add route between subnets and gateway Any->WAN, gateway A, profile Not 500KADSL
  4. Add route between subnets and gateway Any->WAN, gateway C, profile Not 2MADSL with NAT
This means if the 500K ADSL fails, the default route changes to A and traffic continues only via 2Mb ADSL.
If the 2Mb ADSl fails, the default changes to C and traffic continues via the 500Kb/s ADSL but NATed to ensure replies arrive.

Email alerts of profile changes are recommended.

If you have SMTP incoming email, then you may want to set FireBrick address D as an additional lower priority MX record target, and have a port map for this address to your mail server allowing incoming mail even if the main 2Mb link fails.