DMVPN cisco: example configuration Hub/Spoke router
28.02 2024 | by massimilianoArchitettura di esempio R1 HUB DMVPN Config interface eth0/1 description to-DMVPN ip address 10.10.10.1 255.255.255.0 interface tunnel1 description tunnel-DMVPN ip […]
Architettura di esempio
R1 HUB DMVPN Config
- interfaccia fisica
interface eth0/1
description to-DMVPN
ip address 10.10.10.1 255.255.255.0
- interfaccia tunnel
interface tunnel1
description tunnel-DMVPN
ip address 10.10.123.1 255.255.255.0
ip nhrp map multicast dynamic
ip nhrp network-id 10
ip ospf network broadcast
ip ospf priority 255
tunnel source ethernet0/1
tunnel mode gre multipoint
- router ospf
router ospf 1
router-id <lo0>
network 1.1.1.1 0.0.0.0 area 0.0.0.0
network 10.10.123.0 0.0.0.255 area 0.0.0.0
R2 SPOKE DMVPN Config
- interfaccia fisica
interface eth0/1
description to-DMVPN
ip address 10.10.10.2 255.255.255.0
- interfaccia tunnel
interface tunnel1
description tunnel-DMVPN
ip address 10.10.123.2 255.255.255.0
ip nhrp map 10.10.123.1 10.10.10.1
ip nhrp map multicast 10.10.10.1
ip nhrp network-id 10
ip nhrp nhs 10.10.123.1
ip ospf network broadcast
ip ospf priority 0
tunnel source ethernet0/1
tunnel mode gre multipoint
- router ospf
router ospf 1
router-id <lo0>
network 2.2.2.2 0.0.0.0 area 0.0.0.0
network 10.10.123.0 0.0.0.255 area 0.0.0.0
R3 SPOKE DMVPN Config
- interfaccia fisica
interface eth0/1
description to-DMVPN
ip address 10.10.10.3 255.255.255.0
- interfaccia tunnel
interface tunnel1
description tunnel-DMVPN
ip address 10.10.123.3 255.255.255.0
ip nhrp map 10.10.123.1 10.10.10.1
ip nhrp map multicast 10.10.10.1
ip nhrp network-id 10
ip nhrp nhs 10.10.123.1
ip ospf network broadcast
ip ospf priority 0
tunnel source ethernet0/1
tunnel mode gre multipoint
- router ospf
router ospf 1
router-id <lo0>
network 3.3.3.3 0.0.0.0 area 0.0.0.0
network 10.10.123.0 0.0.0.255 area 0.0.0.0