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