Bonding with Cisco IOS: Difference between revisions
Appearance
	
	
Content deleted Content added
 Created page with "After a few nights of meddling with my configuration, the following setup is working well for me.  I would like to share it with the community.  == Perquisites == * Ask suppor..."  | 
				No edit summary  | 
				||
| Line 12: | Line 12: | ||
* Internal ADSL interfaces allow me to run the setup in PPPoA mode.  Modify your dialers for PPPoE if you are using external bridges.  | 
  * Internal ADSL interfaces allow me to run the setup in PPPoA mode.  Modify your dialers for PPPoE if you are using external bridges.  | 
||
== Configuring your Dialer interfaces  | 
  == Configuring your Dialer interfaces ==  | 
||
 <nowiki>interface ATM0/0/0  | 
   <nowiki>interface ATM0/0/0  | 
||
 description 01234567890  | 
   description 01234567890  | 
||
| Line 27: | Line 27: | ||
 no ip address  | 
   no ip address  | 
||
 no atm ilmi-keepalive  | 
   no atm ilmi-keepalive  | 
||
 dsl noise-margin -2  | 
  |||
 hold-queue 224 in  | 
   hold-queue 224 in  | 
||
 pvc 0/38   | 
   pvc 0/38   | 
||
| Line 70: | Line 69: | ||
 ppp chap password 0 <yourPassword>  | 
   ppp chap password 0 <yourPassword>  | 
||
 no cdp enable  | 
   no cdp enable  | 
||
!  | 
|||
dialer-list 1 protocol ip permit  | 
|||
dialer-list 2 protocol ip permit  | 
|||
dialer-list 3 protocol ip permit  | 
|||
!</nowiki>  | 
|||
== Configure a virtual interface for your router IP address ==  | 
|||
Use the first address from your block  | 
|||
 <nowiki>interface Vlan2  | 
|||
ip address <fromyourblock> <yoursubnet></nowiki>  | 
|||
== Upstream load balancing using CEF ==   | 
|||
 <nowiki>ip cef  | 
|||
!  | 
|||
ip route 0.0.0.0 0.0.0.0 Dialer0  | 
|||
ip route 0.0.0.0 0.0.0.0 Dialer1  | 
|||
ip route 0.0.0.0 0.0.0.0 Dialer2  | 
|||
!  | 
|||
int Dialer0  | 
|||
 ip load-sharing per-packet  | 
|||
!  | 
|||
int Dialer1  | 
|||
 ip load-sharing per-packet  | 
|||
!  | 
|||
int Dialer2  | 
|||
 ip load-sharing per-packet  | 
|||
!</nowiki>  | 
  !</nowiki>  | 
||
Revision as of 20:30, 1 June 2014
After a few nights of meddling with my configuration, the following setup is working well for me. I would like to share it with the community.
Perquisites
- Ask support for a unique IP address for the dialer interface of each of your ADSL lines
 - You will also need a static block for your routing IP address and any external clients, you may also use one of these addresses for NAT (more on that later).
 - Configure Clueless to route your static block down each of the ADSL lines
 
My Setup
- Three ADSL lines provided by AAISP
 - Cisco 2821 running IOS 15.1
 - Three WIC1-ADSL and an NM-ESW-16 switch module.
 - Internal ADSL interfaces allow me to run the setup in PPPoA mode. Modify your dialers for PPPoE if you are using external bridges.
 
Configuring your Dialer interfaces
interface ATM0/0/0 description 01234567890 no ip address no atm ilmi-keepalive hold-queue 224 in pvc 0/38 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface ATM0/1/0 description 01234567891 no ip address no atm ilmi-keepalive hold-queue 224 in pvc 0/38 encapsulation aal5mux ppp dialer dialer pool-member 2 ! ! interface ATM0/2/0 description 01234567892 no ip address no atm ilmi-keepalive hold-queue 224 in pvc 0/38 encapsulation aal5mux ppp dialer dialer pool-member 3 ! ! interface Dialer0 ip address negotiated ip virtual-reassembly in encapsulation ppp dialer pool 1 ppp chap hostname <yourAAISPuser>@a.1 ppp chap password 0 <yourPasword> no cdp enable ! interface Dialer1 ip address negotiated ip virtual-reassembly in encapsulation ppp dialer pool 2 ppp chap hostname <yourAAISPuser>@a.2 ppp chap password 0 <yourPassword> no cdp enable ! interface Dialer2 ip address negotiated ip virtual-reassembly in encapsulation ppp dialer pool 3 ppp chap hostname <yourAAISPuser>@a.3 ppp chap password 0 <yourPassword> no cdp enable ! dialer-list 1 protocol ip permit dialer-list 2 protocol ip permit dialer-list 3 protocol ip permit !
Configure a virtual interface for your router IP address
Use the first address from your block
interface Vlan2 ip address <fromyourblock> <yoursubnet>
Upstream load balancing using CEF
ip cef ! ip route 0.0.0.0 0.0.0.0 Dialer0 ip route 0.0.0.0 0.0.0.0 Dialer1 ip route 0.0.0.0 0.0.0.0 Dialer2 ! int Dialer0 ip load-sharing per-packet ! int Dialer1 ip load-sharing per-packet ! int Dialer2 ip load-sharing per-packet !