Skip to content

Instantly share code, notes, and snippets.

@KasperJak
Last active July 5, 2016 07:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KasperJak/bf641b904617b52809046463728525f4 to your computer and use it in GitHub Desktop.
Save KasperJak/bf641b904617b52809046463728525f4 to your computer and use it in GitHub Desktop.
Spoke2 - DMVPN OSPF
hostname spoke2
!
interface e2/1
description ISP3-R1
ip address 100.0.0.18 255.255.255.252
no shut
!
ip route 0.0.0.0 0.0.0.0 100.0.0.17
!
interface tunnel1
ip address 10.172.0.20 255.255.255.0
ip nhrp authentication lab1
ip nhrp map 10.172.0.1 100.0.0.2
ip nhrp map multicast 100.0.0.2
ip nhrp nhs 10.172.0.1
ip nhrp network-id 1
ip nhrp holdtime 300
ip nhrp shortcut
tunnel mode gre multipoint
tunnel source ethernet2/0
ip ospf network broadcast
ip ospf priority 0
!
interface loopback0
ip address 172.16.2.1 255.255.255.255
!
router ospf 1
passive-interface default
no passive-interface tunnel1
no passive-interface loopback0
network 10.172.0.0 0.0.0.255 area 0
network 172.16.2.0 0.0.0.255 area 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment