帧中继——点到点子接口(point-to-point)配置
CISCO路由器配置手册----帧中继(Frame Relay)配置

CISCO路由器配置手册----Frame Relay1. 帧中继技术帧中继是一种高性能的WAN协议,它运行在OSI参考模型的物理层和数据链路层。
它是一种数据包交换技术,是X.25的简化版本。
它省略了X.25的一些强健功能,如提供窗口技术和数据重发技术,而是依靠高层协议提供纠错功能,这是因为帧中继工作在更好的WAN设备上,这些设备较之X.25的WAN设备具有更可靠的连接服务和更高的可靠性,它严格地对应于OSI参考模型的最低二层,而X.25还提供第三层的服务,所以,帧中继比X.25具有更高的性能和更有效的传输效率。
帧中继广域网的设备分为数据终端设备(DTE)和数据电路终端设备(DCE),Cisco 路由器作为 DTE设备。
帧中继技术提供面向连接的数据链路层的通信,在每对设备之间都存在一条定义好的通信链路,且该链路有一个链路识别码。
这种服务通过帧中继虚电路实现,每个帧中继虚电路都以数据链路识别码(DLCI)标识自己。
DLCI的值一般由帧中继服务提供商指定。
帧中继即支持PVC也支持SVC。
帧中继本地管理接口(LMI)是对基本的帧中继标准的扩展。
它是路由器和帧中继交换机之间信令标准,提供帧中继管理机制。
它提供了许多管理复杂互联网络的特性,其中包括全局寻址、虚电路状态消息和多目发送等功能。
2. 有关命令:端口设置任务命令设置Frame Relay封装encapsulationframe-relay[ietf] 1设置Frame Relay LMI类型frame-relay lmi-type {ansi | cisco | q933a}2设置子接口interface interface-typeinterface-number.subinterface-number[multipoint|point-to-point]映射协议地址与DLCI frame-relay map protocolprotocol-address dlci[broadcast]3设置FR DLCI编号frame-relay interface-dlcidlci [broadcast]注:1.若使Cisco路由器与其它厂家路由设备相连,则使用Internet工程任务组(IETF)规定的帧中继封装格式。
帧中继---点到多点

帧中继 (实验详解)实验目的:用CISCO的路由器模拟帧中继交换机。
理解DLCI理解LMI理解PVC,SVC理解map实验拓扑:帧中继(点到多点)实验过程:R1配置如下:interface Serial1/0ip address 192.168.1.1 255.255.255.0 encapsulation frame-relayno frame-relay inverse-arpframe-relay lmi-type ciscono shutdowninterface Loopback0ip address 1.1.1.1 255.255.255.255R2配置如下:interface Serial1/0ip address 192.168.1.2 255.255.255.0 encapsulation frame-relayclockrate 64000no frame-relay inverse-arpframe-relay lmi-type ciscono shutdowninterface Loopback0ip address 2.2.2.2 255.255.255.255R3配置如下:interface Serial1/0ip address 192.168.1.3 255.255.255.0 encapsulation frame-relayno frame-relay inverse-arpframe-relay lmi-type ciscono shutdowninterface Loopback0ip address 3.3.3.3 255.255.255.255R4配置如下:interface Serial1/0ip address 192.168.1.4 255.255.255.0 encapsulation frame-relayclockrate 64000frame-relay lmi-type ciscono shutdowninterface Loopback0ip address 4.4.4.4 255.255.255.255帧中继交换机配置如下:interface Serial1/0encapsulation frame-relayserial restart-delay 0clockrate 64000frame-relay lmi-type ciscoframe-relay intf-type dceframe-relay route 102 interface Serial1/1 201frame-relay route 103 interface Serial1/2 301frame-relay route 104 interface Serial1/3 401interface Serial1/1encapsulation frame-relayserial restart-delay 0clockrate 64000frame-relay lmi-type ciscoframe-relay intf-type dceframe-relay route 201 interface Serial1/0 102interface Serial1/2encapsulation frame-relayclockrate 64000frame-relay lmi-type ciscoframe-relay intf-type dceframe-relay route 301 interface Serial1/0 103interface Serial1/3encapsulation frame-relayclockrate 64000frame-relay lmi-type ciscoframe-relay intf-type dceframe-relay route 401 interface Serial1/0 104测试路由器之间的连通性R1#ping 192.168.1.2Type 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 = 16/42/72 ms R1#ping 192.168.1.3Type 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 = 20/49/92 msR1#ping 192.168.1.4Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 16/67/164 ms测试每台设备loopback之间的连通性(说明为什么无法 Ping通对方)R1#ping 192.168.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: .....Success rate is 0 percent (0/5) (说明为什么无法 Ping通自己)R1#ping 2.2.2.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:.....Success rate is 0 percent (0/5)R1#ping 3.3.3.3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:.....Success rate is 0 percent (0/5)R1#ping 4.4.4.4Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:.....Success rate is 0 percent (0/5)如果在所有CPE配置frame-relay map上做这样的配置就可以Ping通对方(说明原因)。
帧中继ospf配置

