Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

OSPF Area

I am having problem in configuring the OSPF. I have four Routers as shown in the diagram.

Duff is adversting the route learned from Area 0 into the Area 1 where it is connected with

Blathers.

Blathers and Duff one interface is in Area 1 and one interface is in Area 0 where they

connecting with Buble and Grwing.


Attached is the configuration of Router

Blathers#show ip os int brief
Interface    PID  Area            IP Address/Mask    Cost  State Nbrs F/C
Fa0          10    0              192.168.3.2/24    1    BDR  1/1
Vl1          10    1              192.168.4.1/24    1    DR    1/1

router ospf 10
log-adjacency-changes
network 192.168.3.0 0.0.0.255 area 0
network 192.168.4.0 0.0.0.255 area 1


Blathers#show ip os database router 192.168.4.2

            OSPF Router with ID (192.168.4.1) (Process ID 10)
Blathers#show ip os database router 192.168.3.1

            OSPF Router with ID (192.168.4.1) (Process ID 10)

                Router Link States (Area 0)

  LS age: 43
  Options: (No TOS-capability, DC)
  LS Type: Router Links
  Link State ID: 192.168.3.1
  Advertising Router: 192.168.3.1
  LS Seq Number: 80000026
  Checksum: 0xE59E
  Length: 48
  Number of Links: 2

    Link connected to: a Stub Network
    (Link ID) Network/subnet number: 172.16.6.0
    (Link Data) Network Mask: 255.255.255.0
      Number of TOS metrics: 0
      TOS 0 Metrics: 1

    Link connected to: a Transit Network
    (Link ID) Designated Router address: 192.168.3.1
    (Link Data) Router Interface address: 192.168.3.1
      Number of TOS metrics: 0
      TOS 0 Metrics: 1


Blathers#show 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

C    192.168.4.0/24 is directly connected, Vlan1
C    192.168.3.0/24 is directly connected, FastEthernet0
==============================================================================================

Duff# show ip os int brief
Interface    PID  Area            IP Address/Mask    Cost  State Nbrs F/C
Fa0/0        10    0              192.168.5.2/24    1    DR    1/1
Fa0/1        10    1              192.168.4.2/24    1    BDR  1/1


uff#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

      192.168.4.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.4.0/24 is directly connected, FastEthernet0/1
L        192.168.4.2/32 is directly connected, FastEthernet0/1
      192.168.5.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.5.0/24 is directly connected, FastEthernet0/0
L        192.168.5.2/32 is directly connected, FastEthernet0/0
Duff#

Duff#show run | b r o
router ospf 10
network 192.168.4.0 0.0.0.255 area 1
network 192.168.5.0 0.0.0.255 area 0

Duff#show ip os database router 192.168.5.1

            OSPF Router with ID (192.168.5.2) (Process ID 10)
Duff#show ip os database router 192.168.5.2

            OSPF Router with ID (192.168.5.2) (Process ID 10)

                Router Link States (Area 0)

  LS age: 1353
  Options: (No TOS-capability, DC)
  LS Type: Router Links
  Link State ID: 192.168.5.2
  Advertising Router: 192.168.5.2
  LS Seq Number: 80000006
  Checksum: 0x665
  Length: 36
  Area Border Router
  Number of Links: 1

    Link connected to: a Transit Network
    (Link ID) Designated Router address: 192.168.5.2
    (Link Data) Router Interface address: 192.168.5.2
      Number of MTID metrics: 0
      TOS 0 Metrics: 1

                Router Link States (Area 1)

  LS age: 1353
  Options: (No TOS-capability, DC)
  LS Type: Router Links
  Link State ID: 192.168.5.2
  Advertising Router: 192.168.5.2
  LS Seq Number: 80000006
  Checksum: 0xE588
  Length: 36
  Area Border Router
  Number of Links: 1

    Link connected to: a Transit Network
    (Link ID) Designated Router address: 192.168.4.1
    (Link Data) Router Interface address: 192.168.4.2
      Number of MTID metrics: 0
      TOS 0 Metrics: 1


Duff#

uff#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

      192.168.4.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.4.0/24 is directly connected, FastEthernet0/1
L        192.168.4.2/32 is directly connected, FastEthernet0/1
      192.168.5.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.5.0/24 is directly connected, FastEthernet0/0
L        192.168.5.2/32 is directly connected, FastEthernet0/0

--------------------------------------------------------------------------------------------------


Bumble#show ip os int brief
Interface    PID  Area            IP Address/Mask    Cost  State Nbrs F/C
Fa0/0.200    10    0              192.168.3.1/24    1    DR    1/1

Bumble#show ip os da
Bumble#show ip os database rou
Bumble#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

      192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.2.0/24 is directly connected, FastEthernet0/1
L        192.168.2.1/32 is directly connected, FastEthernet0/1
      192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.3.0/24 is directly connected, FastEthernet0/0.200
L        192.168.3.1/32 is directly connected, FastEthernet0/0.200
O IA  192.168.4.0/24 [110/2] via 192.168.3.2, 02:39:11, FastEthernet0/0.200
Bumble#show run | b r o
router ospf 10

network 192.168.3.0 0.0.0.255 area 0

