绑定两台路由器之间的多条E1链路的方法
绑定两台路由器之间的多条E1链路的方法有:
1.硬件IMUX 2-8
2.ATM IMA 2-32
3.Multilink ppp 2-8
4.Load balancing 2-6
其中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