帧中继ospf配置一、实验目的巩固知识点,认识帧中继OSPF配置的作用,还有他的网络类型。
二、实验内容1、根据帧中继拓扑一,配置帧中继,IP地址以及单区域OSPF2、说明此时都有哪几种OSPF网络类型,以及该类型的特点3、修改路由器帧中继接口的OSPF网络类型分别为:Broadcast,Point-to-MutilPoint,Point-to-MutilPointNBMA,分析这三种网络类型各自有什么特点4、在帧中继拓扑二中,配置单区域OSPF的Point-to-Point网络类型,说明这种网络类型的特点5、最终结果都要求全网可达三、实验环境(描述实验的软件、硬件环境)就三台路由加帧中继四、实验步骤FRframe-relay switchingint s2/1encapsulation frame-relayframe-relay intf-type dceclock rate 64000frame route 102 int s2/2 201frame route 103 int s2/3 301no shuint s2/2encapsulation frame-relayframe-relay intf-type dceclock rate 64000frame route 201 int s2/1 102no shuint s2/3encapsulation frame-relayframe-relay intf-type dceclock rate 64000frame route 301 int s2/1 103no shuR1enaconf tho R1int lo 1ip add 1.1.1.1 255.255.255.255int lo 2ip add 10.1.1.1 255.255.255.0int s1/1encapsulation frame-relayip add 172.16.1.1 255.255.255.0no shuframe-relay map ip 172.16.1.2 102 broadcast frame-relay map ip 172.16.1.3 103 broadcast exitrouter ospf 33net 172.16.1.0 0.0.0.255 area 0net 1.1.1.1 0.0.0.0 area 0net 10.1.1.0 0.0.0.255 area 0R2enaconf tho R2int lo 1ip add 2.2.2.2 255.255.255.255int lo 2ip add 10.1.2.1 255.255.255.0int s1/2encapsulation frame-relayip add 172.16.1.2 255.255.255.0no shuframe-relay map ip 172.16.1.1 201 broadcast exit ROUTER ospf 33net 172.16.1.0 0.0.0.255 area 0net 2.2.2.2 0.0.0.0 area 0net 10.1.2.0 0.0.0.255 area 0R3enaconf tho R3int lo 1ip add 3.3.3.3 255.255.255.255int lo 2ip add 10.1.3.1 255.255.255.0int s1/3encapsulation frame-relayip add 172.16.1.3 255.255.255.0no shuframe-relay map ip 172.16.1.1 301 broadcast exit router ospf 33net 3.3.3.3 0.0.0.0 area 0net 10.1.3.0 0.0.0.255 area 0net 172.16.1.0 0.0.0.255 area 0点对点的配置r1enaconf tho r1int lo 1ip add 1.1.1.1 255.255.255.255 int lo 2ip add 10.1.1.1 255.255.255.0 int s1/1encapsulation frame-relayno shint s1/1.102 point-to-pointip add 172.16.1.1 255.255.255.0 no shuframe-relay interface-dlci 102 int s1/1.103 point-to-pointip add 172.16.2.1 255.255.255.0 no shuframe-relay interface-dlci 103 exitexitrouter ospf 33net 172.16.1.0 0.0.0.255 area 0 net 1.1.1.1 0.0.0.0 area 0net 10.1.1.0 0.0.0.255 area 0r2enaconf tho r2int lo 1ip add 2.2.2.2 255.255.255.255 int lo 2ip add 10.1.2.1 255.255.255.0 int s1/2ip add 172.16.1.2 255.255.255.0 encapsulation frame-relayno shuexitROUTER ospf 33net 172.16.1.0 0.0.0.255 area 0 net 2.2.2.2 0.0.0.0 area 0net 10.1.2.0 0.0.0.255 area 0r3enaconf tho r3int lo 1ip add 3.3.3.3 255.255.255.255 int lo 2ip add 10.1.3.1 255.255.255.0 int s1/3ip add 172.16.2.3 255.255.255.0 encapsulation frame-relayno shuexitrouter ospf 33net 3.3.3.3 0.0.0.0 area 0net 10.1.3.0 0.0.0.255 area 0 net 172.16.1.0 0.0.0.255 area 0 r1router ospf 33int s1/1ip ospf network broadcastip ospf net point-to-multipointip ospf net point-to-multipoint non-broadcast五、实验结果与讨论1.根据帧中继拓扑一,配置帧中继,IP地址以及单区域OSPF时就有两种的网络类型,分别是LOOPBACK,NBMA。
实验三十五 帧中继点到多点配置(教师用)

