Skip to content

Instantly share code, notes, and snippets.

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/29414b7254eff8f0ad6fe2e503ca2396 to your computer and use it in GitHub Desktop.
Save KasperJak/29414b7254eff8f0ad6fe2e503ca2396 to your computer and use it in GitHub Desktop.
DMVPN OSPF corrections
hostname dc2-r1
!
interface e1/0
ip address 10.32.0.1 255.255.255.252
description link-dc2-r2
no shut
!
interface e1/1
ip address 10.32.0.5 255.255.255.252
description link-dc2-r3
no shut
!
router ospf 1
router-id 5.5.5.5
passive-interface default
no passive-interface e1/0
no passive-interface e1/1
network 10.32.0.0 0.0.0.255 area 0
network 10.172.0.0 0.0.0.255 area 0
!
interface e2/0
description isp4-r1
ip address 100.0.0.26 255.255.255.252
no shut
!
ip route 100.0.0.0 255.255.255.0 100.0.0.25
!
interface tunnel1
ip address 10.172.0.5 255.255.255.0
ip nhrp authentication lab1
ip nhrp map multicast dynamic
ip nhrp network-id 1
ip nhrp holdtime 300
ip nhrp redirect
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
tunnel source e2/0
tunnel mode gre multipoint
ip ospf network broadcast
_____________________________________________
hostname Spoke1
!
ip route 100.0.0.0 255.255.255.0 100.0.0.33
!
interface tunnel1
ip nhrp map 10.172.0.5 100.0.0.26
ip nhrp map multicast 100.0.0.26
ip nhrp nhs 10.172.0.5
_____________________________________________
hostname Spoke2
!
ip route 100.0.0.0 255.255.255.0 100.0.0.17
!
interface tunnel1
ip nhrp map 10.172.0.5 100.0.0.26
ip nhrp map multicast 100.0.0.26
ip nhrp nhs 10.172.0.5
_____________________________________________
hostname Spoke3
!
ip route 100.0.0.0 255.255.255.0 100.0.0.13
!
interface tunnel1
ip nhrp map 10.172.0.5 100.0.0.26
ip nhrp map multicast 100.0.0.26
ip nhrp nhs 10.172.0.5
_____________________________________________
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment