实验二十四:MP协议_第1页
实验二十四:MP协议_第2页
实验二十四:MP协议_第3页
实验二十四:MP协议_第4页
实验二十四:MP协议_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、实验二十四:MP协议一、 理论基础1、 MP简介MP是the PPP Multilink protocol的缩写,是人们出于增加带宽的考虑,将多条PPP链路捆绑起来,从而达到增加带宽的目的。MP协议能够对大的报文进行分片,分片将在多个PPP链路上送到同一个目的地,从而减少大报文的传送时间。Multilink PPP允许将报文分片,分片将从多个点对点的链路送到同一个目的地,多链路捆绑有两个条件:只要两个链路的Endpoint Discriminator和用户完全相符合时,才能对两个链路进行捆绑。这就意味着当验证完成后,才能真正完成MP协商过程。MP不会导致链路的拆除。如果配置了MP,两个链路不符

2、合MP条件,则会建立一条新的MP通道,这同时也表明允许MP为单链路。MP的捆绑是完全依照用户进行的,只要相同的用户才能进行捆绑。如一端配置了MP,另一端不支持或未配置成MP,则建立起来的链路为非MP链路。2、MP的工作进程(1)检测对端是否工作在MP方式。首先和对端进行LCP协商,协商过程中,除了协商一般的LCP参数外,还验证对端接口是否也工作在MP方式下。如果对端不工作在MP方式下,则在LCP协商成功后,进行NCP协商步骤,不进行MP捆绑。(2)将接口捆绑至虚模板接口。有两种方法可以将接口捆绑至虚模板接口:直接捆绑和根据用户名或终端标识符捆绑。直接捆绑是指不检测PPP接口的用户名和终端标识符

3、,直接将接口捆绑至指定的虚模板接口。根据用户名或终端标识符捆绑是指根据PPP验证的用户名或接口的终端标识符将接口捆绑至虚模板接口。(3)进行NCP协商等操作。PPP接口被捆绑至虚模板接口之后,将根据虚模板接口的各项NCP参数(如IP地址等)进行NCP协商,物理接口配置的NCP参数不起作用。NCP协商通过后,即可建立MP链路,用更大的带宽传输数据。二、 实验案例MP的配置1、实验拓扑结构图 2、配置说明:Router1的Ip地址: 192.168.100.1 子网掩码:255.255.255.0Router2的Ip地址: 192.168.100.2 子网掩码:255.255.255.03、 具体

4、配置:MP:(方法一)1 / 8Router1的配置:Router1local-user djw service-type ppp password simple djwRouter1ppp mp user djw bind virtual-template 1Router1int s0Router1-Serial0link-protocol pppRouter1-Serial0ppp mpRouter1-Serial0ppp pap local-user sunke password simple sunkeRouter1-Serial0ppp authentication-mode pap

5、Router1-Serial0int s3Router1-Serial3link-protocol pppRouter1-Serial3ppp mpRouter1-Serial3ppp pap local-user sunke password simple sunkeRouter1-Serial3ppp authentication-mode papRouter1-Serial3int virtual-template 1Router1-Virtual-Template1ip address 192.168.100.1 255.255.255.0Router1dis cur Now crea

6、te configuration. Current configuration version 1.74 local-user djw service-type ppp password simple djw sysname Router1 ppp mp user djw bind Virtual-Template1 firewall enable aaa-enable aaa accounting-scheme optional interface Aux0 async mode flow link-protocol ppp interface Ethernet0 interface Ser

7、ial0 link-protocol ppp ppp authentication-mode pap ppp mp ppp pap local-user sunke password simple sunke interface Serial1 link-protocol ppp interface Serial2 link-protocol ppp interface Serial3 link-protocol ppp ppp authentication-mode pap ppp mp ppp pap local-user sunke password simple sunke inter

8、face Virtual-Template1 link-protocol ppp ip address 192.168.100.1 255.255.255.0 ReturnRouter2的配置:Router2local-user sunke service-type ppp password simple sunkeRouter2ppp mp user sunke bind virtual-template 1Router2int s0Router2-Serial0link-protocol pppRouter2-Serial0ppp authentication-mode papRouter

9、2-Serial0ppp mpRouter2-Serial0ppp pap local-user djw password simple djwRouter2-Serial0int s3Router2-Serial3link-protocol pppRouter2-Serial3ppp authentication-mode papRouter2-Serial3ppp pap local-user djw password simple djwRouter2-Serial3ppp mpRouter2-Serial3int virtual-template 1Router2-Virtual-Te

10、mplate1ip address 192.168.100.2 255.255.255.0Router2-Virtual-Template1Router2dis cur Now create configuration. Current configuration version 1.74 local-user sunke service-type ppp password simple sunke sysname Router2 ppp mp user sunke bind Virtual-Template1 firewall enable aaa-enable aaa accounting

