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

下载本文档

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

文档简介

1、仅供个人参考不得用于商业用途SOR1I 192J6§23.1/24192.168.133,2/243020SO“ ffraine-relav32R2soR3帧中继Frame-Relay 静态映射【实验名称】帧中继Frame-Relay静态映射【实验目的】掌握利用静态映射方式实现Frame-relay连接。【背景描述】你是某公司的网管,公司的网络运行在Frame-Relay上,分公司的设备不支持反转动态地址映射,本地端必须配置静态地址映射才能通讯,请你实现此操作。【实现功能】地址映射手工配置,反映远端设备的IP地址和本地DLCI的对应关系。【实验拓扑】【实验设备】R2620或R2624

2、路由器(4台)、m2602AS 同异步接口模块一个、V35DCE (3根)、V35DTE ( 3 根)【实验步骤】第一步: 基本配置,配置帧中继交换机Red-Giant>enableRed-Giant(config)#hostname FRFR(config)#frame-relay switching !路由器模拟成帧中继交换机FR(config)#interface serial 0! 进入广域网接口 serial 0FR(config-if)#encapsulation frame-relay ietf ! 封装帧中继并封装其格式为 ietf FR(config-if)#frame

3、-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 ! 启

4、用该接口FR(config-if)#endFR(config)#int serial 1FR(config-if)#encapsulation frame-relay ietfFR(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 seri

5、al 3 32FR(config-if)#no shFR(config-if)#endFR(config)#conf tFR(config)#int serial 3FR(config-if)#encapsulation frame-relay ietfFR(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

6、-if)#frame-relay route 32 interface serial 1 23验证测试: FR#sh frame-relay routeInput IntfInput DlciOutput IntfOutput DlciStatusSerial020Serial121inactiveSerial030Serial331inactiveSerial121Serial020inactiveSerial123Serial332inactiveSerial331Serial030inactiveSerial332Serial123inactive第二步: 帧中继 Frame-Relay

7、 静态映射R1#conf tR1(config)#int s0R1(config-if)#ip addR1(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 ip20 ! 建立帧中继

8、静态地址映射R1(config-if)#frame-relay map ip30 ! 建立帧中继静态地址映射R1(config-if)# no shR1(config-if)#endRed-Giant(config)#hostname R2R2(config)#int s0R2(config-if)#ip addR2(config-if)#encapsulation frame-relay ietfR2(config-if)#no frame-relay inverse-arp!禁止动态学习地址和 DLCI 之间的映射R2(config-if)#frame-relay lmi-type ans

9、iR2(config-if)#frame-relay map ip21R2(config-if)#frame-relay map ip23R2(config-if)#no shR2(config-if)#endRed-Giant(config)#hostname R3R3(config)#int s0R3(config-if)# ip addR3(config-if)# encapsulation frame-relay ietfR3(config-if)# frame-relay lmi-ty ansiR3(config-if)# no frame-relay inverse-arp !禁止

10、动态学习地址和 DLCI 之间的映射R3(config-if)#fram map ip31R3(config-if)#fram map ip32R3(config-if)#no sh验证测试: R3#show frame-relay mapSerial1 (up): ip dlci 31(0x1F,0x4F0), static,IETF, status defined, activeSerial1 (up): ip dlci 32(0x20,0x800), static,IETF, status defined, activeR2#sh frame-relay mapSerial0 (up):

11、 ip dlci 21(0x15,0x450), static,IETF, status defined, activeSerial0 (up): ip dlci 23(0x17,0x470), static,IETF, status defined, activeR1#sh frame-relay mapSerial0 (up): ipdlci 20(0x14,0x440), static, IETF, status defined, activeSerial0 (up): ipdlci 30(0x1E,0x4E0), static, IETF, status defined, active

12、FR#sh frame-relay routeInput IntfInput DlciOutput IntfOutput DlciStatusSerial020Serial121activeSerial030Serial331activeSerial121Serial020activeSerial123Serial332activeSerial331Serial030activeSerial332Serial123active第三步: 测试各点之间的连通性验证测试:R1#pingType escape sequence to abort.Sending 5, 100-byte ICMP Ech

13、oes to , timeout is 2 seconds: !Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms R1#pingSending 5, 100-byte ICMP Echoes to , timeout is 2 seconds: !Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms【注意事项】 注意各个接口之间与帧中继交换机的匹配,比如本地接口管理类型; 帧中继交换机是 DCE 端; 在各个接口

14、配置远程 IP 地址与本地 DLCI 号的映射; 关闭动态 IP 地址和 DLCI 的映射。【参考配置】R1#sh runCurrent configuration:!version 6.14(2)!hostname "R1"!ip subnet-zerointerface FastEthernet0no ip addressshutdown!interface Serial0ip addressencapsulation frame-relay IETF frame-relay lmi-type ansi no frame-relay inverse-arp frame-

15、relay map ip 20 frame-relay map ip30!interface Serial1no ip addressshutdown!voice-port 0!voice-port 1!voice-port 2!voice-port 3 ip classless !line con 0line aux 0 line vty 0 4login!endR2#sh runCurrent configuration:!version 6.14(2)!hostname "R2"!ip subnet-zero!interface FastEthernet0 no ip

16、 address shutdown!interface FastEthernet1 no ip address shutdown!interface FastEthernet2 interface FastEthernet2no ip address shutdown!interface FastEthernet3 no ip address shutdown!interface Serial0 ip address encapsulation frame-relay IETF frame-relay lmi-type ansi no frame-relay inverse-arp frame

17、-relay map ip 21 frame-relay map ip 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!int

18、erface FastEthernet2 no ip addressshutdowninterface FastEthernet3no ip address shutdown!interface Serial0 no ip address shutdown!interface Serial1ip address encapsulation frame-relay IETF frame-relay lmi-type ansi no frame-relay inverse-arp frame-relay map ip 31 frame-relay map ip 32!ip classless!li

19、ne con 0line aux 0 line vty 0 4 login !end仅供个人用于学习、研究;不得用于商业用途For personal use only in study and research; not for commercial use.Nur f u r den pers?nlichen f u r Studien, Forschung, zu kommerziellen Zwecken verwendet werden.Pour l ' e tude et la recherche uniquementa des fins personnelles; pasa des fins commerciales.to员bko gA.nrogeHKO TOpMenob3ymm aoadyHeHuac egoB u HHuefigoHMucno 员 B30BaTbCEb KOMMepqeckuxqe 员 ex.For personal use only in study and research; not for commercial use以下无正文仅供个人用于学习、研究;不得用于商业用途For personal use only in study and research; not for commercial use.Nur f u

温馨提示

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

评论

0/150

提交评论