PC1> ip 192.168.1.100/24 192.168.1.1
Checking for duplicate address...
PC1 : 192.168.1.100 255.255.255.0 gateway 192.168.1.1
PC1> show ip
NAME : PC1[1]
IP/MASK : 192.168.1.100/24
GATEWAY : 192.168.1.1
DNS :
MAC : 00:50:79:66:68:00
LPORT : 20020
RHOST:PORT : 127.0.0.1:20021
MTU : 1500
PC1> save
Saving startup configuration to startup.vpc
. done
PC1>
PC2> ip 192.168.2.100/24 192.168.2.1
Checking for duplicate address...
PC2 : 192.168.2.100 255.255.255.0 gateway 192.168.2.1
PC2> show ip
NAME : PC2[1]
IP/MASK : 192.168.2.100/24
GATEWAY : 192.168.2.1
DNS :
MAC : 00:50:79:66:68:01
LPORT : 20022
RHOST:PORT : 127.0.0.1:20023
MTU : 1500
PC2> save
Saving startup configuration to startup.vpc
. done
PC2>
Neighbor ID Pri State Dead Time Address Interface
10.0.0.5 1 FULL/BDR 00:00:39 10.0.0.2 FastEthernet0/0
R1#
Neighbor ID Pri State Dead Time Address Interface
192.168.2.1 1 FULL/BDR 00:00:37 10.0.0.6 FastEthernet1/0
192.168.1.1 1 FULL/DR 00:00:31 10.0.0.1 FastEthernet0/0
R2#
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.0.0.5 1 FULL/DR 00:00:33 10.0.0.5 FastEthernet1/0
R3#
R1#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.0.0.0/30 is directly connected, FastEthernet0/0
L 10.0.0.1/32 is directly connected, FastEthernet0/0
O 10.0.0.4/30 [110/2] via 10.0.0.2, 00:12:08, FastEthernet0/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, FastEthernet1/0
L 192.168.1.1/32 is directly connected, FastEthernet1/0
O 192.168.2.0/24 [110/3] via 10.0.0.2, 00:08:48, FastEthernet0/0
R1#
R2#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C 10.0.0.0/30 is directly connected, FastEthernet0/0
L 10.0.0.2/32 is directly connected, FastEthernet0/0
C 10.0.0.4/30 is directly connected, FastEthernet1/0
L 10.0.0.5/32 is directly connected, FastEthernet1/0
O 192.168.1.0/24 [110/2] via 10.0.0.1, 00:13:45, FastEthernet0/0
O 192.168.2.0/24 [110/2] via 10.0.0.6, 00:10:15, FastEthernet1/0
R2#
R3#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O 10.0.0.0/30 [110/2] via 10.0.0.5, 00:11:33, FastEthernet1/0
C 10.0.0.4/30 is directly connected, FastEthernet1/0
L 10.0.0.6/32 is directly connected, FastEthernet1/0
O 192.168.1.0/24 [110/3] via 10.0.0.5, 00:11:33, FastEthernet1/0
192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.2.0/24 is directly connected, FastEthernet0/0
L 192.168.2.1/32 is directly connected, FastEthernet0/0
R3#
R2#show running-config | section ospf
router ospf 1
network 10.0.0.0 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 area 0
R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.2.1 1 FULL/BDR 00:00:36 10.0.0.6 FastEthernet1/0
192.168.1.1 1 FULL/DR 00:00:36 10.0.0.1 FastEthernet0/0
R1#debug ip ospf events
OSPF events debugging is on