Phase 2 DMVPN
HUB
HUB(config)#int tunnel0
HUB(config-if)#ip add 192.168.10.1 25
HUB(config-if)#ip add 192.168.10.1 255.255.255.0
HUB(config-if)#tunnel mode gre multipoint
HUB(config-if)#tunnel source 12.12.12.1
HUB(config-if)#ip nhrp network-id 1
HUB(config-if)#ip nhrp authentication IDN
HUB(config-if)#ip nhrp map multicast dynamic
SPOKE 1
Spoke-1(config)#int tun0
Spoke-1(config-if)#ip add 192.168.10.2 255.255.255.0
Spoke-1(config-if)#tunnel mode gre multipoint
Spoke-1(config-if)#tunnel source 23.23.23.1
Spoke-1(config-if)#ip nhrp network-id 1
Spoke-1(config-if)#ip nhrp authentication IDN
Spoke-1(config-if)#ip nhrp map 192.168.10.1 12.12.12.1 Spoke-
1(config-if)#ip nhrp nhs 192.168.10.1
Spoke-1(config-if)#ip nhrp map multicast 12.12.12.1
SPOKE 2
Spoke-2(config)#int tun0
Spoke-2(config-if)#ip add 192.168.10.3 255.255.255.0
Spoke-2(config-if)#tunnel mode gre multipoint
Spoke-2(config-if)#tunnel source 24.24.24.1
Spoke-2(config-if)#ip nhrp network-id 1
Spoke-2(config-if)#ip nhrp authentication IDN
Spoke-2(config-if)#ip nhrp map 192.168.10.1 12.12.12.1
Spoke-2(config-if)#ip nhrp nhs 192.168.10.1
Spoke-2(config-if)#ip nhrp map multicast 12.12.12.1
Kita verifikasi
HUB
HUB#show 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: Tunnel0, IPv4 NHRP Details
Type:Hub, NHRP Peers:2,
# Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb
----- --------------- --------------- ----- -------- -----
1 23.23.23.1...........................192.168.10.2 UP 00:26:05 D
1 24.24.24.1 192.168.10.3 UP 00:23:50 D
Verifikasi NHRP
HUB
HUB#show ip nhrp
192.168.10.2/32 via 192.168.10.2
Tunnel0 created 00:26:09, expire 01:33:50
Type: dynamic, Flags: unique registered used
NBMA address: 23.23.23.1
192.168.10.3/32 via 192.168.10.3
Tunnel0 created 00:23:54, expire 01:36:05
Type: dynamic, Flags: unique registered used
NBMA address: 24.24.24.1
HUB#show ip nhrp brief
Target Via NBMA Mode Intfc Claimed
192.168.10.2/32 192.168.10.2..................... 23.23.23.1 dynamic Tu0 < >
192.168.10.3/32 192.168.10.3 24.24.24.1 dynamic Tu0 < >
Tidak ada komentar:
Posting Komentar