cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6188
Views
0
Helpful
8
Replies

ospf adjacency not forming over gre tunnel

codflanglers
Level 1
Level 1

Trying to get ospf to form an adjacency over a gre tunnel but it's not working. On the hub it's showing as state INIT, but nothing on the spoke.

Spoke debug ip ospf adj, packet and events shows nothing. Hub doesn't show much either. Any ideas?

 

HUB

interface Tunnelxxxx
 bandwidth 1000000
 vrf forwarding xxxx
 ip address x.x.x.x 255.255.255.248
 no ip redirects
 ip mtu 1400
 ip nhrp map x.x.x.x x.x.x.x
 ip nhrp network-id xxxx
 ip tcp adjust-mss 1360
 delay 10
 tunnel source <interface>
 tunnel mode gre multipoint
 tunnel key xxxx
 tunnel path-mtu-discovery
 tunnel vrf xxxx
 tunnel bandwidth transmit 100000
 tunnel bandwidth receive 100000
end

 

router ospf xxxx vrf xxxx

 router-id x.x.x.x
 passive-interface default
 no passive-interface <interface>
 no passive-interface <interface>
 network x.x.x.x 0.0.0.15 area 0

 

SPOKE

interface Tunnelxxxx
 bandwidth 11131
 vrf forwarding xxxx
 ip address xxxx 255.255.255.248
 no ip proxy-arp
 ip mtu 1400
 ip nhrp map xxxx xxxx
 ip nhrp network-id xxxx
 ip tcp adjust-mss 1360
 delay 10
 tunnel source <interface>
 tunnel destination x.x.x.x
 tunnel key xxxx
 tunnel path-mtu-discovery
end
 

router ospf 1 vrf xxxx
 router-id xxxx
 passive-interface default
 no passive-interface <interface>
 no passive-interface <interface>
 no passive-interface <interface>
 network x.x.x.x 0.0.0.3 area 0
 network x.x.x.x 0.0.0.15 area 0
 network x.x.x.x 0.0.0.15 area 0

1 Accepted Solution

Accepted Solutions

Hello,

you need a command  for both hub and spoke to operate ospf properly on interface tunnel 0:

 ip ospf network broadcast

http://www.cisco.com/c/en/us/support/docs/security-vpn/ipsec-negotiation-ike-protocols/43068-dmvpn-gre-ospf.html

HTH

Kazim Abbas

 

View solution in original post

8 Replies 8

minhda
Cisco Employee
Cisco Employee

Hello,

Spoke router missing tunnel vrf under gre interface.

 

Regards,

Minh

Does that matter for OSPF? The tunnel is up and traffic passes over it (ping either end through it).

Without this command, ospf will only use interfaces on global routing instance.

That vrf is a different vrf id than the one already mentioned on the tunnel under vrf forwarding. OSPF already has the vrf mentioned on it.

On the spoke, Can you post output of show ip ospf 1 int brief

hostname#sh ip ospf 1 in bri
Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C
Tuxxxx      1     0               x.x.x.x/29     8     P2P   0/0
Tuxxxx       1     0               x.x.x.x/29     8     P2P   0/0
Vl1          1     0               x.x.x.x/30     1     BDR   1/1
 

Please run below command on both end router.

ip ospf network broadcast

 

Hello,

you need a command  for both hub and spoke to operate ospf properly on interface tunnel 0:

 ip ospf network broadcast

http://www.cisco.com/c/en/us/support/docs/security-vpn/ipsec-negotiation-ike-protocols/43068-dmvpn-gre-ospf.html

HTH

Kazim Abbas

 

Review Cisco Networking products for a $25 gift card