实验三十五 帧中继点到点配置【实验名称】帧中继基本配置。
【实验目的】掌握帧中继的工作原理及配置。
【背景描述】假设你是公司的网络管理员,公司为了满足不断增长的业务需求,在全国各地成立了很多分公司,为了节省运营成本,需要申请帧中继线路。
【需求分析】通过公用帧中继网络互联局域网,在这种方式下,路由器只能作为用户设备工作在帧中继的DTE 方式,路由器的DLCI 号如图所示。
【实验设备】路由器2811 3台 Cloud-pt 1 PC 3台【实验拓扑】PC1PC2帧中继DLCI 17【实验原理】帧中继的标准可以为帧中继网络中可配置和管理的永久虚电路(PVC)进行编址,帧中继永久虚电路由数据链路连接标识符(DLCI)来标识。
当帧中继为多个逻辑数据会话提供多路复用时,ISP的交换设备首先要建立一个表,该表用来将不同的DLCI值映射到出站端口,其次,当接收到一个数据帧时,交换设备分析其连接标识符,并将该数据帧发送到相应的端口。
最后,在第一个数据帧发送之前,将建立一条通往目的地的完全路径。
【实验步骤】步骤1 路由器RT1基本配置。
RT1(config)#interface Fast Ethernet 0/0RT1(config-if)#ip address 192.168.1.1 255.255.255.0RT1(config-if)#exit步骤2 路由器RT2基本配置。
RT2(config)#interface serial 0/0/0RT2(config-if)#ip address 200.200.12.2 255.255.255.0RT2(config-if)#exitRT2(config)#interface Fast Ethernet 0/0RT2(config-if)#ip address 192.168.2.1 255.255.255.0RT2(config-if)#exit步骤3 路由器RT3基本配置。
第七章 配置帧中继

