查看帧中继建立情况

  1. R1#sh frame map  
  2. Serial0/0 (up): ip 11.1.1.2 dlci 102(0x66,0x1860), static,  
  3. broadcast,  
  4. CISCO, status defined, active  
  5. Serial0/0 (up): ip 11.1.1.3 dlci 103(0x67,0x1870), static,  
  6. broadcast,  
  7. CISCO, status defined, active  
  8. R2#sh frame map  
  9. Serial0/0 (up): ip 11.1.1.1 dlci 201(0xC9,0x3090), static,  
  10. broadcast,  
  11. CISCO, status defined, active  
  12. R3#sh frame map  
  13. Serial0/0 (up): ip 11.1.1.1 dlci 301(0x12D,0x48D0), static,  
  14. broadcast,  
  15. CISCO, status defined, active 

已经建立完毕

测试连通性:

  1. R3#ping 11.1.1.1  
  2. Type escape sequence to abort.  
  3. Sending 5, 100-byte ICMP Echos to 11.1.1.1, timeout is 2 seconds:  
  4. Success rate is 100 percent (5/5), round-trip min/avg/max = 48/77/96 ms 

帧中继有水平分割,在rip协议中,帧中继的水平分割默认是被关闭的,在eigrp协议中 帧中继的水平分割默认是被打开的 可查看R1的S0/0接口

  1. R1#sh ip int s0/0  
  2. Serial0/0 is up, line protocol is up  
  3. Internet address is 11.1.1.1/24  
  4. Broadcast address is 255.255.255.255  
  5. Address determined by setup command  
  6. MTU is 1500 bytes  
  7. Helper address is not set  
  8. Directed broadcast forwarding is disabled  
  9. Multicast reserved groups joined: 224.0.0.9  
  10. Outgoing access list is not set  
  11. Inbound  access list is not set  
  12. Proxy ARP is enabled  
  13. Local Proxy ARP is disabled  
  14. Security level is default  
  15. Split horizon is disabled  
  16. ICMP redirects are always sent  
  17. ICMP unreachables are always sent  
  18. ICMP mask replies are never sent  
  19. IP fast switching is enabled  
  20. IP fast switching on the same interface is enabled  
  21. IP Flow switching is disabled 

我们分别用 rip 和 eigrp做同样的实验,首先每台路由器启动RIP,通过查看路由表可以发现,R2 R3会学到对方的路由。

  1. R2#sh ip route  
  2. 1.0.0.0/24 is subnetted, 1 subnets  
  3. R       1.1.1.0 [120/1] via 11.1.1.1, 00:00:04, Serial0/0  
  4. 2.0.0.0/24 is subnetted, 1 subnets  
  5. C       2.2.2.0 is directly connected, Loopback0  
  6. 3.0.0.0/24 is subnetted, 1 subnets  
  7. R       3.3.3.0 [120/2] via 11.1.1.3, 00:00:04, Serial0/0  
  8. 11.0.0.0/24 is subnetted, 1 subnets  
  9. C       11.1.1.0 is directly connected, Serial0/0 

可以看到3.3.3.0的路由

  1. R3#sh ip route  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. R       1.1.1.0 [120/1] via 11.1.1.1, 00:00:06, Serial0/0  
  5. 2.0.0.0/24 is subnetted, 1 subnets  
  6. R       2.2.2.0 [120/2] via 11.1.1.2, 00:00:06, Serial0/0  
  7. 3.0.0.0/24 is subnetted, 1 subnets  
  8. C       3.3.3.0 is directly connected, Loopback0  
  9. 11.0.0.0/24 is subnetted, 1 subnets  
  10. C       11.1.1.0 is directly connected, Serial0/0 


可以看到有2.2.2.0 的路由


相关内容