1. Topologi Lab
2. Metode Lab
- Masih menggunakan topologi sebelumnya
- Hapus konfigurasi virtual link
- Koonfigurasikan GRE Tunnel
- Pastikan tabel routing semua router lengkap
- Pastikan semua ip bisa diakses oleh semua router
4. Konfigurasi
IDN-R1(config)#router os 1
IDN-R1(config-router)#no area 1 virtual-link 2.2.2.2
IDN-R2(config)#router os 1
IDN-R2(config-router)#no area 1 virtual-link 1.1.1.1
IDN-R2(config-router)#no area 2 virtual-link 3.3.3.3
IDN-R3(config)#router os 1
IDN-R3(config-router)#no area 2 virtual-link 2.2.2.2
Sekarang mulai konfig GRE Tunnelnya
IDN-R1(config)#int tun 1
IDN-R1(config-if)#ip add 102.102.102.1 255.255.255.0
IDN-R1(config-if)#tunnel source 12.12.12.1
IDN-R1(config-if)#tunnel destination 12.12.12.2
IDN-R1(config-if)#router os 1
IDN-R1(config-router)#net 102.102.102.1 0.0.0.0 a 0
IDN-R2(config)#int tun1
IDN-R2(config-if)#ip add 102.102.102.2 255.255.255.0
IDN-R2(config-if)#tunnel source 12.12.12.2
IDN-R2(config-if)#tunnel destination 12.12.12.1
IDN-R2(config-if)#router os 1
IDN-R2(config-router)#net 102.102.102.2 0.0.0.0 a 0
IDN-R2(config-router)#int tun2
IDN-R2(config-if)#ip add 203.203.203.2 255.255.255.0
IDN-R2(config-if)#tunnel source 23.23.23.2
IDN-R2(config-if)#tunnel destination 23.23.23.3
IDN-R2(config-if)#router os 1
IDN-R2(config-router)#net 203.203.203.2 0.0.0.0 a 0
IDN-R3(config)#int tun2
IDN-R3(config-if)#ip add 203.203.203.3 255.255.255.0
IDN-R3(config-if)#tunnel source 23.23.23.3
IDN-R3(config-if)#tunnel destination 23.23.23.2
IDN-R3(config-if)#router os 1
IDN-R3(config-router)#net 203.203.203.3 0.0.0.0 a 0
Oke, sekarang kita cek ip route lagi di IDN-R1
IDN-R1(config-router)#do sh ip route | b Gat
Gateway of last resort is not set
102.0.0.0/24 is subnetted, 1 subnets
C 102.102.102.0 is directly connected, Tunnel1
O 203.203.203.0/24 [110/22222] via 102.102.102.2, 00:02:03, Tunnel1
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 12.12.12.2, 03:45:00, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/22223] via 102.102.102.2, 00:00:01, Tunnel1
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/11121] via 102.102.102.2, 00:03:52, Tunnel1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
Lakukan ping
IDN-R1(config)#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 = 52/101/140 ms
Sukses gan!!
0 komentar:
Posting Komentar