第七章配置帧中继一、帧中继技术(Frame Relay)帧中继是一种高性能的WAN协议,它运行在OSI参考模型的物理层和数据链路层。
它是一种数据包交换技术,是X.25的简化版本。
它省略了X.25的一些强健功能,如提供窗口技术和数据重发技术,而是依靠高层协议提供纠错功能,这是因为帧中继工作在更好的WAN设备上,这些设备较之X.25的WAN设备具有更可靠的连接服务和更高的可靠性,它严格地对应于OSI参考模型的最低二层(即是第二层协议),而X.25还提供第三层的服务,所以,帧中继比X.25具有更高的性能和更有效的传输效率。
图1是应用帧中继技术通信的典型例子。
图1、帧中继通信• 虚电路:两个DTE设备(如路由器)之间的逻辑链路称为虚电路(交换虚拟线路SVC,Switched VirtualCircuits),帧中继用虚电路来提供端点之间的连接。
由服务提供商预先设置的虚电路称为永久虚电路(PVC,Permanent VirtualCircuits);别外一种虚电路是交换虚电路(SVC),它是动态设置的虚电路。
• 帧中继设置中可分为数据终端设备(DTE)和数据电路终端设备(DCE),在实际应用中,Cisco路由器为DTE端,通过V.35线缆连接CSU/DSU,如果将两个路由器通过V.35线缆直连,连接V.35 DCE线缆的路由器充当DCE的角色,并且需要提供同步时钟。
CSU(通道服务单元):把终端用户和本地数字电话环路相连的数字接口设备。
DSU(数据业务单元):指的是用于数字传输中的一种设备,它能够把DTE设备上的物理层接口适配到T1或者E1等通信设施上。
数据业务单元也负责信号计时等功能,它通常与CSU(信道业务单元)一起提及,称作CSU/DSU (Channel Service Unit/Data [or Digital] Service Unit)。
• 帧中继技术提供面向连接的数据链路层的通信,在每对设备之间都存在一条定义好的通信链路,且该链路有一个链路识别码。
帧中继ospf点到点子接口到子接口

帧中继操作(帧中继)FR(config)#no ip routingFR(config)#frame-relay switching正向:FR(config)#int s0/0FR(config-if)#encapsulation frame-relayFR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay route 102 int s0/1 201 FR(config-if)#frame-relay route 103 int s0/2 301 FR(config-if)#no shutFR(config-if)#end反向:FR(config)#int s0/1FR(config-if)#encapsulation frame-relayFR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay route 201 int s0/0 102 FR(config-if)#endFR(config)#int s0/2FR(config-if)#encapsulation frame-relayFR(config-if)#frame-relay intf-type dceFR(config-if)#frame-relay route 301 int s0/0 103 FR(config-if)#end封装帧中继(客户端)R1r1(config)#int lo0r1(config-if)ip add 1.1.1.1 255.255.255.0r1(config)#int s0/0r1(config-if)#no ip addr1(config-if)#encapsulation frame-relayr1(config-if)#clock rate 64000r1(config-if)#no shutr1(config)#int s0/0.1 point-to-pointr1(config-subif)#ip add 199.1.1.1 255.255.255.0 r1(config-subif)#frame-relay interface-dlci 102 r1(config-fr-dlci)#no shutr1(config)#int s0/0.2 point-to-pointr1(config-subif)#ip add 200.1.1.1 255.255.255.0 r1(config-subif)#frame-relay interface-dlci 103 r1(config-fr-dlci)#no shutR2r2 (config)#int lo0r2(config-if)ip add 2.2.2.2 255.255.255.0r2(config)#int s0/0r2(config-if)#clock rate 64000r2(config-if)#encapsulation frame-relayr2(config-if)#no ip addr2(config-if)#no shutr2(config)#int s0/0.1 point-to-pointr2(config-subif)#ip add 199.1.1.2 255.255.255.0 r2(config-subif)#frame-relay interface-dlci 201 r3(config-fr-dlci)#no shutR3r3(config)#int lo0r3(config-if)ip add 3.3.3.3 255.255.255.0r3(config)#int s0/0r3(config-if)#no ip addr3(config-if)#clock rate 64000r3(config-if)#encapsulation frame-relayr3(config-if)#no shutr3(config)#int s0/0.1 point-to-pointr3(config-subif)#ip add 200.1.1.3 255.255.255.0 r3(config-subif)#frame-relay interface-dlci 301 r3(config-fr-dlci)#no shut路由协议(ospf)R1r1 (config)#router ospf 1r1 (config-router)#net 1.1.1.0 0.0.0.255 area 0 r1 (config-router)#net 199.1.1.0 0.0.0.255 area 0 r1 (config-router)#net 200.1.1.0 0.0.0.255 area 0 R2r2 (config)#router ospf 1r2 (config-router)#net 2.2.2.0 0.0.0.255 area 0 r2 (config-router)#net 199.1.1.0 0.0.0.255 area 0 R3r3 (config)#router ospf 1r3 (config-router)#net 3.3.3.0 0.0.0.255 area 0 r3 (config-router)#net 200.1.1.0 0.0.0.255 area 0。
帧中继配置(点到点)

