Showing posts with label Dual Hub. Show all posts
Showing posts with label Dual Hub. Show all posts

Thursday, November 28, 2024

Dual Hub Dual DMVPN Setup: Comparing Old vs New Cisco IOS Versions


Dual Hub Dual DMVPN Explained – Modern vs Legacy Cisco IOS

๐ŸŒ Dual Hub Dual DMVPN – A Practical, Story-Driven Guide

Imagine your enterprise network as a transportation system.

You don’t want just one highway (hub)… because if it fails, everything stops.

So you build two highways, and every branch office (spoke) can use both.

That’s exactly what Dual Hub Dual DMVPN does.


๐Ÿ“š Table of Contents


๐Ÿ—️ Architecture Explained

  • Two hubs → Hub1 & Hub2
  • Two DMVPN clouds
  • Each spoke connects to both hubs
๐Ÿ‘‰ Result: Redundancy + Load balancing + Better control

๐Ÿ“ Routing Logic (Made Simple)

Routing decisions depend on metrics like delay, bandwidth, or cost.

Example (EIGRP Metric)

\[ Metric = \frac{10^7}{Bandwidth} + Delay \]

Lower metric = preferred path.

๐Ÿ‘‰ If Hub1 has lower delay → traffic goes to Hub1 ๐Ÿ‘‰ If Hub1 fails → Hub2 takes over

Failover Logic

\[ Primary < Secondary \]

When primary path fails:

\[ Traffic \rightarrow Backup\ Hub \]


⚠️ Challenges in Older Cisco IOS

  • High CPU usage (GRE + IPsec)
  • Manual routing tweaks
  • Complex configs
  • Limited security features
Old CLI Example
interface Tunnel0
 ip nhrp map ...
 ip nhrp nhs ...

interface Tunnel1
ip nhrp map ...
ip nhrp nhs ... 

๐Ÿš€ Cisco IOS 15.9(3)M10+ Improvements

  • Better encryption performance ๐Ÿ”
  • Faster convergence ⚡
  • Smarter routing (EIGRP stub)
  • Simplified QoS ๐ŸŽฏ
  • IKEv2 support
๐Ÿ‘‰ Less manual work, more automation

⚙️ Configuration Example (Modern)

interface Tunnel0 ip address 10.0.0.1 255.255.255.0 tunnel source Gig0/0 tunnel mode gre multipoint ip nhrp network-id 1 ip nhrp nhs 10.0.0.254

๐Ÿ–ฅ️ CLI Output

Show DMVPN Status
Router#show dmvpn

Tunnel0, Type:Hub, NHRP Peers: 10
Tunnel1, Type:Hub, NHRP Peers: 10 

๐Ÿ› ️ Best Practices

  • Use different ISPs for hubs ๐ŸŒ
  • Set clear routing metrics
  • Monitor traffic regularly
  • Test failover scenarios

๐Ÿ’ก Key Takeaways

  • Dual DMVPN improves reliability
  • Modern IOS simplifies configuration
  • Math helps control routing behavior
  • Failover becomes seamless

๐ŸŽฏ Final Thought

Dual Hub Dual DMVPN isn’t just redundancy—it’s intelligent networking.

And with modern IOS, it’s finally practical to deploy at scale.

Tuesday, November 26, 2024

Setting Up Dual Hub DMVPNs: Redundancy Made Easy with Modern Cisco IOS


Dual Hub DMVPN Configuration Guide (Cisco IOS 15.9)

Dual Hub DMVPN: Complete Configuration & Optimization Guide

๐Ÿ“– Introduction

Dynamic Multipoint Virtual Private Network (DMVPN) is a scalable VPN solution that allows secure communication over public networks. When combined with a dual hub architecture, it provides high availability and redundancy.

๐Ÿ’ก Core Concept: DMVPN uses GRE + IPsec + NHRP to dynamically build tunnels.

