R1 interface s1/0 ip address 12.12.12.1 255.255.255.0 no shut interface s1/1 ip address 13.13.13.1 255.255.255.0 no shut router ospf 1 net 12.12.12.0 0.0.0.255 area 0 net 13.13.13.0 0.0.0.255 area 0 R2 interface s1/0 ip address 12.12.12.2 255.255.255.0 no shut interface s1/1 ip address 24.24.24.2 255.255.255.0 no shut router ospf 1 net 12.12.12.0 0.0.0.255 area 0 net 24.24.24.0 0.0.0.255 area 0 R3 interface s1/0 ip address 34.34.34.3 255.255.255.0 no shut interface s1/1 ip address 13.13.13.3 255.255.255.0 no shut router ospf 1 net 34.34.34.0 0.0.0.255 area 0 net 13.13.13.0 0.0.0.255 area 0 R4 interface s1/0 ip address 34.34.34.4 255.255.255.0 no shut interface s1/1 ip address 24.24.24.4 255.255.255.0 no shut interface lo0 ip add 40.40.40.40 255.255.255.0 interface lo1 ip add 40.41.41.41 255.255.255.0 interface lo2 ip add 40.42.42.42 255.255.255.0 router ospf 1 net 34.34.34.0 0.0.0.255 area 0 net 24.24.24.0 0.0.0.255 area 0 net 40.0.0.0 0.255.255.255 area 4 |
R1# sh ip route Gateway of last resort is not set 34.0.0.0/24 is subnetted, 1 subnets O 34.34.34.0 [110/128] via 13.13.13.3, 00:00:22, Serial1/1 24.0.0.0/24 is subnetted, 1 subnets O 24.24.24.0 [110/128] via 12.12.12.2, 00:00:22, Serial1/0 40.0.0.0/32 is subnetted, 3 subnets O IA 40.40.40.40 [110/129] via 13.13.13.3, 00:00:22, Serial1/1 [110/129] via 12.12.12.2, 00:00:22, Serial1/0 O IA 40.41.41.41 [110/129] via 13.13.13.3, 00:00:22, Serial1/1 [110/129] via 12.12.12.2, 00:00:22, Serial1/0 O IA 40.42.42.42 [110/129] via 13.13.13.3, 00:00:22, Serial1/1 [110/129] via 12.12.12.2, 00:00:22, Serial1/0 12.0.0.0/24 is subnetted, 1 subnets C 12.12.12.0 is directly connected, Serial1/0 13.0.0.0/24 is subnetted, 1 subnets C 13.13.13.0 is directly connected, Serial1/1 |