DYNAMIC MAPPING WITH OSPF ( PHASE 3 ) - DMVPN #10 ( CNNP )
DMVPN #10 :
DYNAMIC MAPPING WITH OSPF ( PHASE 3 )
Required :
- Laptop
- VMware
- EVE NG
Lab ini sama dengan Lab sebelumnya tetapi bedanya kita hanya perlu mengonfig EIGRP setelah Dynamic Mapping Phase 3 telah di konfigurasi. Apa itu OSPF ? OSPF ( Open Shortest Path First ) adalah Protocol Dynamic fungsinya untuk menjaga dan mengatur perubahan pada router, yang hanya bisa membuat perubahan hanya pada area itu saja,OSPF menggunakan feature Link State routing protocol untuk mengetahui topologi dari network sehingga memperkecil kesalahan dalam melakukan routing
R1 :
Router(config)#int e0/0
Router(config-if)#ip address 30.30.30.1 255.255.255.0
Router(config-if)#no sh
R2 :
Router(config)#int e0/0
Router(config-if)#ip address 30.30.30.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#int e0/1
Router(config-if)#ip address 10.10.10.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#int e0/2
Router(config-if)#ip address 20.20.20.1 255.255.255.0
Router(config-if)#no sh
R3 :
Router(config)#int e0/0
Router(config-if)#ip address 10.10.10.2 255.255.255.0
Router(config-if)#no sh
R4 :
Router(config)#int e0/0
Router(config-if)#ip address 20.20.20.2 255.255.255.0
Router(config-if)#no sh
Setelah itu Tambahkan Interface Loopback pada HUB, Spoke 1 dan 2 :
R1 :
Router(config)#int lo1
Router(config-if)#ip address 1.1.1.1 255.255.255.255
R3 :
Router(config)#int lo1
Router(config-if)#ip address 3.3.3.3 255.255.255.255
R4 :
Router(config)#int lo1
Router(config-if)#ip address 4.4.4.4 255.255.255.255
Setelah menambahkan IP Address, saatnya menambahkan Default Route untuk Connectivity pada HUB,Spoke 1 dan 2 :
R1 :
Router(config)#ip route 0.0.0.0 0.0.0.0 30.30.30.2
R3 :
Router(config)#ip route 0.0.0.0 0.0.0.0 10.10.10.1
R4 :
Router(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.1
R1 :
Router(config)#int tun0
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#tunnel mode gre multipoint
Router(config-if)#tunnel source 10.10.10.1
Router(config-if)#ip nhrp network-id 1
Router(config-if)#ip nhrp authentication IDN
Router(config-if)#ip nhrp map multicast dynamic
Router(config-if)#tunnel source 30.30.30.1
R3 :
Router(config)#int tun0
Router(config-if)#ip address 192.168.20.2 255.255.255.0
Router(config-if)#tunnel source 10.10.10.2
Router(config-if)#ip nhrp authentication IDN
Router(config-if)#ip nhrp map 192.168.20.1 30.30.30.1
Router(config-if)#ip nhrp nhs 192.168.20.1
Router(config-if)#ip nhrp map multicast 30.30.30.1
R4 :
Router(config)#int tun0
Router(config-if)#ip add 192.168.20.3 255.255.255.0
Router(config-if)#tunnel source 20.20.20.2
Router(config-if)#ip nhrp network-id 1
Router(config-if)#ip nhrp authentication IDN
Router(config-if)#ip nhrp map 192.168.20.1 30.30.30.1
Router(config-if)#ip nhrp nhs 192.168.20.1
Router(config-if)#ip nhrp map multicast 30.30.30.1
Untuk mengubah Dynamic Mapping menjadi Phase 2, kita harus menambahkan Konfigurasi tunnel mode gre multipoint bukan pada HUB tetapi pada Spoke 1 dan 2 :
R3 :
Router(config-if)#ip nhrp redirect= Mengaktifkan Indication Traffic Redirect jika Traffic kita Menggunakan jaringan NHRP
R3 :
Router(config)#int tun0=Masuk ke Interface Tunnel
Router(config-if)#ip nhrp shortcut=Mengaktifkan Shortcut Switching NHRP pada Interface.
Setelah menyetting Dynamic Mapping Phase 3, langsung saja mengonfig OSPF :
Router(config-router)#network 1.1.1.1 0.0.0.0 area 0
Router(config-router)#network 192.168.20.0 0.0.0.255 area 0
Router(config-router)#no network 2.2.2.2 0.0.0.0 area 0
Router(config-router)#network 3.3.3.3 0.0.0.0 area 0
Router(config-router)#
Router(config-router)#no network 3.3.3.3 0.0.0.0 area 0
Router(config-router)#network 4.4.4.4 0.0.0.0 area 0
Setelah menyetting Routing OSPF , Karena kita menggunakan Routing jadi kita harus menambahkan Konfigurasi ini pada Interface tunnel kita :
R1 :
Router(config-router)#int tun0= Masuk ke Interface Tunnel
Router(config-if)#ip ospf network broadcast= Tambahkan ini untuk enable OSPF pada Tunnel
Lakukan Hal yang sama Kepada Spoke 1 dan 2 :
R3 :
Router(config-router)#int tun0
Router(config-if)#ip ospf network broadcast
R4 :
Router(config-router)#int tun0Router(config-if)#ip ospf network broadcast
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is 30.30.30.2 to network 0.0.0.0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/1001] via 192.168.10.2, 00:00:50, Tunnel0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/1001] via 192.168.10.3, 00:00:02, Tunnel0
Router(config-if)#do ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Router(config-if)#do ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Router(config-if)#
Komentar
Posting Komentar