R1 interface Serial1/0 ip add 1.1.1.1 255.255.255.0 ! interface lo0 ip add 150.1.6.6 255.255.255.255 ! router ospf 1 net 1.1.1.0 0.0.0.255 area 12 net 150.1.6.6 0.0.0.0 area 12 R2 interface Serial1/0 ip add 1.1.1.2 255.255.255.0 ! interface S1/1 ip add 2.2.2.2 255.255.255.0 ! interface lo0 ip add 150.1.7.7 255.255.255.255 ! router ospf 1 network 1.1.1.0 0.0.0.255 area 12 network 2.2.2.0 0.0.0.255 area 0 network 150.1.7.7 0.0.0.0 area 12 R3 interface s1/0 ip add 2.2.2.3 255.255.255.0 ! interface lo0 ip add 150.1.8.8 255.255.255.255 ! router ospf 1 network 2.2.2.0 0.0.0.255 area 0 network 150.1.8.8 0.0.0.0 area 0 |
R3#sh ip route Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnets O IA 1.1.1.0 [110/128] via 2.2.2.2, 00:55:34, Serial1/1 2.0.0.0/24 is subnetted, 1 subnets C 2.2.2.0 is directly connected, Serial1/1 150.1.0.0/32 is subnetted, 3 subnets C 150.1.8.8 is directly connected, Loopback0 O IA 150.1.7.7 [110/65] via 2.2.2.2, 00:00:07, Serial1/1 O IA 150.1.6.6 [110/129] via 2.2.2.2, 00:00:07, Serial1/1 |
R3#sh ip route Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnets O IA 1.1.1.0 [110/128] via 2.2.2.2, 00:58:33, Serial1/1 2.0.0.0/24 is subnetted, 1 subnets C 2.2.2.0 is directly connected, Serial1/1 150.1.0.0/16 is variably subnetted, 2 subnets, 2 masks O IA 150.1.6.0/23 [110/65] via 2.2.2.2, 00:00:04, Serial1/1 C 150.1.8.8/32 is directly connected, Loopback0 |
150.1.6.6 | 10010110. | 00000001. | 00000110. | 00000110 |
150.1.7.7 | 10010110. | 00000001. | 00000111. | 00000110 |
255.255.254.0 | 11111111. | 11111111. | 11111110. | 00000000 |
R1#sh ip ospf nei Neighbor ID Pri State Dead Time Address Interface 2.2.2.2 0 EXCHANGE/ - 00:00:39 1.1.1.2 Serial1/0 R1# R1#sh ip ospf nei Neighbor ID Pri State Dead Time Address Interface 2.2.2.2 0 INIT/ - 00:00:30 1.1.1.2 Serial1/0 R1# R1#sh ip ospf nei Neighbor ID Pri State Dead Time Address Interface 2.2.2.2 0 EXCHANGE/ - 00:00:37 1.1.1.2 Serial1/0 |