RE: OSPF Router ID not advertised, causing problems

From: Geatti (geatti@xxxxxxxx)
Date: Thu Sep 07 2000 - 13:00:00 GMT-3


   
Ryan, please post configs for all 3 routers so we have a little more info.
If you are advertising a default from R9 why are you also using a default
from R10? Is this intentional for scenario purposes? The RID does not need
to be in the routing process, it's just used as an ID never as an address
for things like a next hop. Post your configs and we'll figure it out, there
is some other issue here.
Looks to me like you have overlapping address space that may be causing some
problems.

Marco

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Ryan Hoffman
Sent: Thursday, September 07, 2000 10:00 AM
To: 'gs'
Subject: OSPF Router ID not advertised, causing problems

What are the consequences of not advertising your RID network in ospf? See
the following cfg below. r9 is providing an EX2 default route. r11 sees
it, r10 doesn't. It's in the database, however, ready to use.

     e0 e1 e0 e0
2514 ----- 4000 ----- 2514
 r9 r11 r10

- all one ospf process

r10
===
ip subnet-zero
!
interface Loopback0
 ip address 192.168.5.1 255.255.255.0
 no logging event subif-link-status
!
interface Ethernet0
 ip address 192.168.2.2 255.255.255.128
 no logging event subif-link-status
!
router ospf 1
 network 192.168.2.0 0.0.0.127 area 0
 default-information originate always metric 10
!
ip classless

r10#sh ip route

Gateway of last resort is not set

     192.168.0.0/25 is subnetted, 2 subnets
O 192.168.0.0 [110/20] via 192.168.2.1, 00:01:55, Ethernet0
O IA 192.168.0.128 [110/21] via 192.168.2.1, 00:01:55, Ethernet0
O IA 192.168.1.0/24 [110/21] via 192.168.2.1, 00:01:55, Ethernet0
     192.168.2.0/25 is subnetted, 1 subnets
C 192.168.2.0 is directly connected, Ethernet0
C 192.168.5.0/24 is directly connected, Loopback0
r10#sh ip ospf data external

       OSPF Router with ID (192.168.5.1) (Process ID 1)

                Type-5 AS External Link States

  LS age: 149
  Options: (No TOS-capability, DC)
  LS Type: AS External Link
  Link State ID: 0.0.0.0 (External Network Number )
  Advertising Router: 192.168.0.129
  LS Seq Number: 80000035
  Checksum: 0xD9B7
  Length: 36
  Network Mask: /0
        Metric Type: 2 (Larger than any link state path)
        TOS: 0
        Metric: 2
        Forward Address: 0.0.0.0
        External Route Tag: 2

  LS age: 164
  Options: (No TOS-capability, DC)
  LS Type: AS External Link
  Link State ID: 0.0.0.0 (External Network Number )
  Advertising Router: 192.168.5.1
  LS Seq Number: 80000001
  Checksum: 0x60D9
  Length: 36
  Network Mask: /0
        Metric Type: 2 (Larger than any link state path)
        TOS: 0
        Metric: 10
        Forward Address: 0.0.0.0
        External Route Tag: 1

Advertising 192.168.5.1 out fixes this. If I add 'network 192.168.5.1
0.0.0.0 area 0' to r10's 'router ospf 1' I get the following...

r11#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
       U - per-user static route, o - ODR

Gateway of last resort is 192.168.0.1 to network 0.0.0.0

     192.168.0.0/25 is subnetted, 2 subnets
C 192.168.0.0 is directly connected, Ethernet1
O IA 192.168.0.128 [110/11] via 192.168.0.1, 00:00:11, Ethernet1
O IA 192.168.1.0/24 [110/11] via 192.168.0.1, 00:00:11, Ethernet1
     192.168.2.0/25 is subnetted, 1 subnets
C 192.168.2.0 is directly connected, Ethernet0
     192.168.5.0/32 is subnetted, 1 subnets
O 192.168.5.1 [110/11] via 192.168.2.2, 00:00:11, Ethernet0
O*E2 0.0.0.0/0 [110/2] via 192.168.0.1, 00:00:11, Ethernet1

r10#sh ip ospf database ex

       OSPF Router with ID (192.168.5.1) (Process ID 1)

                Type-5 AS External Link States

  LS age: 852
  Options: (No TOS-capability, DC)
  LS Type: AS External Link
  Link State ID: 0.0.0.0 (External Network Number )
  Advertising Router: 192.168.0.129
  LS Seq Number: 80000035
  Checksum: 0xD9B7
  Length: 36
  Network Mask: /0
        Metric Type: 2 (Larger than any link state path)
        TOS: 0
        Metric: 2
        Forward Address: 0.0.0.0
        External Route Tag: 2

  LS age: 867
  Options: (No TOS-capability, DC)
  LS Type: AS External Link
  Link State ID: 0.0.0.0 (External Network Number )
  Advertising Router: 192.168.5.1
  LS Seq Number: 80000001
  Checksum: 0x60D9
  Length: 36
  Network Mask: /0
        Metric Type: 2 (Larger than any link state path)
        TOS: 0
        Metric: 10
        Forward Address: 0.0.0.0
        External Route Tag: 1

Why does r10 behave this way, and only for this EX2 route?



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:53 GMT-3