Skip to content

Instantly share code, notes, and snippets.

@KasperJak
Last active July 5, 2016 12:15
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/4310ddab089482b4d6da3277cef3e15a to your computer and use it in GitHub Desktop.
Save KasperJak/4310ddab089482b4d6da3277cef3e15a to your computer and use it in GitHub Desktop.
dc1-r1 - DMVPN OSPF
hostname dc1-r1
!
interface e1/0
ip address 10.0.0.1 255.255.255.252
description link-dc1-r2
no shut
!
interface e1/1
ip address 10.0.0.5 255.255.255.252
description link-dc1-r3
no shut
!
int lo0
ip address 192.168.1.1 255.255.255.255
!
router ospf 1
router-id 1.1.1.1
passive-interface default
no passive-interface e1/0
no passive-interface e1/1
no passive-interface lo0
no passive-interface tun1
network 10.0.0.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
network 10.172.0.0 0.0.0.255 area 0
network 192.168.0.0 0.0.0.255 area 0
!
interface e2/0
description isp1-r1
ip address 100.0.0.2 255.255.255.252
no shut
!
router bgp 65010
bgp router-id 192.168.1.1
neighbor 192.168.2.1 remote-as 65010
neighbor 192.168.2.1 update-source loopback0
!
ip route 0.0.0.0 0.0.0.0 100.0.0.1
!
interface tunnel1
ip address 10.172.0.1 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
tunnel source e2/0
tunnel mode gre multipoint
ip ospf network broadcast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment