帧中继Frame-Relay静态映射.doc_第1页
帧中继Frame-Relay静态映射.doc_第2页
帧中继Frame-Relay静态映射.doc_第3页
帧中继Frame-Relay静态映射.doc_第4页
帧中继Frame-Relay静态映射.doc_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

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

文档简介

帧中继Frame-Relay静态映射【实验名称】帧中继Frame-Relay静态映射【实验目的】 掌握利用静态映射方式实现Frame-relay连接。【背景描述】 你是某公司的网管,公司的网络运行在Frame-Relay上,分公司的设备不支持反转动态地址映射,本地端必须配置静态地址映射才能通讯,请你实现此操作。【实现功能】 地址映射手工配置,反映远端设备的IP地址和本地DLCI的对应关系。【实验拓扑】 【实验设备】 R2620或R2624路由器(4台)、m2602AS同异步接口模块一个、V35DCE(3根)、V35DTE(3根)【实验步骤】 第一步:基本配置,配置帧中继交换机Red-Giantenable Red-Giant(config)#hostname FRFR(config)#frame-relay switching ! 路由器模拟成帧中继交换机FR(config)#interface serial 0 ! 进入广域网接口serial 0FR(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为ietfFR(config-if)#frame-relay intf-type dce !封装帧中继接口类型为dceFR(config-if)#frame-relay lmi-ty ansi ! 定义帧中继本地接口管理类型FR(config-if)#cloclk rate 64000 !定义时钟速率FR(config-if)#fram route 20 interface serial 1 21!设定帧中继交换,指定两个同步口之间的dlci互换FR(config-if)#fram route 30 interface serial 3 31!设定帧中继交换,指定两个同步口之间的dlci互换FR(config-if)#no sh ! 启用该接口FR(config-if)#endFR(config)#int serial 1FR(config-if)#encapsulation frame-relay ietf FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-ty ansiFR(config-if)#cl ock rate 64000FR(config-if)#frame-relay route 21 interface serial 0 20FR(config-if)#frame-relay route 23 interface serial 3 32FR(config-if)#no shFR(config-if)#endFR(config)#conf tFR(config)#int serial 3FR(config-if)#encapsulation frame-relay ietf FR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay lmi-type ansiFR(config-if)#clock rate 64000FR(config-if)#frame-relay route 31 interface serial 0 30FR(config-if)#frame-relay route 32 interface serial 1 23验证测试:FR#sh frame-relay route Input Intf Input Dlci Output Intf Output Dlci StatusSerial0 20 Serial1 21 inactiveSerial0 30 Serial3 31 inactiveSerial1 21 Serial0 20 inactiveSerial1 23 Serial3 32 inactiveSerial3 31 Serial0 30 inactiveSerial3 32 Serial1 23 inactive第二步:帧中继Frame-Relay静态映射R1#conf tR1(config)#int s0R1(config-if)#ip add 192.168.123.1 255.255.255.0R1(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为ietfR1(config-if)#no frame-relay inverse-arp !禁止帧中继特定的协议dlci使用反向ARP !禁止动态学习地址和DLCI之间的映射R1(config-if)#frame-relay lmi-type ansi ! 定义帧中继本地接口管理类型,R1(config-if)#frame-relay map ip 192.168.123.2 20 ! 建立帧中继静态地址映射R1(config-if)#frame-relay map ip 192.168.123.3 30 ! 建立帧中继静态地址映射R1(config-if)# no shR1(config-if)#endRed-Giant(config)#hostname R2R2(config)#int s0R2(config-if)#ip add 192.168.123.2 255.255.255.0R2(config-if)#encapsulation frame-relay ietf R2(config-if)#no frame-relay inverse-arp !禁止动态学习地址和DLCI之间的映射R2(config-if)#frame-relay lmi-type ansiR2(config-if)#frame-relay map ip 192.168.123.1 21 R2(config-if)#frame-relay map ip 192.168.123.3 23R2(config-if)#no shR2(config-if)#endRed-Giant(config)#hostname R3R3(config)#int s0R3(config-if)# ip add 192.168.123.3 255.255.255.0R3(config-if)# encapsulation frame-relay ietfR3(config-if)# frame-relay lmi-ty ansiR3(config-if)# no frame-relay inverse-arp !禁止动态学习地址和DLCI之间的映射R3(config-if)#fram map ip 192.168.123.1 31R3(config-if)#fram map ip 192.168.123.2 32R3(config-if)#no sh验证测试:R3#show frame-relay mapSerial1 (up): ip 192.168.123.1 dlci 31(0x1F,0x4F0), static, IETF, status defined, activeSerial1 (up): ip 192.168.123.2 dlci 32(0x20,0x800), static,IETF, status defined, activeR2#sh frame-relay mapSerial0 (up): ip 192.168.123.1 dlci 21(0x15,0x450), static, IETF, status defined, activeSerial0 (up): ip 192.168.123.3 dlci 23(0x17,0x470), static,IETF, status defined, activeR1#sh frame-relay mapSerial0 (up): ip 192.168.123.2 dlci 20(0x14,0x440), static, IETF, status defined, activeSerial0 (up): ip 192.168.123.3 dlci 30(0x1E,0x4E0), static,IETF, status defined, activeFR#sh frame-relay routeInput Intf Input Dlci Output Intf Output Dlci StatusSerial0 20 Serial1 21 activeSerial0 30 Serial3 31 activeSerial1 21 Serial0 20 activeSerial1 23 Serial3 32 activeSerial3 31 Serial0 30 activeSerial3 32 Serial1 23 active第三步:测试各点之间的连通性验证测试:R1#ping 192.168.123.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 192.168.123.2, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 msR1#ping 192.168.123.3Sending 5, 100-byte ICMP Echoes to 192.168.123.3, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms【注意事项】l 注意各个接口之间与帧中继交换机的匹配,比如本地接口管理类型;l 帧中继交换机是DCE端;l 在各个接口配置远程IP地址与本地DLCI号的映射;l 关闭动态IP地址和DLCI的映射。【参考配置】R1#sh runCurrent configuration:!version 6.14(2)!hostname R1!ip subnet-zero!interface FastEthernet0 no ip address shutdown!interface Serial0 ip address 192.168.123.1 255.255.255.0 encapsulation frame-relay IETF frame-relay lmi-type ansi no frame-relay inverse-arpframe-relay map ip 192.168.123.2 20 frame-relay map ip 192.168.123.3 30!interface Serial1 no ip address shutdown!voice-port 0!voice-port 1!voice-port 2!voice-port 3ip classless!line con 0line aux 0line vty 0 4 login!endR2#sh runCurrent configuration:!version 6.14(2)!hostname R2!ip subnet-zero!interface FastEthernet0 no ip address shutdown!interface FastEthernet1 no ip address shutdown!interface FastEthernet2interface FastEthernet2 no ip address shutdown!interface FastEthernet3 no ip address shutdown!interface Serial0 ip address 192.168.123.2 255.255.255.0 encapsulation frame-relay IETF frame-relay lmi-type ansi no frame-relay inverse-arp frame-relay map ip 192.168.123.1 21 frame-relay map ip 192.168.123.3 23!interface Serial1 no ip address shutdown!ip classless!line con 0line aux 0!endR3#sh runCurrent configuration:!version 6.14(2)!hostname R3!ip subnet-zero!interface FastEthernet0no ip address shutdown!interface FastEthernet1 no ip address shutdown!interface FastEthernet2 no ip addressshutdowninterface FastEthernet3 no ip address shutdown!interface Serial

温馨提示

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

评论

0/150

提交评论