帧中继是ISP提供的一种广域网服务,是一种网络与数据终端设备(DTE)接口标准,多用于公司总部与分支机构互连。
帧中继的主要特点是:使用光纤作为传输介质,因此误码率极低,能实现近似无差错传输,减少了进行差错校验的开销,提高了网络的吞吐量;帧中继是一种宽带分组交换,使用复用技术时,其传输速率可高达44.6Mbps。
但是,帧中继不适合于传输诸如话音、电视等实时信息,它仅限于传输数据。
下面我们开始试验,试验拓扑如下试验环境分析:在上图环境中A路由器代表公司总部,A公司有两个分支机构,我们分别用路由器B、C表示试验目标:使用帧中继实现总部与分支机构互连帧中继的配置分为点对点子接口和多点子接口,在此我们将使用点对点子接口配置帧中继。
点对点网络就是每一个端口对应一个相应的站点,而一个公司有可能有多个分支,而路由器端口的数量有限,这是我们需要在一个物理端口上划分出多个子接口,每个子接口对应一个站点。
帧中继配置在路由器与分支相连的端口上,也就是广域网端口帧中继配置命令:①进入物理端口后不需要直接在端口上配置IP地址,如有IP地址可以在端口上使用(config-if)#no ip address②在物理端口(广域网端口)封装帧中继协议(config-if)#encap frame-relay③激活物理端口(config-if)#no shutdown④在物理端口上建立子接口,并指定接口类型(config-if)#interface 子接口point-to-point⑤给子接口配置IP地址和子网掩码(config-subif)#ip address IP地址子网掩码⑥给子接口配置DLCI值(config-subif)#frame-relay interface-dlci DLCI值⑦给子接口配置端口速率(config-sibif)#bandwidth 带宽DLCI值IP地址规划A:e0---192.168.10.1 B:e0---192.168.20.1 C:e0---192.168.30.1 s0.1--202.110.100.1 s0---202.110.100.2 s0---202.110.10 1.2s0.2--202.110.101.1一、配置A路由器A(config)#interface e0 进入局域网端口A(config-if)#ip address 192.168.10.1 255.255.255.0配置局域网I P和掩码A(config-if)#no shutdown激活局域网端口A(config-if)# interface s0 进入广域网端口A(config-if)#no ip address 删除广域网端口的IPA(config-if)#no shutdown 激活广域网A(config-if)#encap frame-relay封装帧中继协议A(config-if)#interface s0.1 point-to-point 在物理端口上建立子接口S0.1,指定端口类型A(config-subif)#ip address 202.110.100.1 255.255.255.0给子接口配置IP和掩码A(config-subif)#frame-relay interface-dlci 102 给S0.1子接口封装DLCIA(config-subif)#bandwidth 64给S0.1子接口配置A(config-subif)#interface s0.2 point-to-point 建立子接口S0.2,并指定子接口类型A(config-subif)#ip address 202.110.101.1 255.255.255.0 给子接口S0.2配置IP和掩码A(config-subif)#frame-relay interface-dlci 103给S0.2子接口封装DLCIA(config-subif)#bandwidth 64 给S0.2子接口配置端口速率A(config-subif)#exit 退出子接口A(config)#router eigrp 100 配置路由,协议为EIGRPA(config-router)#net 192.168.10.0A(config-router)#net 202.110.100.0A(config-router)#net 202.110.101.0二、配置B路由器B路由器上有两个端口,一个是局域网端口E0,一个是广域网端口S0,S0为连接A路由器的S0.1端口,不需要配置子接口,只需要配置IP地址然后封装帧中继协议即可B(config)#int e0B(config-if)#ip address 192.168.20.1 255.255.255.0B(config-if)#no shutdownB(config-if)#int s0B(config-if)#ip address 202.110.100.2 255.255.255.0B(config-if)#encap frame-relayB(config-if)#frame-relay interface-dlci 201B(config-if)#bandwidth 64B(config-if)#no shutB(config-if)#exitB(config)#router eigrp 100B(config-router)#net 192.168.20.0B(config-router)#net 202.110.100.0三、配置路由器CC路由器有两个端口,E0为局域网端口。
帧中继的配置

