CCNA配置试验之九 帧中继——点到多点(point-to-multipoint)子接口配置

简介:
上篇博文中我们试验验证了,帧中继point-to-point。今天我们来验证帧中继的point-to-multipoint。
试验拓扑如下:
试验拓扑说明:(拓扑做的有点烂,大家多担待点 。呵呵)
试验拓扑说明:R1的物理接口不添加IPR1的子接口S0/0.1ip192.168.1.1R2ip192.168.1.2R3ip192.168.1.3 R4ip192.168.1.4网络掩码都为255.255.255.0
R1S0/0.1DLCI号为102. 103. 104
R2S0/0DLCI号为201
R3S0/0DLCI号为301
R4S0/0DLCI号为401
试验要求:在路由器间完成帧中继——点到多点的配置。最终使R1分别R2 R3 R4通讯,而R2 R3 R4之间不能相互通讯。
 
好了,开始试验吧!
 
R1
 
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host r1
r1(config)#int s0/0
r1(config-if)#no ip addr
r1(config-if)#no shut
r1(config-if)#encapsulation frame-relay  在物理接口下封装frame-relay
r1(config-if)#no frame-relay inverse-arp关闭帧中继的反向ARP功能
r1(config-if)#exit
r1(config)#int s0/0.1 multipoint  配置点到多点的frame-relay
r1(config-subif)#ip addr 192.168.1.1 255.255.255.0
r1(config-subif)#no shut
r1(config-subif)#frame-relay map ip 192.168.1.2 102 broadcast映射ip地址
r1(config-subif)#frame-relay map ip 192.168.1.3 103 broadcast与帧中继地
r1(config-subif)#frame-relay map ip 192.168.1.4 104 broadcast
 
 
R2
 
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host r2
r2(config)#int s0/0
r2(config-if)#ip addr 192.168.1.2 255.255.255.0
r2(config-if)#no shut
r2(config-if)#encapsulation frame-relay接口下封装frame-relay
r2(config-if)#no frame-relay inverse-arp关闭帧中继的反向ARP功能
r2(config-if)#frame-relay map ip 192.168.1.1 201 broadcast映射ip地址与帧 中继地址
 
R2 R3 R4的配置是一样的,往下就不再文字解释了。
 
 
R3
 
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host r3
r3(config)#int s0/0
r3(config-if)#ip addr 192.168.1.3 255.255.255.0
r3(config-if)#no shut
r3(config-if)#encapsulation frame-relay
r3(config-if)#no frame-relay inverse-arp
r3(config-if)#frame-relay map ip 192.168.1.1 301 broadcast
 
 
R4
 
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host r4
r4(config)#int s0/0
r4(config-if)#ip addr 192.168.1.4 255.255.255.0
r4(config-if)#no shut
r4(config-if)#encapsulation frame-relay
r4(config-if)#no frame-relay inverse-arp
r4(config-if)#frame-relay map ip 192.168.1.1 401 broadcast
 
验证
R1分别ping R2 R3 R4 结果表明他们之间能相互通讯
 
r1#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 = 144/344/568 ms
r1#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 = 216/304/500 ms
r1#ping 192.168.1.4
 
Type 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 = 288/373/504 ms
 
 
R2 ping R3 R4 结果不能相互通讯
 
r2#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)
r2#ping 192.168.1.4
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
 
 
 R3 ping R4不能通讯
r3#ping 192.168.1.4
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
 
 
R1show int S0/0查看接口信息,
 
r1#show int s0/0
Serial0/0 is up, line protocol is up
  Hardware is M4T
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation FRAME-RELAY, crc 16, loopback not set
  Keepalive set (10 sec)
  Restart-Delay is 0 secs
  LMI enq sent  43, LMI stat recvd 44, LMI upd recvd 0, DTE LMI up
  LMI enq recvd 0, LMI stat sent  0, LMI upd sent  0
  LMI DLCI 0  LMI type is ANSI Annex D  frame relay DTE
  FR SVC disabled, LAPF state down
  Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface broadcasts 0
  Last input 00:00:04, output 00:00:04, output hang never
  Last clearing of "show interface" counters 00:07:14
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/1/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 1158 kilobits/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     89 packets input, 5416 bytes, 0 no buffer
 --More--
 
 
在路由器R1 R2 R3 R4show frame map 查看当前映射项和DLCI映射表的相关信息。
r1#show frame map
Serial0/0.1 (up): ip 192.168.1.2 dlci 102(0x66,0x1860), static,
              
              
Serial0/0.1 (up): ip 192.168.1.3 dlci 103(0x67,0x1870), static,
              
              
Serial0/0.1 (up): ip 192.168.1.4 dlci 104(0x68,0x1880), static,
              
              
 
r2#show frame map
Serial0/0 (up): ip 192.168.1.1 dlci 201(0xC9,0x3090), static,
              
              
 
r3#show frame map
Serial0/0 (up): ip 192.168.1.1 dlci 301(0x12D,0x48D0), static,
              
              
 
r4#show frame map
Serial0/0 (up): ip 192.168.1.1 dlci 401(0x191,0x6410), static,
              
              
 
 
验证结束,试验OK。
 









本文转自 范琳琳 51CTO博客,原文链接:http://blog.51cto.com/fanlinlin/134369,如需转载请自行联系原作者
目录
相关文章
|
2月前
|
网络协议 安全 Linux
网卡接口跃点数:概念与重要性解析
在计算机网络中,跃点数(Hop Count)是指数据包从源设备传输到目标设备时经过的路由器或网关数量,是衡量路径长度的关键指标。本文详细介绍了跃点数的概念、计算方法及其在网络管理中的重要性,包括性能评估、故障排除、网络优化及路由选择等方面的应用。通过使用traceroute或tracert命令,网络管理员可以轻松获取跃点数信息,并据此优化网络结构,提高数据传输效率和安全性。尽管跃点数是重要指标,但仍需与其他因素结合分析以全面评估网络性能。
|
6月前
|
负载均衡 算法 定位技术
【专栏】思科私有动态路由协议:EIGRP,一种由Cisco开发的混合路由协议,结合了距离矢量和链路状态协议的优点,提供无环路路由和快速收敛
【4月更文挑战第28天】EIGRP,一种由Cisco开发的混合路由协议,结合了距离矢量和链路状态协议的优点,提供无环路路由和快速收敛。它支持带宽和延迟的度量,实现多路径负载均衡。配置EIGRP涉及启动协议、声明网络和调整参数。在实际应用中,如中型企业网络,EIGRP确保数据通信顺畅,适应网络扩展和变化,展现其高效和灵活的性能。
101 1
|
网络虚拟化
IRF典型配置举例(BFD MAD检测方式)
使用两台交换机进行IRF的最简配置,两台交换机适合于BFD的检测模式。
1978 0
|
网络协议 数据库 网络架构