编号 |
路径 |
COST值 |
1 |
R3 ------> R2 ------> R1 ------> 目标网络 |
13 |
2 |
R3 ------> R2 ------> R4 ------> R1 ------> 目标网络 |
7 |
3 |
R3 ------> R4 ------> R1 ------> 目标网络 |
8 |
4 |
R3 ------> R4 ------> R2 ------> R1 ------> 目标网络 |
18 |
R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 5 subnets
O IA 172.16.255.0 [110/12] via 172.16.255.5, 00:00:02, Serial1/0
C 172.16.255.4 is directly connected, Serial1/0
C 172.16.255.8 is directly connected, Serial1/1
O IA 172.16.255.12 [110/6] via 172.16.255.5, 00:00:02, Serial1/0
O 172.16.255.16 [110/4] via 172.16.255.5, 00:00:02, Serial1/0
O IA 192.168.1.0/24 [110/7] via 172.16.255.5, 00:00:02, Serial1/0 |
R3#traceroute 192.168.1.0
Type escape sequence to abort.
Tracing the route to 192.168.1.0
1 172.16.255.5 52 msec 68 msec 24 msec
2 172.16.255.1 16 msec 20 msec 24 msec |
R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 5 subnets
O IA 172.16.255.0 [110/12] via 172.16.255.5, 00:00:04, Serial1/0
C 172.16.255.4 is directly connected, Serial1/0
C 172.16.255.8 is directly connected, Serial1/1
O IA 172.16.255.12 [110/7] via 172.16.255.10, 00:00:04, Serial1/1
[110/7] via 172.16.255.5, 00:00:04, Serial1/0
O 172.16.255.16 [110/5] via 172.16.255.5, 00:00:04, Serial1/0
O IA 192.168.1.0/24 [110/8] via 172.16.255.10, 00:00:04, Serial1/1
[110/8] via 172.16.255.5, 00:00:04, Serial1/0
R3# |