1. Di Hub tidak perlu dikonfigurasi ip nhrp map
2. Di Spoke menggunakan perintah ip nhrp nhs
3. Di Spoke tetap dikonfigurasi static mapping ke HUB
Untuk lebih jelasnya, kita langsung coba saja...
1.
Topologi
LAB
2.
Metode
LAB
- Masih melanjutkan LAB sebelumnya, hapus dulu interface tunnel1 di semua router
- Konfigurasikan dynamic mapping, gunakan perintah ip nhrp nhs pada SPOKE untuk request ke HUB
3. Verifikasi :
Ø Pastikan type DMVPNnya dynamic, gunakan perintah show ip nhrp / show dmvpn
4. Konfigurasi
Hapus interface tunnel 1 de semua router
R1-3#
no interface tunnel 1
R1-HUB
#interface Tunnel1
#ip address 192.168.100.1
255.255.255.0
#ip nhrp network-id 111
#tunnel source 14.14.14.1
#tunnel mode gre multipoint
(tidak ada perintah ip nhrp map karena akan otomatis
muncul)
R2-SPOKE1
#interface Tunnel1
#ip address 192.168.100.2
255.255.255.0
#ip nhrp map 192.168.100.1
14.14.14.1
#ip nhrp network-id 111
#ip
nhrp nhs 192.168.100.1
#ip nhrp cache non-authoritative
#tunnel source 24.24.24.2
#tunnel destination 14.14.14.1
(Perintah ip nhrp nhs digunakan untuk menspesifikasikan next-hop server bagi spoke)
(Perintah ip nhrp nhs digunakan untuk menspesifikasikan next-hop server bagi spoke)
R3-SPOKE2
#interface Tunnel1
#ip address 192.168.100.3
255.255.255.0
#ip nhrp map 192.168.100.1
14.14.14.1
#ip nhrp network-id 111
#ip
nhrp nhs 192.168.100.1
#tunnel source 34.34.34.3
#tunnel destination 14.14.14.1
___________________________________________________________________________
___________________________________________________________________________
Verifikasi :
R1-HUB#show
dmvpn
Legend: Attrb --> S - Static,
D - Dynamic, I - Incompletea
N - NATed, L - Local, X - No Socket
# Ent --> Number of NHRP entries
with same NBMA peer
Tunnel1, Type:Hub, NHRP Peers:2,
# Ent
Peer NBMA Addr Peer Tunnel Add State
UpDn Tm Attrb
----- --------------- --------------- -----
-------- -----
1
24.24.24.2 192.168.100.2 UP
never D
1
34.34.34.3 192.168.100.3 UP
never D
R1-HUB#show
ip nhrp
192.168.100.2/32 via
192.168.100.2, Tunnel1 created 00:18:45, expire 01:41:14
Type: dynamic, Flags: unique
registered
NBMA address: 24.24.24.2
192.168.100.3/32 via
192.168.100.3, Tunnel1 created 00:17:42, expire 01:42:17
Type: dynamic, Flags: unique registered
NBMA address: 34.34.34.3
R1-HUB#show
ip nhrp br
Target Via
NBMA Mode Intfc
Claimed
192.168.100.2/32 192.168.100.2 24.24.24.2 dynamic Tu1
< >
192.168.100.3/32 192.168.100.3 34.34.34.3 dynamic Tu1
< >
Sampe disini saja gan,, simple kan ??
Sampe disini saja gan,, simple kan ??
0 komentar:
Posting Komentar