Distribute-list & OSPF LSA 3

From: want2bccie@gmail.com
Date: Fri Jun 08 2007 - 10:00:35 ART


Hi GS,

Below is my ospf topology

                  Lo 3(3.3.3.3/32)__
                                    \ ___Lo 2(2.2.2.2/32)
                   +----+ +----+ /
Lo 1(1.1.1.1/32)--| R1 | | R2 |--X
                  +----+ +----+ \___Lo 4(4.4.4.4/32)
                     |fa0/0 fa0/0|
                     | |
                     |--172.16.1.0/30---|

My config:

-----------R1------------------------
interface FastEthernet1/0
 ip address 172.16.1.1 255.255.255.0
!
interface Loopback1
 ip address 1.1.1.1 255.255.255.255
!
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 1
 network 172.16.1.1 0.0.0.0 area 0
 distribute-list prefix BLOCK in
!
ip prefix-list BLOCK seq deny 2.2.2.2/32
ip prefix-list BLOCK seq deny 3.3.3.3/32
ip prefix-list BLOCK seq permit 0.0.0.0/0 le 32

--------------R2-----------------------
interface FastEthernet1/0
 ip address 172.16.1.2 255.255.255.0
!
interface Loopback2
 ip address 2.2.2.2 255.255.255.255
!
interface Loopback3
 ip address 3.3.3.3 255.255.255.255
!
interface Loopback4
 ip address 4.4.4.4 255.255.255.255
!
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 2
 network 3.3.3.3 0.0.0.0 area 0
 network 4.4.4.4 0.0.0.0 area 4
 network 172.16.1.2 0.0.0.0 area 0
---------------------------------------
R1#show ip ospf database

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

                Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 951 0x800000A5 0x8F6F 1
2.2.2.2 2.2.2.2 947 0x80000030 0x7ECF 2

                Net Link States (Area 0)

Link ID ADV Router Age Seq# Checksum
172.16.1.1 1.1.1.1 954 0x80000001 0x6DFD

                Summary Net Link States (Area 0)

Link ID ADV Router Age Seq# Checksum
1.1.1.1 1.1.1.1 1172 0x80000033 0xE21F
2.2.2.2 2.2.2.2 945 0x80000049 0x6A79
4.4.4.4 2.2.2.2 948 0x80000001 0x9E85

                Router Link States (Area 1)

Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 1184 0x80000001 0xD351 1

                Summary Net Link States (Area 1)

Link ID ADV Router Age Seq# Checksum
3.3.3.3 1.1.1.1 946 0x80000001 0x4FD2
4.4.4.4 1.1.1.1 946 0x80000001 0x21FC
172.16.1.0 1.1.1.1 950 0x80000003 0x3B34
------------------------------------------------------------

As per above config, on R1 OSPF learned routes should not installed in its routing table but those routes still be in database and advertise to its neighbors. But in this case R1 is not getting type-3 LSA's for 2.2.2.2 network into ospf AREA 1.
If above database output is correct, then can someone clear why R1 won't get LSA3 for 2.2.2.2.

Regards,
Naresh



This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:47 ART