So I have an exercise with this topology:
I have configured all the OSPF networks on each router and I made every g0/0 interface (except for the ABR in the middle) a passive interface.
However, I cannot ping from PC11 to PC1 (or any other PC in another area).
Here are the configurations of the routers:
R1 :
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.99.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 192.168.2.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
network 192.168.99.0 0.0.0.255 area 0
!
ip classless
R2 :
interface GigabitEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.99.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 192.168.3.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
network 192.168.99.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 0
!
ip classless
R3 :
interface GigabitEthernet0/0
ip address 192.168.3.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.99.3 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 192.168.2.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
network 192.168.99.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.255 area 0
!
ip classless
ABR :
interface GigabitEthernet0/0
ip address 192.168.99.4 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.16.99.4 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.99.0 0.0.0.255 area 0
network 172.16.99.0 0.0.0.255 area 2
R11 :
interface GigabitEthernet0/0
ip address 172.16.1.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.16.99.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 172.16.2.0 0.0.0.255 area 2
network 172.16.3.0 0.0.0.255 area 2
network 172.16.1.0 0.0.0.255 area 2
network 172.16.99.0 0.0.0.255 area 2
R12 :
interface GigabitEthernet0/0
ip address 172.16.2.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.16.99.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 172.16.1.0 0.0.0.255 area 2
network 172.16.3.0 0.0.0.255 area 2
network 172.16.99.0 0.0.0.255 area 2
network 172.16.2.0 0.0.0.255 area 2
R13 :
interface GigabitEthernet0/0
ip address 172.16.3.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.16.99.3 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 172.16.1.0 0.0.0.255 area 2
network 172.16.2.0 0.0.0.255 area 2
network 172.16.99.0 0.0.0.255 area 2
network 172.16.3.0 0.0.0.255 area 2
Here is the output from show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.99.3 1 FULL/DROTHER 00:00:32 192.168.99.3 GigabitEthernet0/0
192.168.99.2 1 FULL/BDR 00:00:32 192.168.99.2 GigabitEthernet0/0
192.168.99.1 1 FULL/DROTHER 00:00:32 192.168.99.1 GigabitEthernet0/0
172.16.99.1 1 FULL/DROTHER 00:00:32 172.16.99.1 GigabitEthernet0/1
172.16.99.2 1 FULL/DROTHER 00:00:32 172.16.99.2 GigabitEthernet0/1
172.16.99.3 1 FULL/BDR 00:00:32 172.16.99.3 GigabitEthernet0/1
And here is the output from show ip ospf database
OSPF Router with ID (192.168.99.4) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
192.168.99.4 192.168.99.4 12 0x80000002 0x000ad9 1
Summary Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
172.16.99.0 192.168.99.4 3 0x80000001 0x00ec80
Router Link States (Area 2)
Link ID ADV Router Age Seq# Checksum Link count
192.168.99.4 192.168.99.4 12 0x80000001 0x00bad6 1
Summary Net Link States (Area 2)
Link ID ADV Router Age Seq# Checksum
192.168.99.0 192.168.99.4 8 0x80000001 0x00c0ff
What am I missing here?
Thanks in advance.
network 0.0.0.0 255.255.255.255 area <area>
. Why deal with figuring wildcard masks and separate network statements? Also, the routing table for the ABR would be something for us to see.