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

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。 http://fanlinlin.blog.51cto.com/535085/134369
上篇博文中我们试验验证了,帧中继point-to-point。今天我们来验证帧中继的point-to-multipoint。
试验拓扑如下:
试验拓扑说明:(拓扑做的有点烂,大家多担待点 。呵呵)
试验拓扑说明: R1 的物理接口不添加 IP R1 的子接口 S0/0.1 ip 192.168.1.1 R2 ip 192.168.1.2 R3 ip 192.168.1.3 R4 ip 192.168.1.4 网络掩码都为 255.255.255.0
R1 S0/0.1 DLCI 号为 102. 103. 104
R2 S0/0 DLCI 号为 201
R3 S0/0 DLCI 号为 301
R4 S0/0 DLCI 号为 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)
 
 
R1 show 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 R4 show frame map 查看当前映射项和 DLCI 映射表的相关信息。
r1#show frame map
Serial0/0.1 (up): ip 192.168.1.2 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active
Serial0/0.1 (up): ip 192.168.1.3 dlci 103(0x67,0x1870), static,
              broadcast,
              CISCO, status defined, active
Serial0/0.1 (up): ip 192.168.1.4 dlci 104(0x68,0x1880), static,
              broadcast,
              CISCO, status defined, active
 
r2#show frame map
Serial0/0 (up): ip 192.168.1.1 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
 
r3#show frame map
Serial0/0 (up): ip 192.168.1.1 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
 
r4#show frame map
Serial0/0 (up): ip 192.168.1.1 dlci 401(0x191,0x6410), static,
              broadcast,
              CISCO, status defined, active
 
 
验证结束,试验OK。
 
本文出自 “ 范琳琳学习笔记” 博客,请务必保留此出处 http://fanlinlin.blog.51cto.com/535085/134369
本文出自 51CTO.COM技术博客

你可能感兴趣的:(职场,休闲,帧中继)