欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > DOCX文档下载  

    GNS3模拟帧中继的两种方法.docx

    • 资源ID:3157532       资源大小:37.57KB        全文页数:8页
    • 资源格式: DOCX        下载积分:6.99金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要6.99金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    GNS3模拟帧中继的两种方法.docx

    GNS3模拟帧中继的两种方法一、 使用帧中继交换机 1.1 实验拓扑 1.2 配置示例 1. 帧中继交换机配置 2. 路由器配置脚本 Ø R1 R1>en R1#conf t R1(config)#int R1(config)#interface s 1/0 R1(config-if)#no sh R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#encapsulation frame-relay /设置封装模式 R1(config-if)#serial restart-delay 0 R1(config-if)#frame-relay map ip 192.168.1.2 102 /创建映射 R1(config-if)#frame-relay map ip 192.168.1.3 103 R1(config-if)#no frame-relay inverse-arp /关闭inverse-arp R1(config-if)# Ø R2 R2> R2>en R2#conf t R2(config)#int s 1/0 R2(config-if)#ip add 192.168.1.2 255.255.255.0 R2(config-if)#no sh R2(config-if)#encapsulation frame-relay R2(config-if)#frame-relay map ip 192.168.1.1 201 R2(config-if)#frame-relay map ip 192.168.1.3 203 R2(config-if)#no frame-relay inverse-arp R2(config-if)# Ø R3 R3>en R3#conf t R3(config)#int s 1/0 R3(config-if)#ip add 192.168.1.3 255.255.255.0 R3(config-if)#no sh R3(config-if)#encapsulation frame-relay R3(config-if)#frame-relay map ip 192.168.1.1 301 R3(config-if)#frame-relay map ip 192.168.1.2 302 R3(config-if)#no frame-relay inverse-arp R3(config-if)# 3. 验证 R3(config-if)#do ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: ! Success rate is 100 percent (5/5), round-trip min/avg/max = 32/61/88 ms R3(config-if)#do ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: ! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/47/88 ms R3(config-if)# 全网互通 R3(config-if)#do show fram ma Serial1/0 (up): ip 192.168.1.1 dlci 301(0x12D,0x48D0), static, CISCO, status defined, active Serial1/0 (up): ip 192.168.1.2 dlci 302(0x12E,0x48E0), static, CISCO, status defined, active R3(config-if)# 使用的是静态映射 二、 使用路由器模拟帧中继交换机 2.1 实验拓扑 2.2 配置示例 1. R1模拟帧中继交换机配置脚本 配置如下 R1>en R1#conf t R1(config)#frame-relay switching /把路由器设置为帧中继交换机 R1(config)#int s 1/0 R1(config-if)#no sh R1(config-if)#no ip add R1(config-if)#encapsulation frame-relay R1(config-if)#clock rate 64000 R1(config-if)#frame-relay lmi-type ansi /设置帧中继协议为ansi R1(config-if)#frame-relay intf-type dce /帧中继交换机作为DCE端 R1(config-if)#serial restart-delay 0 R1(config-if)#frame-relay route 203 interface s 1/1 302/设置帧中继内部交换 R1(config-if)#frame-relay route 204 interface s 1/2 402 R1(config-if)#int s 1/1 R1(config-if)#no sh R1(config-if)#no ip add R1(config-if)#encapsulation frame-relay R1(config-if)#frame-relay lmi-type ansi R1(config-if)#frame-relay intf-type dce R1(config-if)#serial restart-delay 0 R1(config-if)#frame-relay route 302 interface serial 1/0 203 R1(config-if)#frame-relay route 304 interface s 1/2 403 R1(config-if)#int s 1/2 R1(config-if)#no sh R1(config-if)#no ip add R1(config-if)#encapsulation frame-relay R1(config-if)#serial restart-delay 0 R1(config-if)#clock rate 64000 R1(config-if)#frame-relay lmi-type ansi R1(config-if)#frame-relay intf-type dce R1(config-if)#frame-relay route 402 int s 1/0 204 R1(config-if)#fra route 403 int s 1/1 304 2. 其他路由器配置脚本 Ø R2 R2>en R2#conf t R2(config)#int s 1/0 R2(config-if)#no sh R2(config-if)#ip add 192.168.1.2 255.255.255.0 R2(config-if)#encapsulation frame-relay R2(config-if)#serial restart-delay 0 Ø R3 R3> R3>en R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#int s 1/0 R3(config-if)#no sh R3(config-if)#ip add 192.168.1.3 255.255.255.0 R3(config-if)#encapsulation frame-relay Ø R4 R4>en R4#conf t R4(config)#int s 1/0 R4(config-if)#no sh R4(config-if)#ip add 192.168.1.4 255.255.255.0 R4(config-if)#encapsulation frame-relay 3. 验证 R4(config-if)#do show fram ma Serial1/0 (up): ip 192.168.1.2 dlci 402(0x192,0x6420), dynamic, broadcast, status defined, active Serial1/0 (up): ip 192.168.1.3 dlci 403(0x193,0x6430), dynamic, broadcast, status defined, active R4(config-if)# 使用的是动态的映射,inverse-arp R4(config-if)#do ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: ! Success rate is 100 percent (5/5), round-trip min/avg/max = 64/95/132 ms R4(config-if)#do ping 192.168.1.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds: ! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/107/144 ms R4(config-if)# 全网互通 ² 备注: Inverse ARP用于帧中继网络中IP地址和虚电路号的映射关系的动态维护 4. 关闭Inverse ARP 使用静态map映射 R2(config-if)#no frame-relay inverse-arp R2(config-if)#do cle fram in /清除动态学到哦映射 R3(config-if)#no frame-relay inverse-arp R3(config-if)#do cle fram in R4(config-if)#no frame-relay inverse-arp R4(config-if)#do cle fram in R4(config-if)#do ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: . Success rate is 0 percent (0/5) R4(config-if)#do ping 192.168.1.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds: . Success rate is 0 percent (0/5) R4(config-if)# 配置静态映射 R2(config-if)#frame-relay map ip 192.168.1.3 203 R2(config-if)#frame-relay map ip 192.168.1.4 204 R2(config-if)# R3(config-if)#frame-relay map ip 192.168.1.2 302 R3(config-if)#frame-relay map ip 192.168.1.3 304 R3(config-if)#frame-relay map ip 192.168.1.4 304 R3(config-if)#no frame-relay map ip 192.168.1.3 304 R3(config-if)# R4(config-if)#frame-relay m R4(config-if)#frame-relay ma R4(config-if)#frame-relay map ip 192.168.1.2 402 R4(config-if)#fram R4(config-if)#frame-relay ma R4(config-if)#frame-relay map ip 192.168.1.3 403 R4(config-if)# R4(config-if)#do ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: ! Success rate is 100 percent (5/5), round-trip min/avg/max = 60/87/140 ms R4(config-if)#do ping 192.168.1.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds: ! Success rate is 100 percent (5/5), round-trip min/avg/max = 48/83/144 ms R4(config-if)# R4(config-if)#do show fram ma Serial1/0 (up): ip 192.168.1.2 dlci 402(0x192,0x6420), static, CISCO, status defined, active Serial1/0 (up): ip 192.168.1.3 dlci 403(0x193,0x6430), static, CISCO, status defined, active R4(config-if)#

    注意事项

    本文(GNS3模拟帧中继的两种方法.docx)为本站会员(小飞机)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开