close
Top Panel
Top Panel
Top Panel
DMVPN config PDF Print E-mail
Written by Alexei Spirin   
Saturday, 02 February 2008 18:33
IOS config: DMVPN hub configuration
crypto isakmp policy 10
encr aes
authentication pre-share
group 2
crypto isakmp key PleaseChangeMe! address 0.0.0.0 0.0.0.0
!
crypto ipsec transform-set ts1 esp-aes esp-sha-hmac
mode transport
!
crypto ipsec profile prf1
set transform-set ts1
!
interface Tunnel0
description DMVPN Cloud
ip address 10.1.1.1 255.255.255.0
no ip redirects
ip tcp adjust-mss 1400
ip nhrp map multicast dynamic
ip nhrp network-id 1
ip nhrp holdtime 300
ip nhrp authentication cisco
ip ospf network broadcast
ip ospf cost 10
ip ospf hello-interval 3
ip ospf dead-interval 10
ip ospf priority 200
tunnel source FastEthernet0/0
tunnel mode gre multipoint
tunnel key 100
tunnel protection ipsec profile prf1
!
interface FastEthernet0/0
description Internet/WAN Connection
ip address 192.0.2.1 255.255.255.0
!
router ospf 1
log-adjacency-changes
passive-interface default
no passive-interface Tunnel0
network 10.1.1.0 0.0.0.255 area 0

IOS config: DMVPN spoke configuration
crypto isakmp policy 10
encr aes
authentication pre-share
group 2
crypto isakmp key PleaseChangeMe! address 0.0.0.0 0.0.0.0
!
crypto ipsec transform-set ts1 esp-aes esp-sha-hmac
mode transport
!
crypto ipsec profile prf1
set transform-set ts1
!
interface Tunnel0
description DMVPN Cloud
ip address 10.1.1.2 255.255.255.0
no ip redirects
ip nhrp map 10.1.1.1 192.0.2.1 !hub tunnel ip, hub physical ip
ip nhrp map multicast 192.0.2.1 !hub physical ip
ip nhrp nhs 10.1.1.1 !hub tunnel ip
ip nhrp network-id 1
ip nhrp holdtime 300
ip nhrp authentication cisco
ip tcp adjust-mss 1400
ip ospf network broadcast
ip ospf cost 10
ip ospf hello-interval 3
ip ospf dead-interval 10
ip ospf priority 0
tunnel source FastEthernet0/0
tunnel mode gre multipoint
tunnel key 100
tunnel protection ipsec profile prf1
!
interface FastEthernet0/0
description Internet/WAN Connection
ip address 192.0.2.2 255.255.255.0
!
router ospf 1
log-adjacency-changes
passive-interface default
no passive-interface Tunnel0
network 10.1.1.0 0.0.0.255 area 0
Links: Cisco IOS Software Releases 12.2T
Last Updated on Monday, 11 July 2011 09:19