环境背景:现电信提供了2条e1的直通线路,客户需要在两地将两条e1的线路进行绑定。
  
  解决方法:绑定两台路由器之间的多条E1链路的方法有如下几种
  1.硬件IMUX       
  2.ATM IMA       
    3.Multilink ppp     
  4.Load balancing     
  其中1、2为硬件解决方式,3、4为软件解决方式
  
  PPP multilink配置方法:
  interface Multilink1
  ip address 1.1.1.1 255.255.255.252
  no cdp enable
  ppp multilink
  no ppp multilink fragmentation
  !--- optional command to reduce CPU load
  multilink-group 1
  
  interface Serial0/0:1
  no ip address
  encapsulation ppp
  ppp multilink
  multilink-group 1
  
  interface Serial0/1:1
  no ip address
  encapsulation ppp
  ppp multilink
  multilink-group 1
  
  Load balancing 方式:
  
  (1): cef per-packet 方式
  ip cef
  int s0/0:1
  ip add 1.1.1.1 255.255.255.252
  ip load-sharing per-packet
  int s0/1:1
  ip add 2.2.2.1 255.255.255.252
  ip load-sharing per-packet
  
  (2): cef per-destination方式
  ip cef
  int s0/0:1
  ip add 1.1.1.1 255.255.255.252
  ip load-sharing per-destination
  int s0/1:1
  ip add 2.2.2.1 255.255.255.252
  ip load-sharing per-destination
  
  (3):fast swtiching per-destination方式
  int s0/0:1
  ip add 1.1.1.1 255.255.255.252
  int s0/1:1
  ip add 2.2.2.1 255.255.255.252
  
  (4):Process swtiching per-packet方式
  int s0/0:1
  ip add 1.1.1.1 255.255.255.252
  no ip route-cache
  int s0/1:1
  ip add 2.2.2.1 255.255.255.252
  no ip route-cache
  
  静态路由:
  ip route x.x.x.x x.x.x.x s0/0:1
  ip route x.x.x.x x.x.x.x s0/1:1
  
  或动态路由实现如OSPF
  router ospf 100
  network x.x.x.x x.x.x.x area 0
  network 1.1.1.1 0.0.0.1 area 0
  network 2.2.2.1 0.0.0.1 area 0