introduction to dmvpn doc+ lab config:
HUB:
............
int f1/0
no sh
ip address 50.50.50.2 255.255.255.252
int g0/0
no sh
ip address 192.168.10.254 255.255.255.0
end
wr
conf t
int tunnel 10
ip address 10.10.10.1 255.255.255.252
tunnel mode gre multipoint
tunnel source f1/0
ip nhrp authentication HITHAM
ip nhrp map multicast dynamic
ip nhrp network-id 1
end
wr
Building configuration...
Hub(config)#ip route 0.0.0.0 0.0.0.0 50.50.50.1
Hub(config)#end
Hub#
Hub#wr
Building configuration...
*Jan 19 10:25:48.679: %SYS-5-CONFIG_I: Configured from console by console
[OK]
Hub#
Hub#
Hub#
Hub#sh dmvpn
Legend: Attrb --> S - Static, D - Dynamic, I - Incomplete
N - NATed, L - Local, X - No Socket
# Ent --> Number of NHRP entries with same NBMA peer
NHS Status: E --> Expecting Replies, R --> Responding, W --> Waiting
UpDn Time --> Up or Down Time for a Tunnel
==========================================================================
Interface: Tunnel10, IPv4 NHRP Details
Type:Hub, NHRP Peers:1,
# Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb
----- --------------- --------------- ----- -------- -----
1 60.60.60.2 10.10.10.2 UP 00:01:29 D
Hub#sh dmvpn
Legend: Attrb --> S - Static, D - Dynamic, I - Incomplete
N - NATed, L - Local, X - No Socket
# Ent --> Number of NHRP entries with same NBMA peer
NHS Status: E --> Expecting Replies, R --> Responding, W --> Waiting
UpDn Time --> Up or Down Time for a Tunnel
==========================================================================
Interface: Tunnel10, IPv4 NHRP Details
Type:Hub, NHRP Peers:1,
# Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb
----- --------------- --------------- ----- -------- -----
1 60.60.60.2 10.10.10.2 UP 00:01:43 D
Hub#sh ip nhrp
10.10.10.2/32 via 10.10.10.2
Tunnel10 created 00:06:47, expire 01:53:12
Type: dynamic, Flags: unique registered used
NBMA address: 60.60.60.2
Hub#sh dmvpn
Legend: Attrb --> S - Static, D - Dynamic, I - Incomplete
N - NATed, L - Local, X - No Socket
# Ent --> Number of NHRP entries with same NBMA peer
NHS Status: E --> Expecting Replies, R --> Responding, W --> Waiting
UpDn Time --> Up or Down Time for a Tunnel
==========================================================================
Interface: Tunnel10, IPv4 NHRP Details
Type:Hub, NHRP Peers:1,
# Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb
----- --------------- --------------- ----- -------- -----
1 60.60.60.2 10.10.10.2 UP 00:08:07 D
router eigrp 100
net 10.10.10.0 0.0.0.3
net 192.168.10.0 0.0.0.255
end
wr
Building configuration...
............................
spoke-1
conf t
int g0/0
no sh
ip address 192.168.20.254 255.255.255.0
int f1/0
no sh
ip address 60.60.60.2 255.255.255.252
end
wr
Spoke-1#CONF T
Enter configuration commands, one per line. End with CNTL/Z.
int tunnel 10
ip address 10.10.10.6 255.255.255.252
ip nhrp authentication HITHAM
ip nhrp map 10.10.10.1 50.50.50.2
ip nhrp map multicast 50.50.50.2
ip nhrp network-id 1
ip nhrp nhs 10.10.10.1
tunnel source f1/0
tunnel destination 50.50.50.2
end
wr
Spoke-1(config)#ip route 0.0.0.0 0.0.0.0 60.60.60.1
Spoke-1(config)#end
Spoke-1#wr
Building configuration...
*Jan 19 10:24:38.787: %SYS-5-CONFIG_I: Configured from console by console
*Jan 19 10:24:38.795: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel10,
changed state to up[OK]
Spoke-1#
router eigrp 100
net 10.10.10.0 0.0.0.3
net 192.168.20.0 0.0.0.255
end
wr
Building configuration...
.............
spoke-2
int g0/0
no sh
ip address 192.168.30.254 255.255.255.0
int f1/0
no sh
ip address 70.70.70.2 255.255.255.252
end
wr
conf t
int tunnel 10
ip address 10.10.10.2 255.255.255.252
ip nhrp authentication HITHAM
ip nhrp map 10.10.10.1 50.50.50.2
ip nhrp map multicast 50.50.50.2
ip nhrp network-id 1
ip nhrp nhs 10.10.10.1
tunnel source f1/0
tunnel destination 50.50.50.2
end
Spoke-2#
Spoke-2#wr
Building configuration...
Spoke-2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Spoke-2(config)#ip route 0.0.0.0 0.0.0.0 70.70.70.1
Spoke-2(config)#
*Jan 19 10:25:13.227: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel10,
changed state to up
Spoke-2(config)#
*Jan 19 10:25:13.295: %NHRP-3-PAKREPLY: Receive Registration Reply packet with
error - unique address registered already(14)
Spoke-2(config)#end
Spoke-2#
Spoke-2#wr
Building configuration...
Spoke-2(config)#
router eigrp 100
net 10.10.10.0 0.0.0.3
net 192.168.30.0 0.0.0.255
no auto-summ
end
..............
ISP:
ISP(config)#int f1/0
ISP(config-if)#no sh
ISP(config-if)#
*Jan 19 09:35:18.819: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to
up
*Jan 19 09:35:19.819: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet1/0, changed state to up
ISP(config-if)#ip address 60.60.60.1 255.255.255.252
ISP(config-if)#int g0/0
ISP(config-if)#no sh
ISP(config-if)#
*Jan 19 09:35:51.271: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state
to up
*Jan 19 09:35:52.271: %LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0, changed state to up
ISP(config-if)#
ISP(config-if)#ip address 70.70.70.2 255.255.255.252
ISP(config-if)#ip address 70.70.70.1 255.255.255.252
ISP(config-if)#int f1/1
ISP(config-if)#no sh
ISP(config-if)#
*Jan 19 09:36:44.907: %LINK-3-UPDOWN: Interface FastEthernet1/1, changed state to
up
*Jan 19 09:36:45.907: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet1/1, changed state to up
ISP(config-if)#ip address 50.50.50.1 255.255.255.252
ISP(config-if)#end
ISP#
ISP#wr
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]
*Jan 19 09:37:21.847: %SYS-5-CONFIG_I: Configured from console by console
[confirm]
Building configuration...
[OK]
ISP#
ISP#
ISP#
ISP#
ISP#
ISP#
ISP#conf t
Enter configuration commands, one per line. End with CNTL/Z.
ISP(config)#ip route 0.0.0.0 0.0.0.0 50.50.50.2
ISP(config)#ip route 0.0.0.0 0.0.0.0 60.60.60.2
ISP(config)#ip route 0.0.0.0 0.0.0.0 70.70.70.2
ISP(config)#end
ISP#
ISP#wr
Building configuration...