帧中继的配置一.帧中继帧中继协议是一个第二层协议,即数据链路层协议,它工作在OSI参考模型的物理层和数据链路层。
帧中继提供面向连接的数据链路层通讯,由于其可靠的性能,因此目前成为一种非常重要的广域网技术。
在学习帧中继的过程中,以下的几个术语及与其相关的技术是必须要重点掌握的内容:●虚电路(Virtual circuit):为保证两个DTE设备(如路由器)之间的双向通信而创建的逻辑链路称为虚电路(VC),帧中继用虚电路来提供端点之间的连接,用DLCI来标识;●永久虚电路(Permanent VC-PVC):由服务提供商预先设置,在需要经常通过帧中继网络进行数据传送的DTE设备之间建立的永久逻辑连接,称为永久虚电路(PVC);●交换虚电路(Switched VC-SVC):在只需要通过帧中继网络进行零星数据传送的DTE 设备之间建立的临时的逻辑连接,称为交换虚电路(SVC),它是动态设置的虚电路;●DLCI:数据链路连接标识符(Data-Link Connection Identifier),是帧中继帧头的地址字段中用来区分VC的10bits标识,该标识具有本地意义,只涉及到本地路由器和所连帧中继交换机之间的那一部分,只是路由器和帧中继交换机之间表示VC的数字,因此,远端设备可以用与本地设备相同或完全不同的DLCI表示同样一条逻辑连接,两端的DLCI互不相干。
帧中继交换机通过在一对路由器之间映射DLCI来创建虚电路;●本地访问速率(Local Access Rate):指连接到帧中继云团的连接(本地回路)的时钟速度(端口速度),是数据流入或流出网络的速率;●LMI:本地管理接口(Local Management Interface),是用户设备(DTE)和帧中继交换机(DCE)之间的信令标准,它负责管理设备之间的连接并维护设备之间的连接状态;●CIR:承诺信息速率(Committed Information Rate):申请帧中继服务时服务提供商(ISP)承诺提供的有保证的速率,CIR是在正常条件下帧中继网络保证为用户传送数据所提供的最大平均数据速率;●Inverse ARP:反向地址解析协议(Inverse Address Resolution Protocol),动态地把远端设备的网络层地址与本地DLCI相关联的方法,使本地路由器能自动发现与一个VC相关联的远端设备的网络层地址;●帧中继映射:作为第二层的协议,帧中继协议必须有一个与第三层协议之间建立关联的手段,才能用它来实现网络层的通信,帧中继映射即实现这样的功能,它把网络层地址和DLCI之间进行映射。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
帧中继概述:•是由国际电信联盟通信标准化组和美国国家标准化协会制定的一种标准。
•它定义在公共数据网络上发送数据的过程。
•它是一种面向连接的数据链路技术,为提供高性能和高效率数据传输进行了技术简化,它靠高层协议进行差错校正,并充分利用了当今光纤和数字网络技术。
帧中继的作用:•帧使用DLCI进行标识,它工作在第二层;帧中继的优点在于它的低开销。
•帧中继在带宽方面没有限制,它可以提供较高的带宽。
•典型速率56K-2M/s内选择 Frame Relay 拓扑结构:•全网结构:提供最大限度的相互容错能力;物理连接费用最为昂贵。
•部分网格结构:对重要结点采取多链路互连方式,有一定的互备份能力。
•星型结构:最常用的帧中继拓扑结构,由中心节点来提供主要服务与应用,工程费最省帧中继的前景:•一种高性能,高效率的数据链路技术。
•它工作在OSI参考模型的物理层和数据链路层,但依赖TCP上层协议来进行纠错控制。
•提供帧中继接口的网络可以是一个ISP服务商;也可能是一个企业的专有企业网络。
•目前,它是世界上最为流行的WAN协议之一,它是优秀的思科专家必备的技术之一。
子接口的配置:•点到点子接口–子接口看作是专线–每一个点到点连接的子接口要求有自己的子网–适用于星型拓扑结构•多点子接口(和其父物理接口一样的性质)–一个单独的子接口用来建立多条PVC,这些PVC连接到远端路由器的多点子接口或物理接口–所有加入的接口都处于同一的子网中–适用于 partial-mesh 和 full-mesh 拓扑结构中帧中继术语:•DTE:客户端设备(CPE),数据终端设备•DCE:数据通信设备或数据电路端接设备•虚电路(VC):通过为每一对DTE设备分配一个连接标识符,实现多个逻辑数据会话在同一条物理链路上进行多路复用。
•数字连接识别号(DLCI):用以识别在DTE和FR之间的逻辑虚拟电路。
•本地管理接口(LMI):是在DTE设备和FR之间的一种信令标准,它负责管理链路连接和保持设备间的状态。
今天我们研究点到点子接口(point-to-point)试验拓扑说明:R1的物理接口不添加IP。
R1的子接口S0/0.1的ip为192.168.1.1,S0/0.2的ip为192.168.2.1。
R2的ip为192.168.1.2。
R3的ip为192.168.2.2 网络掩码都为255.255.255.0。
R1上S0/0.1的DLCI号为102,S0/0.2的DLCI号为103.R2上S0/0的DLCI号为201R3上S0/0的DLCI号为301试验要求:在路由器间完成帧中继——点到点子接口的配置,并在路由器间配置rip协议,最终使路由器间全网全通。
Let’s go……R1Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#host r1r1(config)#int s0/0r1(config-if)#no ip addrr1(config-if)#no shutr1(config-if)#encapsulation frame-relay 在物理接口下封装frame-relay r1(config-if)#no frame-relay inverse-arp 关闭帧中继的反向ARP功能r1(config-if)#exitr1(config)#int s0/0.1 point-to-point 配置点到点的frame-relayr1(config-subif)#ip addr 192.168.1.1 255.255.255.0r1(config-subif)#no shutr1(config-subif)#frame-relay interface-dlci 102r1(config-fr-dlci)#exitr1(config-subif)#int s0/0.2 point-to-pointr1(config-subif)#ip addr 192.168.2.1 255.255.255.0r1(config-subif)#no shutr1(config-subif)#frame-relay interface-dlci 103r1(config-fr-dlci)#exitr1(config-subif)#router rip 配置rip协议r1(config-router)#network 192.168.1.0r1(config-router)#network 192.168.2.0R2Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#host r2r2(config)#int s0/0r2(config-if)#ip addr 192.168.1.2 255.255.255.0r2(config-if)#no shutr2(config-if)#encapsulation frame-relay 封装frame-relayr2(config-if)#no frame-relay inverse-arp 关闭frame-relay的反向ARP功能r2(config-if)#frame-relay map ip 192.168.1.1 201 broadcast 映射ip地址与帧中继地址r2(config-if)#exitr2(config)#router rip 配置rip协议r2(config-router)#network 192.168.1.0R3Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#host r3r3(config)#int s0/0r3(config-if)#ip addr 192.168.2.2 255.255.255.0r3(config-if)#no shutr3(config-if)#encapsulation frame-relay 封装frame-relayr3(config-if)#no frame-relay inverse-arp 关闭frame-relay的反向arp功能r3(config-if)#frame-relay map ip 192.168.2.1 301 broadcast 映射ip地址与帧中继地址r3(config-if)#exitr3(config)#router rip 配置rip协议r3(config-router)#network 192.168.2.0验证:r1#ping 192.168.1.2Type 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 = 44/156/364 msr1#ping 192.168.2.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 156/292/404 msr2#ping 192.168.1.1Type 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 = 88/386/544 ms r2#ping 192.168.2.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 180/432/636 ms r2#ping 192.168.2.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 48/430/580 ms r3#ping 192.168.1.1Type 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 = 456/519/592 ms r3#ping 192.168.2.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 152/434/584 ms r3#ping 192.168.1.2Type 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 = 112/309/456 ms 通过验证,全网全通。