[c-nsp] ospf redistribute not include connected networks

schilling schilling2006 at gmail.com
Thu Jul 5 14:22:23 EDT 2007


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. 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
rsb-s1#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,

schilling


More information about the cisco-nsp mailing list