【文件属性】:
文件名称:检查路由表测试-python实现画图工具
文件大小:3.3MB
文件格式:PDF
更新时间:2021-06-08 07:39:10
思科网络
(1) 帧中继上路由协议运行的特殊性
(2) 水平分割
2. 实验拓扑
如图 8-4。
3. 实验步骤
在实验 2 的基础上继续本实验。
(1) 配置 RIP:
R1(config)#interface Loopback0
R1(config-if)#ip address 1.1.1.1 255.255.255.0
R1(config)#router rip
R1(config-router)#network 1.0.0.0
R1(config-router)#network 192.168.123.0
R3(config)#interface Loopback0
R3(config-if)#ip address 3.3.3.3 255.255.255.0
R3(config)#router rip
R3(config-router)#network 3.0.0.0
R3(config-router)#network 192.168.123.0
R4(config)#interface Loopback0
R4(config-if)#ip address 4.4.4.4 255.255.255.0
R4(config)#router rip
R4(config-router)#network 4.0.0.0
R4(config-router)#network 192.168.123.0
(2) 检查路由表、测试
在各个路由器上检查路由表,并测试从环回口之间的互相 ping。
R3#show ip route
(此处省略)
C 192.168.123.0/24 is directly connected, Serial0/0/1
R 1.0.0.0/8 [120/1] via 192.168.123.1, 00:00:26, Serial0/0/1
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
R 4.0.0.0/8 [120/2] via 192.168.123.1, 00:00:26, Serial0/0/1
//看到正常的路由表,注意 RIP 路由表中的下一跳
R3#ping 4.4.4.4 source loopback 0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
Packet sent with a source address of 3.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/54/56 ms