cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
710
Views
0
Helpful
4
Replies

Redistribute BGP into OSPF, it is in the database but not in the route table

Hi

I have done this before.

I have a VRF call ITAIntern.

Configure BGP between two Cisco 3560, and behind this two 3560, there is another 3560.

So the setup

C3560r1 < OSPF > C3560r2 < BGP > C3560r3 <OSPF> C3560r4

But in the first OSPF, the BGP learn routes dosen't redistribute, there do in the last one.

Or it actely redistribute because i can see the network, in OSPF Database on both C3560r1 and C3560r2.

But it's not in the route table on C3560r1

Commands run on C3560r1:

show ip ospf 64514 database

OSPF Router with ID (192.168.31.49) (Process ID 64514)

Router Link States (Area 1)

Link ID ADV Router Age Seq# Checksum Link count
192.168.31.49 192.168.31.49 1657 0x80000017 0x00CB67 1
192.168.31.54 192.168.31.54 1656 0x80000006 0x00E351 1

Net Link States (Area 1)

Link ID ADV Router Age Seq# Checksum
192.168.31.49 192.168.31.49 1657 0x80000003 0x00BA98

Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag
192.168.0.0 192.168.31.49 664 0x80000006 0x001F59 0
192.168.25.0 192.168.31.54 1656 0x8000000A 0x004871 3489711385
192.168.31.32 192.168.31.54 1656 0x80000010 0x002B06 0
192.168.31.64 192.168.31.49 664 0x80000007 0x001A05 0
192.168.31.80 192.168.31.54 1656 0x80000008 0x008CE7 3489711385

(192.168.25.0 and 192.168.31.80 is learn by BGP)

sh ip route vrf ITAIntern

Routing Table: ITAIntern
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

S 192.168.0.0/24 [1/0] via 192.168.31.70
192.168.31.0/24 is variably subnetted, 5 subnets, 2 masks
O E2 192.168.31.32/29 [110/20] via 192.168.31.54, 00:28:17, Vlan21
C 192.168.31.48/29 is directly connected, Vlan21
L 192.168.31.49/32 is directly connected, Vlan21
C 192.168.31.64/29 is directly connected, Vlan2000
L 192.168.31.65/32 is directly connected, Vlan2000

As you can see the 192.168.25.0 and 192.168.31.80 route is not put into the route table.

Is there a debuging mode, where i can see why this happen't?

Or could anyone help me?

4 Replies 4

Bibin Paul
Level 1
Level 1

Hi Kenneth,

Can you please check the output of " show ip ospf database external 192.168.25.0" and "show ip ospf database external 192.168.31.80"

The output will help you to get the answer. Check for the forwarding address and advertising router ID

#sh ip ospf database external 192.168.31.80

OSPF Router with ID (192.168.31.65) (Process ID 64414)

OSPF Router with ID (XXX.XXX.XXX.X) (Process ID XXXXX)

OSPF Router with ID (192.168.31.49) (Process ID 64514)

Type-5 AS External Link States

LS age: 1735
Options: (No TOS-capability, DC)
LS Type: AS External Link
Link State ID: 192.168.31.80 (External Network Number )
Advertising Router: 192.168.31.54
LS Seq Number: 8000001A
Checksum: 0x68F9
Length: 36
Network Mask: /28
Metric Type: 2 (Larger than any link state path)
MTID: 0
Metric: 1
Forward Address: 0.0.0.0
External Route Tag: 3489711385

#sh ip ospf database external 192.168.25.0

OSPF Router with ID (192.168.31.65) (Process ID 64414)

OSPF Router with ID (XXX.XXX.XXX.X) (Process ID XXXXX)

OSPF Router with ID (192.168.31.49) (Process ID 64514)

Type-5 AS External Link States

LS age: 1908
Options: (No TOS-capability, DC)
LS Type: AS External Link
Link State ID: 192.168.25.0 (External Network Number )
Advertising Router: 192.168.31.54
LS Seq Number: 8000001C
Checksum: 0x2483
Length: 36
Network Mask: /24
Metric Type: 2 (Larger than any link state path)
MTID: 0
Metric: 1
Forward Address: 0.0.0.0
External Route Tag: 3489711385

I show that there where to 192.168.31.XX addresss here. And i have make a typo fault :).

Thx for you help.

I have two OSPF ID, with almost the same ID.

After deleting the wrong one, everything was working.

Hi Kenneth,

Please rate if you are happy with the answer