11、-scheme optional interface Aux0 async mode flow link-protocol ppp interface Ethernet0 interface Ethernet1 interface Serial0 clock DTECLK1 link-protocol ppp ppp authentication-mode pap ppp mp ppp pap local-user djw password simple djw interface Serial1 link-protocol ppp interface Serial2 link-protoco

12、l ppp interface Serial3 clock DTECLK1 link-protocol ppp ppp authentication-mode pap ppp mp ppp pap local-user djw password simple djw interface Virtual-Template1 link-protocol ppp ip address 192.168.100.2 255.255.255.0 Return测试结果:Router2ping 192.168.100.1 PING 192.168.100.1: 56 data bytes, press CTR

13、L_C to break Reply from 192.168.100.1: bytes=56 Sequence=0 ttl=255 time = 28 ms Reply from 192.168.100.1: bytes=56 Sequence=1 ttl=255 time = 28 ms Reply from 192.168.100.1: bytes=56 Sequence=2 ttl=255 time = 28 ms Reply from 192.168.100.1: bytes=56 Sequence=3 ttl=255 time = 28 ms Reply from 192.168.

14、100.1: bytes=56 Sequence=4 ttl=255 time = 28 ms - 192.168.100.1 ping statistics - 5 packets transmitted 5 packets received 0.00% packet loss round-trip min/avg/max = 28/28/28 msRouter1ping 192.168.100.2 PING 192.168.100.2: 56 data bytes, press CTRL_C to break Reply from 192.168.100.2: bytes=56 Seque

15、nce=0 ttl=255 time = 27 ms Reply from 192.168.100.2: bytes=56 Sequence=1 ttl=255 time = 27 ms Reply from 192.168.100.2: bytes=56 Sequence=2 ttl=255 time = 27 ms Reply from 192.168.100.2: bytes=56 Sequence=3 ttl=255 time = 27 ms Reply from 192.168.100.2: bytes=56 Sequence=4 ttl=255 time = 27 ms - 192

16、.168.100.2 ping statistics - 5 packets transmitted 5 packets received 0.00% packet lossround-trip min/avg/max = 27/27/27 msMP:(方法二)Router1的配置:Router1int s0Router1-Serial0link-protocol pppRouter1-Serial0ppp mpRouter1-Serial0ppp mp interface virtual-template 1Router1-Serial0int s3Router1-Serial3link-p

17、rotocol pppRouter1-Serial3ppp mpRouter1-Serial3ppp mp interface virtual-template 1Router1-Serial3int virtual-template 1Router1-Virtual-Template1ip address 192.168.100.10 255.255.255.0Router1dis cur Now create configuration. Current configuration version 1.74 sysname Router1 firewall enable aaa-enabl

18、e aaa accounting-scheme optional interface Aux0 async mode flow link-protocol ppp interface Ethernet0 interface Serial0 link-protocol ppp ppp mp ppp mp interface Virtual-Template1 interface Serial1 link-protocol ppp interface Serial2 link-protocol ppp interface Serial3 link-protocol ppp ppp mp ppp m

19、p interface Virtual-Template1 interface Virtual-Template1 link-protocol ppp ip address 192.168.100.10 255.255.255.0 ReturnRouter2的配置:Router2int s0Router2-Serial0link-protocol pppRouter2-Serial0ppp mpRouter2-Serial0ppp mp interface virtual-template 1Router2-Serial0int s3Router2-Serial3link-protocol p

20、ppRouter2-Serial3ppp mpRouter2-Serial3ppp mp interface virtual-template 1Router2-Serial3int virtual-template 1Router2-Virtual-Template1ip address 192.168.100.20 255.255.255.0Router2dis cur Now create configuration. Current configuration version 1.74 sysname Router2 firewall enable aaa-enable aaa acc

21、ounting-scheme optional interface Aux0 async mode flow link-protocol ppp interface Ethernet0 interface Ethernet1 interface Serial0 clock DTECLK1 link-protocol ppp ppp mp ppp mp interface Virtual-Template1 interface Serial1 link-protocol ppp interface Serial2 link-protocol ppp interface Serial3 clock

22、 DTECLK1 link-protocol ppp ppp mp ppp mp interface Virtual-Template1 interface Virtual-Template1 link-protocol ppp ip address 192.168.100.20 255.255.255.0 Return测试结果:Router2ping 192.168.100.10 PING 192.168.100.10: 56 data bytes, press CTRL_C to break Reply from 192.168.100.10: bytes=56 Sequence=0 tt

23、l=255 time = 28 ms Reply from 192.168.100.10: bytes=56 Sequence=1 ttl=255 time = 27 ms Reply from 192.168.100.10: bytes=56 Sequence=2 ttl=255 time = 28 ms Reply from 192.168.100.10: bytes=56 Sequence=3 ttl=255 time = 27 ms Reply from 192.168.100.10: bytes=56 Sequence=4 ttl=255 time = 28 ms - 192.168.100.10 ping stati

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论