cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
762
Views
0
Helpful
3
Replies

ospf redistribute connected subnets does not include some connected network

sding2006
Level 1
Level 1

I had a non-backbone/non-stub area, with loopback address 192.168.253.27. the redistributed connected subnets does not include the VLAN1 network, but include the lo0. sh int vlan 1 showed that vlan 1 is up, line protocol is up. There should be a Route Link State and Type-5 AS External Link States for the vlan 1 as the lo0.Why the VLAN 1 network is not even in the ospf database? Any help is appreciated.

router ospf 100

router-id 192.168.253.27

log-adjacency-change

redistribute connected metric-type 1 subnets

network 192.168.249.96 0.0.0.7 area 192.168.253.27

vlan100

ip address 192.168.249.97 255.255.255.248

vlan 1

ip 10.1.240.65 255.255.255.248

when I do sh ip ospf database self-originate

test#sh ip ospf database self-originate

OSPF Router with ID (192.168.253.27) (Process ID 100)

Router Link States (Area 192.168.253.27)

Link ID ADV Router Age Seq# Checksum Link count

192.168.253.27 192.168.253.27 1076 0x80000067 0x00D417 1

Net Link States (Area 192.168.253.27 )

Link ID ADV Router Age Seq# Checksum

192.168.249.97 192.168.253.27 1076 0x8000000E 0x007E36

Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag

192.168.253.27 192.168.253.27 1577 0x80000005 0x002D47 0

test#sh ip ospf database self-originate

OSPF Router with ID (192.168.253.27) (Process ID 100)

Router Link States (Area 192.168.253.27)

Link ID ADV Router Age Seq# Checksum Link count

192.168.253.27 192.168.253.27 1082 0x80000067 0x00D417 1

Net Link States (Area 192.168.253.27)

Link ID ADV Router Age Seq# Checksum

192.168.249.97 192.168.253.27 1082 0x8000000E 0x007E36

Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag

192.168.253.27 192.168.253.27 1582 0x80000005 0x002D47 0

test#sh int vlan 1

Vlan1 is up, line protocol is up

Hardware is EtherSVI, address is 000c.864a.4f00 (bia 000c.864a.4f00)

Internet address is 10.1.240.65/29

MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation ARPA, loopback not set

Keepalive not supported

ARP type: ARPA, ARP Timeout 04:00:00

Last input 03:16:50, output 00:01:57, output hang never

Last clearing of "show interface" counters never

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: fifo

test#sh ip ospf 100

Routing Process "ospf 100" with ID 192.168.253.27

Start time: 1w0d, Time elapsed: 1d22h

Supports only single TOS(TOS0) routes

Supports opaque LSA

Supports Link-local Signaling (LLS)

It is an autonomous system boundary router

Redistributing External Routes from,

connected, includes subnets in redistribution

static with metric mapped to 10000, includes subnets in redistribution

Router is not originating router-LSAs with maximum metric

Initial SPF schedule delay 5000 msecs

test#sh ip route connected

192.168.0.0/16 is variably subnetted, 367 subnets, 9 masks

C 192.168.249.96/29 is directly connected, Vlan100

C 192.168.253.27/32 is directly connected, Loopback0

10.0.0.0/8 is variably subnetted, 52 subnets, 6 masks

C 10.1.240.64/29 is directly connected, Vlan1

I had FWSM in the test switch. It's using VLAN 1 when booted into the maintenance partition. I am not sure whether this has anything to do with the vlan 1 redistribution.

sincerely,

ding

3 Replies 3

Ding,

The switch should certainly generate a type 5 LSA for everyone of those connected networks that's being redistributed into OSPF. I'm not too familiar with FWSM functionality to give you a definite answer as to whether that's the cause. Can you try removing the FWSM and check.

HTH

Sundar

Hi Sundar,

Thanks for the quick reply.

I tried your suggestion. shutdown vlan 1. no shutdown vlan 1. By magic, everything is working. Beside that, I put network 10.1.240.64 0.0.0.7 area 192.168.253.27 before shutdown vlan 1, 10.1.240.64 is type 5 LSA redistributed to area 0. After that, I took the network statement out, shutdown/no shutdown vlan 1. Everything is working as expected.

Have a nice day.

ding

Glad to hear it works now :-)

Weird. Look for IOS bug.

HTH

Sundar

Review Cisco Networking products for a $25 gift card