๐Ÿš€ Why Dual Hub DMVPN?

  • High Availability
  • Fault Tolerance
  • Load Sharing
  • Reduced Downtime
๐Ÿ”ฝ Expand: Real-world Scenario

If Hub1 fails, spokes automatically reroute traffic to Hub2, ensuring uninterrupted service.

๐Ÿงฉ Deployment Models

1. Single DMVPN Cloud

  • One tunnel interface
  • Two hubs (dual NHS)
  • Simple design

2. Dual DMVPN Cloud

  • Two tunnel interfaces
  • Separate routing domains
  • Advanced traffic control

๐Ÿ“ก Single DMVPN Configuration

In this model, all routers belong to the same DMVPN cloud.

Configuration Code

interface Tunnel0
 ip address 192.168.1.2 255.255.255.0
 tunnel source GigabitEthernet0/0
 tunnel mode gre multipoint
 tunnel key 100
 tunnel protection ipsec profile IPSEC_PROFILE
 ip nhrp map 192.168.1.1 HUB1_PUBLIC_IP
 ip nhrp map 192.168.1.3 HUB2_PUBLIC_IP
 ip nhrp network-id 1
 ip nhrp nhs 192.168.1.1
 ip nhrp nhs 192.168.1.3
๐Ÿ”ฝ Expand Explanation

NHRP maps logical tunnel IPs to physical IPs. Dual NHS ensures redundancy.

๐Ÿ” Dual DMVPN Configuration

Each spoke connects to two hubs using separate tunnels.

interface Tunnel0
 ip address 192.168.1.2 255.255.255.0
 tunnel source GigabitEthernet0/0
 tunnel key 100
 ip nhrp nhs 192.168.1.1

interface Tunnel1
 ip address 192.168.2.2 255.255.255.0
 tunnel source GigabitEthernet0/1
 tunnel key 200
 ip nhrp nhs 192.168.2.1
๐Ÿ”ฝ Expand Benefits

Provides granular control and allows traffic engineering using routing metrics.

๐Ÿ“Š Routing Protocols

EIGRP

  • Easy metric manipulation
  • Fast convergence

OSPF

  • More complex
  • Requires tuning
๐Ÿ”ฝ Expand Deep Comparison

EIGRP allows delay/bandwidth tuning, while OSPF uses cost-based routing requiring more manual adjustments.

⚙️ Cisco IOS 15.9 Enhancements

  • Improved NHRP convergence
  • DMVPN Phase 3 optimization
  • Enhanced IPsec encryption
  • Advanced logging tools
๐Ÿ’ก Insight: Phase 3 enables direct spoke-to-spoke communication.

๐Ÿ’ป CLI Output Examples

Show DMVPN Status

show dmvpn

Legend: Attrb --> S - Static, D - Dynamic
Tunnel0, NHRP Details
Type:Spoke, NHRP Peers:2
Peer NBMA Addr: 10.1.1.1
Peer NBMA Addr: 10.1.1.2

Debug Output

*Mar 1 12:00:01: NHRP: Resolution request sent
*Mar 1 12:00:02: NHRP: Resolution reply received
๐Ÿ”ฝ Expand CLI Explanation

Shows tunnel peers and NHRP resolution process.

๐ŸŽฏ Key Takeaways

  • Dual Hub DMVPN ensures redundancy
  • Single cloud = simple, less control
  • Dual cloud = complex, more control
  • EIGRP preferred for flexibility
  • IOS 15.9 improves performance significantly

๐Ÿ“˜ Conclusion

Dual hub DMVPN designs provide scalable, resilient, and efficient networking solutions. Choosing between single and dual DMVPN depends on complexity vs control requirements.

Featured Post

How HMT Watches Lost the Time: A Deep Dive into Disruptive Innovation Blindness in Indian Manufacturing

The Rise and Fall of HMT Watches: A Story of Brand Dominance and Disruptive Innovation Blindness The Rise and Fal...

Popular Posts