Implement DMVPN
Implement DMVPN
Firewalls
Site-to-Site VPN Overview
Site-to-Site VPN (Virtual Private Network) is a technology that connects networks across
different locations over the internet or a private network. It enables secure communication
between remote networks using tunneling and encryption protocols.
Key Benefits:
Key Protocols:
• IPsec: The most widely used protocol suite for encrypting data in VPNs.
• GRE: Generic Routing Encapsulation for IP packet tunneling.
• IKEv2: Internet Key Exchange version 2 for secure key management.
DMVPN (Dynamic Multipoint Virtual Private Network) is a Cisco solution that simplifies
VPN deployments for sites requiring dynamic, scalable connectivity. It is ideal for hub-and-
spoke topologies where branches need direct communication.
Components of DMVPN:
1. Hub Router: The central router that manages connections between spokes.
2. Spoke Routers: Remote routers that establish dynamic tunnels to the hub and other
spokes.
3. NHRP (Next Hop Resolution Protocol): Resolves private IP addresses to public IPs
dynamically for spoke-to-spoke communication.
4. IPsec: Ensures security and encryption over the tunnels.
DMVPN Phases:
1. Phase 1 (Hub-and-Spoke):
o All traffic flows through the hub router.
o Static IPsec tunnels are created between hub and spokes.
2. Phase 2 (Spoke-to-Spoke Communication):
o Dynamic tunnels can be established between spoke routers.
o The hub acts as a control plane to provide the spoke IP addresses.
3. Phase 3 (Optimized Spoke-to-Spoke Communication):
o Traffic starts at the hub but can be rerouted dynamically between spokes.
o Supports routing protocols like EIGRP, OSPF, and BGP.
1. Enable NHRP:
2. interface tunnel 0
3. ip address 10.0.0.1 255.255.255.0
4. tunnel source <Hub-Interface>
5. tunnel mode gre multipoint
ip nhrp network-id 1