帧中继环境下ospf的使用(点到点模式)
一:实验目标:
掌握帧中继的网络环境下ospf的配置.
二:实验拓扑:
三:实验配置
(1) 对R2的配置<?xml:namespace prefix="o">?xml:namespace>
R2(config)# frame-relay switching
R2(config)# interface s0/0
R2(config-if)# encapsulation frame-relay
R2(config-if)# clock rate 64000
R2(config-if)# frame-relay lmi-type cisco
R2(config-if)# frame-relay intf-type dce
R2(config-if)# frame-relay route 103 interface s0/1 301
R2(config-if)# frame-relay route 104 interface s0/2 401
R2(config-if)# no shutdown
R2(config)# interface s0/1
R2(config-if)# encapsulation frame-relay
R2(config-if)# clock rate 64000
R2(config-if)# frame-relay lmi-type cisco
R2(config-if)# frame-relay intf-type dce
R2(config-if)# frame-relay route 301 interface s0/0 103
R2(config-if)# no shutdown
R2(config)# interface s0/2
R2(config-if)# encapsulation frame-relay
R2(config-if)# clock rate 64000
R2(config-if)# frame-relay lmi-type cisco
R2(config-if)# frame-relay intf-type dce
R2(config-if)# frame-relay route 401 interface s0/0 104
R2(config-if)# no shutdown
( (2)show frame-relay route
由上图可以看出R2帧中继映射表已经形成,Serial0/0的DLCI103对应Serial0/1的DLCI301,Serial0/0的DLCI104对应Serial0/1的DLCI401。两条虚电路尚处于未激活状态。
(3) show frame pvc
以上显示R2上各个接口的PVC状态,在Serial0/0接口共连接有两条PVC但是都处于Inactive状态。
(4) show frame lmi
该命令显示R2上LMI的类型及相关参数,上图显示尚无数据包活动。
(5) 利用反向ARP动态获取帧中继映射表实现
对R1的配置
R1(config)# interface s0/0
R1(config-if)# encapsulation frame-relay
R1(config-if)# frame-relay lmi-type cisco
R1(config-if)# frame-relay inverse-arp ip 103
R1(config-if)# frame-relay inverse-arp ip 104
R1(config-if)# ip address 192.168.123.1 255.255.255.0
R1(config-if)# no shutdown
R1(config)# interface loopback 0
R1(config-if)# ip address 1.1.1.1 255.255.255.0
对R3的配置
R3(config)# interface s0/0
R3(config-if)# encapsulation frame-relay
R3(config-if)# frame-relay lmi-type cisco
R3(config-if)# frame-relay inverse-arp ip 301
R3(config-if)# ip address 192.168.123.3 255.255.255.0
R3(config-if)# no shutdown
R3(config)# interface loopback0
R3(config-if)# ip address 3.3.3.3 255.255.255.0
对R4的配置
R4(config)# interface s0/0
R4(config-if)# encapsulation frame-relay
R4(config-if)# frame-relay lmi-type cisco
R4(config-if)# frame-relay inverse-arp ip 401
R4(config-if)# ip address 192.168.123.4 255.255.255.0
R4(config-if)# no shutdown
R4(config)# interface loopback0
R4(config-if)# ip address 4.4.4.4 255.255.255.0
连通性测试
(6) 利用ospf协议实现1.1.1.1/24和3.3.3.3/24和4.4.4.4/24之间的互通。
对R1的配置
R1(config)# router ospf 1
R1(config-router)# network 192.168.123.0 0.0.0.255 a 0
R1(config-router)# network 1.1.1.0 0.0.0.255 a 0
R1(config-router)# end
对R3的配置
R3(config)# router ospf 1
R3(config-router)# network 192.168.123.0 0.0.0.255 a 0
R3(config-router)# network 3.3.3.0 0.0.0.255 a 0
R3(config-router)# end
对R4的配置
R4(config)# router ospf 1
R4(config-router)# network 192.168.123.0 0.0.0.255 a 0
R4(config-router)# network 4.4.4.0 0.0.0.255 a 0
R4(config-router)# end
连通性测试
转载于:https://blog.51cto.com/tar0cissp/1295116
帧中继环境下ospf的使用(点到点模式)相关推荐
- 帧中继环境下NBMA模式的配置
帧中继环境下NBMA模式的配置 1. 实验目的: 通过本次的实验,我们可以掌握如下技能 1) 帧中继静态映射及其broadcast参数的含义. 2) NBMA模式下的DR ...
- 供应链环境下,制造企业物流运作模式该如何选择
随着经济全球化的快速发展,市场竞争已由单个企业之间的竞争逐渐转变为供应链之间的竞争,企业要想获得竞争优势,必须实施供应链战略资源整合.作为一种新的管理思想和管理方法,供应链管理是通过管控(计划.组织. ...
- 在X11图形环境下开启/关闭勿扰模式及其背后机制
开启/关闭勿扰模式 在Linux系统中.X11图形环境下,开启/关闭勿扰模式很简单,按照以下步骤操作即可: (1)鼠标左键点击右下角的"^",即"显示隐藏的图标" ...
- 在RHEL6.6环境下进行LVS-NAT实验(Vmware模式)
结合这几天做LVS-NAT结构模型的实验.特总结如下 一.准备三台RHEL6.6虚拟机 1台Director 2台RealServer 1.克隆两台RealServer 在装好RHEL6.6后,最好是 ...
- Windows环境下实现设计模式——模板方法模式(JAVA版)
我是荔园微风,作为一名在IT界整整25年的老兵,今天总结一下Windows环境下如何编程实现模板方法模式(设计模式). 不知道大家有没有这样的感觉,看了一大堆编程和设计模式的书,却还是很难理解设计模式 ...
- Windows环境下实现设计模式——访问者模式(JAVA版)
我是荔园微风,作为一名在IT界整整25年的老兵,今天总结一下Windows环境下如何编程实现访问者模式(设计模式). 不知道大家有没有这样的感觉,看了一大堆编程和设计模式的书,却还是很难理解设计模式, ...
- laradock 环境下,PHP 该如何实现本地域名通信啊?
laradock 环境下,PHP 该如何实现本地域名通信啊? 知识背景: windows 下使用 laradock 作为开发环境 使用 phpstrom IDE,并且通过 ssh 的方式连接 work ...
- Windows10环境下,设备进入fastboot状态,fastboot无法识别到设备
[问题] Windows10环境下,设备进入fastboot模式,执行fastboot devices无反应,识别不到设备 [解决] 通过Windows更新安装Android Bootloader接口 ...
- 计算机环境下和手工环境下,在计算机环境下建立手工模拟实验的设想
作者:杨艺佳 [摘 要]随着实践性的教学更多的受到重视,作为会计专业实践性教学的会计手工模拟实验,在会计专业的教学中也变得更加不可或缺:而随着信息技术的发展和普及,计算机会计信息系统也给传统的手工会计 ...
最新文章
- 新IT运维时代 | Docker运维之最佳实践-下篇
- P2P网络中DHT算法分析
- 三菱plc编程实例3000_三菱PLC十字路口的红绿灯编程实例
- SimpleDraw-Windows Phone7上的应用
- flink的table/sql api的多种写法汇总
- 压缩命令_Linux gzip命令:压缩文件或目录
- 高效办公,从几行批处理命令开始 | 原力计划
- Bluetooth的profile总结
- 利用matlab进行Vissim二次开发,史上最详细
- opencl icd---OpenCL Installable Client Driver (ICD) Loader
- 【C语言编程】切比雪夫多项式
- 数据分析-淘宝用户行为分析
- 5-8 哈利·波特的考试 (25分)
- angularJs监控页面加载完毕
- C语言实现画爱心(两种方式画法)
- Python爬虫初级(十一)—— Selenium 详解
- 计算机如何添加新用户,笔记本电脑怎么样快速添加新用户帐号
- rsync,nfc,sersync使用
- php 神经网络,神经网络算法基础入门
- 我的图床解决方案,超详细!