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

OSPF Route not in routing table but is in database, why?

Gerard Roy
Level 2
Level 2

I have 2 pairs of Cisco ASR's they both do IPsec with GRE and have HSRP enabled. Here is each sides config below. I need network 7.7.7.16/28 to be advertised from one side to the other but it does not show up. The relevant pieces are below

HMK-WIN-ASR1006-P# 

router ospf 1
passive-interface GigabitEthernet0/0/0
network 7.7.7.16 0.0.0.15 area 0 <----------The route I need to show up on other side (never does)
network 10.99.99.0 0.0.0.3 area 0

HMK-WIN-ASR1006-P#sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
192.168.21.198 0 FULL/ - 00:00:38 10.99.99.2 Tunnel0
156.79.106.9 1 FULL/BDR 00:00:32 7.7.7.22 GigabitEthernet0/0/1

HMK-WIN-ASR1006-P#sh ip route ospf
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
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is 156.79.106.1 to network 0.0.0.0

HMK-WIN-ASR1006-P#sh ip ospf rou

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

Base Topology (MTID 0)

Area BACKBONE(0)

Intra-area Route List
* 7.7.7.16/28, Intra, cost 1, area 0, Connected
via 7.7.7.21, GigabitEthernet0/0/1
* 10.99.99.0/30, Intra, cost 1, area 0, Connected
via 10.99.99.1, Tunnel0
HMK-WIN-ASR1006-P#

interface Tunnel0
description **** Tunnel to x for EIGRP routes ****
bandwidth 100000
ip address 10.99.99.1 255.255.255.252
ip mtu 1350
ip tcp adjust-mss 1310
ip ospf network point-to-point
tunnel source 7.7.7.21
tunnel destination 192.168.21.205
end

----------------------------------------------------------------------------------------------

HMK-ASR1006-HE2#sh run | b

router ospf 1
passive-interface GigabitEthernet0/0/0
network 10.99.99.0 0.0.0.3 area 0

HMK-ASR1006-HE2#sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
10.99.99.1 0 FULL/ - 00:00:36 10.99.99.1 Tunnel0

HMK-ASR1006-HE2#sh ip route ospf
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
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is 162.94.228.161 to network 0.0.0.0

NO ROUTE HERE!!!

HMK-ASR1006-HE2#

HMK-ASR1006-HE2#sh ip ospf rou

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


Base Topology (MTID 0)


Area BACKBONE(0)

Intra-area Route List
* 7.7.7.16/28, Intra, cost 2, area 0
via 10.99.99.1, Tunnel0
* 10.99.99.0/30, Intra, cost 1, area 0, Connected
via 10.99.99.2, Tunnel0
HMK-ASR1006-HE2#

interface Tunnel0
description **** Tunnel to x for EIGRP routes ****
bandwidth 100000
ip address 10.99.99.2 255.255.255.252
ip mtu 1350
ip tcp adjust-mss 1310
ip ospf network point-to-point
tunnel source 192.168.21.205
tunnel destination 7.7.7.21
end

3 Replies 3

Hello Gerard,

how are your tunnel source and destination connected ? It looks like you are advertising the tunnel source in OSPF:

HMK-WIN-ASR1006-P#sh ip ospf rou

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

Base Topology (MTID 0)

Area BACKBONE(0)

Intra-area Route List
* 7.7.7.16/28, Intra, cost 1, area 0, Connected
via 7.7.7.21, GigabitEthernet0/0/1
* 10.99.99.0/30, Intra, cost 1, area 0, Connected
via 10.99.99.1, Tunnel0
HMK-WIN-ASR1006-P#

interface Tunnel0
description **** Tunnel to x for EIGRP routes ****
bandwidth 100000
ip address 10.99.99.1 255.255.255.252
ip mtu 1350
ip tcp adjust-mss 1310
ip ospf network point-to-point
tunnel source 7.7.7.21
tunnel destination 192.168.21.205
end

router ospf 1
passive-interface GigabitEthernet0/0/0
network 7.7.7.16 0.0.0.15 area 0 <----------The route I need to show up on other side (never does)
network 10.99.99.0 0.0.0.3 area 0

Hi George,

I use the Lan IP address of each side as its tunnel source and the Lan IP of the other side as its destination.

On the side with the route I want injected in ospf.

HMK-WIN-ASR1006-P#sh ip int b
GigabitEthernet0/0/0 156.79.x.x (WAN side)
GigabitEthernet0/0/1 7.7.7.21 (LAN side interface)
Tunnel0 10.99.99.1

On the side I want to receive the route.

MK-ASR1006-HE2#sh ip int b
GigabitEthernet0/0/0 162.94.x.x (WAN side)
GigabitEthernet0/0/1 192.168.21.198 (LAN side interface)
Tunnel0 10.99.99.2

Hello Gerard,

post the full configs of both sides. 

Review Cisco Networking products for a $25 gift card