Topologia następująca:
Router 5 (asbr z area 2):
Kod: Zaznacz cały
R5#sh run | b ospf
router ospf 1
log-adjacency-changes
redistribute rip metric 1000 metric-type 1 subnets
network 10.2.75.0 0.0.0.255 area 2
network 10.20.54.0 0.0.0.255 area 0
!
router rip
version 2
redistribute ospf 1
network 10.0.0.0
R5#sh 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
R 172.16.0.0/16 [120/1] via 10.2.65.2, 00:00:20, FastEthernet0/1
O 192.168.202.0/24 [110/2] via 10.2.75.2, 00:14:59, FastEthernet1/0
10.0.0.0/24 is subnetted, 6 subnets
O IA 10.1.13.0 [110/3] via 10.20.54.1, 00:14:59, FastEthernet0/0
O IA 10.1.23.0 [110/3] via 10.20.54.1, 00:14:59, FastEthernet0/0
O 10.10.34.0 [110/2] via 10.20.54.1, 00:14:59, FastEthernet0/0
C 10.20.54.0 is directly connected, FastEthernet0/0
C 10.2.75.0 is directly connected, FastEthernet1/0
C 10.2.65.0 is directly connected, FastEthernet0/1
O IA 192.168.102.0/24 [110/4] via 10.20.54.1, 00:15:00, FastEthernet0/0
O IA 192.168.101.0/24 [110/4] via 10.20.54.1, 00:15:00, FastEthernet0/0
Kod: Zaznacz cały
R6#sh 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/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, FastEthernet0/1
10.0.0.0/24 is subnetted, 3 subnets
R 10.20.54.0 [120/1] via 10.2.65.1, 00:00:15, FastEthernet0/0
R 10.2.75.0 [120/1] via 10.2.65.1, 00:00:15, FastEthernet0/0
C 10.2.65.0 is directly connected, FastEthernet0/0
R6#sh run | b router
router rip
version 2
network 10.0.0.0
network 172.16.0.0
!
ip classless
Sytuacja wygląda następująco : pingi z area 2 oraz area 0 idą do sieci ripowej, natomiast z area 1 się gubią, trace się kończy na R5:
Kod: Zaznacz cały
R3#traceroute 172.16.1.1
Type escape sequence to abort.
Tracing the route to 172.16.1.1
1 10.10.34.1 36 msec 28 msec 28 msec
2 10.20.54.2 20 msec 72 msec 24 msec
3 * * *
4 * * *
5