Bumble#show ip os database router 192.168.3.1

            OSPF Router with ID (192.168.3.1) (Process ID 10)

                Router Link States (Area 0)

  LS age: 661
  Options: (No TOS-capability, DC)
  LS Type: Router Links
  Link State ID: 192.168.3.1
  Advertising Router: 192.168.3.1
  LS Seq Number: 80000027
  Checksum: 0xB0A6
  Length: 36
  Number of Links: 1

    Link connected to: a Transit Network
    (Link ID) Designated Router address: 192.168.3.1
    (Link Data) Router Interface address: 192.168.3.1
      Number of MTID metrics: 0
      TOS 0 Metrics: 1

Bumble#show ip os ne

Neighbor ID    Pri  State          Dead Time  Address        Interface
192.168.4.1      1  FULL/BDR        00:00:39    192.168.3.2    FastEthernet0/0.200

=======================================================================================


Griwing#show ip os int brief
Interface    PID  Area            IP Address/Mask    Cost  State Nbrs F/C
Fa0/0.101    10    0              192.168.5.1/24    1    BDR  1/1
Griwing#show 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

O IA 192.168.4.0/24 [110/2] via 192.168.5.2, 00:13:19, FastEthernet0/0.101
C    192.168.5.0/24 is directly connected, FastEthernet0/0.101
C    192.168.6.0/24 is directly connected, FastEthernet0/0.102
Griwing#show ip os ne

Neighbor ID    Pri  State          Dead Time  Address        Interface
192.168.5.2      1  FULL/DR        00:00:34    192.168.5.2    FastEthernet0/0.101


Griwing#show ip os database router 192.168.5.1

            OSPF Router with ID (192.168.6.1) (Process ID 10)
Griwing#show ip os database router 192.168.5.2

            OSPF Router with ID (192.168.6.1) (Process ID 10)

                Router Link States (Area 0)

  Routing Bit Set on this LSA
  LS age: 1632
  Options: (No TOS-capability, DC)
  LS Type: Router Links
  Link State ID: 192.168.5.2
  Advertising Router: 192.168.5.2
  LS Seq Number: 80000006
  Checksum: 0x665
  Length: 36
  Area Border Router
  Number of Links: 1

    Link connected to: a Transit Network
    (Link ID) Designated Router address: 192.168.5.2
    (Link Data) Router Interface address: 192.168.5.2
      Number of TOS metrics: 0
      TOS 0 Metrics: 1

         
Griwing#

Griwing#show 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

O IA 192.168.4.0/24 [110/2] via 192.168.5.2, 00:14:29, FastEthernet0/0.101
C    192.168.5.0/24 is directly connected, FastEthernet0/0.101
C    192.168.6.0/24 is directly connected, FastEthernet0/0.102

============================================================================================


Why I am not able to get the routes in Duff and Blatehrs. I am suspecting the virtual link problem.

but My both the routers are having one interface in Area 0 and one interface in Area 1

Then why i m not able to see the routes from the backbone.

Please assist me

5 REPLIES

OSPF Area

Could you do a sho ip ospf neig on the routers?

We have to establish what neighbors each of the routers see?

Also could you explain how these routers are connected to each other?

New Member

OSPF Area

Hi,

below is the output

Duff>en
Duff#show ip os ne

Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.6.1       1   FULL/BDR        00:00:33    192.168.5.1     FastEthernet0/0
192.168.4.1       1   FULL/DR         00:00:36    192.168.4.1     FastEthernet0/1
Duff#

Griwing#show ip os ne

Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.5.2       1   FULL/DR         00:00:39    192.168.5.2     FastEthernet0/0.101
Griwing#

Blathers#show ip os ne

Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.3.1       1   FULL/BDR        00:00:36    192.168.3.1     FastEthernet0
192.168.5.2       1   FULL/BDR        00:00:34    192.168.4.2     Vlan1

Bumble#show ip os ne

Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.4.1       1   FULL/DR         00:00:31    192.168.3.2     FastEthernet0/0.200
Bumble#

ALl the routers are connected through Ethernet using one Switch.

Re: OSPF Area

I think I am missing some information here to help.

Could you make out a diagram of some sort because as it stands I do not see connections between your routers. They have different designated routers and appear not to see the other supposed neighbors.

By the way on the switch are do you have OSPF running?

New Member

OSPF Area

Hi

THis is lab setup and all the routers are connected through a Layer 2 switch.

Balthers-------------------------Area 1---------------------------------------DUFF------------Area 0------------------------GRWING

|

|

|

Area 0

|

|

|

Bumble

Balthers is connected with Bumble (area 0)

DUFF is connected with GRwing   (Area 0)

Both Duff and Balthers are connected with each other through Ethernet in Area 1

No direct communication between Bumble and Grwing.

Re: OSPF Area

(DUFF)----------------------------------(Griwing)

     |

     |

     |

     |

(Blathers)-----------------------------(Bumble)

Is this the way you are currently connectioned?

Looking at it you should have the connection between Duff and Blathers in Area 0 and then Duff and Griwing is Area 1, Blathers and Bumble in Area 1.

The way it is right now you have to build a virtual link between the Area 0's for the routes to be seen in the other Area 0.

273
Views
4
Helpful
5
Replies
CreatePlease to create content