ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 3561|回复: 4

Multilink PPP及LFI

[复制链接]
发表于 2014-12-22 15:43:02 | 显示全部楼层 |阅读模式

马上注册成为ROSABC会员,随时发帖回复。

您需要 登录 才可以下载或查看,没有账号?会员注册

x
Multilink PPP及LFI(Link fragement and interleave)
    Multilink可以理解成ethernet channel,也是对把链路捆绑成一条逻辑链路。条件为低于或等于768kbps的链路,由于带宽很低,延迟太大,将对语音或视频的通信带来麻烦。而Multilink PPP (MLP)技术为了能够提高链路带宽,允许同时将多根低速链路捆绑成逻辑上单一的链路,称为bundle 在下面的拓扑中,在R2和R3之间增加一条链路,用以建立multilink
步骤1、创建Multilink
去掉原始的S2/0的地址,因为我们的IP地址要配置在逻辑链路上。创建multilink链路
R2:
interface Serial2/0
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
interface Serial2/1
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
interface Multilink1
ip address 23.1.1.2 255.255.255.0
ppp multilink
ppp multilink group 1

R2#
sh int multilink 1
Multilink1 is up, line protocol is up
Hardware is multilink group interface
Internet address is 23.1.1.2/24
MTU 1500 bytes, BW 3088 Kbit/sec, 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:02, output never, output hang never
Last clearing of "show interface" counters 00:01:30
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
27 packets input, 2038 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
28 packets output, 2398 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
R2#sh ppp multilink

Multilink1
Bundle name: R3
Remote Endpoint Discriminator: [1] R3
Local Endpoint Discriminator: [1] R2
Bundle up for 00:10:41, total bandwidth 3088, load 1/255
Receive buffer limit 24000 bytes, frag timeout 1000 ms
0/0 fragments/bytes in reassembly list
0 lost fragments, 7 reordered
0/0 discarded fragments/bytes, 0 lost received
0xB5 received sequence, 0xB2 sent sequence
Member links: 2 active, 0 inactive (max not set, min not set)
Se2/0, since 00:10:41
Se2/1, since 00:10:40
No inactive multilink interfaces
步骤2 把police应用在multilink链路上
R2:
access-list 100 permit ip host 11.1.1.1 host 33.1.1.1
class-map match-all Silver
match access-group 100
Policy Map SET-TAG
Class Silve
police cir 8000 bc 1000 be 1000 conform-action transmit
interface Multilink1
ip address 23.1.1.2 255.255.255.0
ppp multilink
ppp multilink group 1
service-policy output SET-TAG

R1验证
R1#ping 33.1.1.1 source lo0 size 800
Type escape sequence to abort.
Sending 5, 800-byte ICMP Echos to 33.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 11.1.1.1!.!.!
步骤3
    ppp multilink上的interleave和分片。在一些对时延敏感的数据如语音数据,要对排在语音包前面的数据包切片,把它切成小片,然后分片传输,保证语音包通过。如下图把较大的数据包切片,用以保证了语音包的传输
拓扑图

R2:
interface Multilink1
fair-queue
ppp multilink
ppp multilink interleave
ppp multilink group 1
ppp multilink fragment delay 2
R3
interface Multilink1
fair-queue
ppp multilink
ppp multilink interleave
ppp multilink group 1
ppp multilink fragment delay 6
验证R2
R2#sh ppp multilink

Multilink1
Bundle name: R3
Remote Endpoint Discriminator: [1] R3
Local Endpoint Discriminator: [1] R2
Bundle up for 00:12:38, total bandwidth 3088, load 1/255
Receive buffer limit 24000 bytes, frag timeout 1000 ms
Interleaving enabled
0/0 fragments/bytes in reassembly list
0 lost fragments, 0 reordered
0/0 discarded fragments/bytes, 0 lost received
0xBE received sequence, 0xBE sent sequence
Member links: 2 active, 0 inactive (max not set, min not set)
Se2/0, since 00:12:38, 386 weight, 378 frag size
Se2/1, since 00:12:38, 386 weight, 378 frag size
No inactive multilink interfaces
实验完成
发表于 2019-8-10 02:43:01 | 显示全部楼层
我头有点疼~~~~~~~~~~~~~~~
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2024-4-19 17:49 , Processed in 0.078595 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表