实验目的:
1、掌握PPP多链路捆绑的基本配置。
2、理解PPP多链路捆绑的功能。
实验拓扑:
实验步骤:
1、依据图中拓扑,为R1和R2的各个串口部署PPP封装,配置如下:
R1上
R1(config)#int s0/0 R1(config-if)#no shutdown R1(config-if)#encapsulation ppp R1(config-if)#int s0/1 R1(config-if)#no shutdown R1(config-if)#encapsulation ppp R1(config-if)#exit
R2上
R2(config)#int s0/0 R2(config-if)#no shutdown R2(config-if)#encapsulation ppp R2(config-if)#int s0/1 R2(config-if)#no shutdown R2(config-if)#encapsulation ppp R2(config-if)#exit
2、部署PPP捆绑,配置如下:
R1上
R1(config)#int s0/0 R1(config-if)#ppp multilink R1(config-if)#ppp multilink group 1 R1(config-if)#int s0/1 R1(config-if)#ppp multilink R1(config-if)#ppp multilink group 1 R1(config-if)#exit
R2上
R2(config)#int s0/0 R2(config-if)#ppp multilink R2(config-if)#ppp multilink group 1 R2(config-if)#int s0/1 R2(config-if)#ppp multilink R2(config-if)#ppp multilink group 1 R2(config-if)#exit
3、为逻辑捆绑口配置IP地址,如下:
R1(config)#int multilink 1 R1(config-if)#ip add 12.1.1.1 255.255.255.0 R1(config-if)#exit R2(config)#int multilink 1 R2(config-if)#ip add 12.1.1.2 255.255.255.0 R2(config-if)#exit
4、测试PPP多链路捆绑,如下:
①查看接口IP状态
R1#show interfaces multilink 1 Multilink1 is up, line protocol is up Hardware is multilink group interface Internet address is 12.1.1.1/24 MTU 1500 bytes, BW 3088 Kbit, DLY 100000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, LCP Open, multilink Open Open: IPCP, CDPCP, loopback not set Keepalive set (10 sec) DTR is pulsed for 2 seconds on reset Last input 00:00:10, output never, output hang never Last clearing of "show interface" counters 00:10:04 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 32 packets input, 5126 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 32 packets output, 5496 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions
可以看到,逻辑捆绑链路的带宽是原来Serial的2倍。
②查看接口IP信息
R1#show ip int brief Interface IP-Address OK? Method Status Protocol Serial0/0 unassigned YES unset up up Serial0/1 unassigned YES unset up up Serial0/2 unassigned YES unset administratively down down Serial0/3 unassigned YES unset administratively down down Multilink1 12.1.1.1 YES manual up up
③测试连通性
R1#ping 12.1.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 12.1.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/33/48 ms
测试成功,说明通过部署PPP多链路捆绑,可以实现链路冗余和带宽聚合,此实验完成。
- 还没有人评论,欢迎说说您的想法!