04-09-2015 04:00 AM - edited 03-05-2019 01:12 AM
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
Solved! Go to Solution.
04-09-2015 04:49 AM
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
04-09-2015 04:04 AM
Hello,
Spoke router missing tunnel vrf under gre interface.
Regards,
Minh
04-09-2015 04:18 AM
Does that matter for OSPF? The tunnel is up and traffic passes over it (ping either end through it).
04-09-2015 04:21 AM
Without this command, ospf will only use interfaces on global routing instance.
04-09-2015 04:30 AM
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.
04-09-2015 04:42 AM
On the spoke, Can you post output of show ip ospf 1 int brief
04-09-2015 04:47 AM
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
04-09-2015 05:42 AM
Please run below command on both end router.
ip ospf network broadcast
04-09-2015 04:49 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide