4.5 PPP Multilink

实验目的:

1、掌握PPP多链路捆绑的基本配置。

2、理解PPP多链路捆绑的功能。

实验拓扑:

172804303.png

实验步骤:

1、依据图中拓扑,为R1R2的各个串口部署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[PL1]

R1(config-if)#ppp multilink group 1[PL2]

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[PL3]

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,[PL4]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

可以看到,逻辑捆绑链路的带宽是原来Serial2倍。

查看接口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多链路捆绑,可以实现链路冗余和带宽聚合,此实验完成。


[PL1]开启PPP多链路捆绑。

[PL2]将接口放入捆绑组,这里的group用于区分本地多个捆绑组,是本地标识。

[PL3]进入逻辑口,为其分配IP地址。

[PL4]Serial口为1544kbit,逻辑口刚好是其2倍。

==========================================

PingingLab·高品质IT教育提供商

CCIE 实验室·IT项目实战·高端人才定制

深圳拼客信息科技有限公司·广州大学城外环西路站

新浪微博:@拼客科技PingingLab  @PingingLab-陈鑫杰

PingingLab微信公众号:pinginglab

PingingLab技术交流群:240920680

172821630.jpg