topologi dan konfigurasi yang digunakan sama dengan yang sebelumnya.
TOPOLOGI
hapus dulu konfigurasi virtual linknya.
konfigurasi GRE tunnelnya
R1(config)#int tun1
R1(config-if)#ip add 102.102.102.1 255.255.255.0
R1(config-if)#tunnel source 12.12.12.1
R1(config-if)#tunnel destination 12.12.12.2
R1(config-if)#router os 1
R1(config-router)#network 102.102.102.1 0.0.0.0 area 0
R2(config)#int tun 1
R2(config-if)#ip add 102.102.102.2 255.255.255.0
R2(config-if)#tunnel source 12.12.12.2
R2(config-if)#tunnel destination 12.12.12.1
R2(config-if)#router os 2
R2(config-router)#network 102.102.102.2 0.0.0.0 area 0
cek routing tabel nya lagi
R1(config-router)#do sh ip route
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
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, 00:10:58, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/11175] via 102.102.102.2, 00:01:12, Tunnel1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
network area 2 sudah masuk kedalam routing tabel
R2(config)#int tun2
R2(config-if)#ip add 203.203.203.2 255.255.255.0
R2(config-if)#tunnel source 23.23.23.2
R2(config-if)#tunnel destination 23.23.23.3
R2(config)#router os 2
R2(config-router)#network 203.203.203.2 0.0.0.0 area 0
R3(config)#int tun 1
R3(config-if)#ip add 203.203.203.3 255.255.255.0
R3(config-if)#tunnel source 23.23.23.3
R3(config-if)#tunnel destination 23.23.23.2
R3(config)#router os 3
R3(config-router)#network 203.203.203.3 0.0.0.0 area 0
R1(config-router)#do sh ip route
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:03:42, 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, 00:18:07, 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:01:27, Tunnel1
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/11175] via 102.102.102.2, 00:08:21, Tunnel1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2(config-router)#do show ip route
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
C 203.203.203.0/24 is directly connected, Tunnel2
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11112] via 102.102.102.1, 00:09:02, Tunnel1
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/11112] via 203.203.203.3, 00:02:08, Tunnel2
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, Serial0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2(config-router)#
R3(config-router)#do sh ip route
Gateway of last resort is not set
102.0.0.0/24 is subnetted, 1 subnets
O 102.102.102.0 [110/22222] via 203.203.203.2, 00:02:40, Tunnel1
C 203.203.203.0/24 is directly connected, Tunnel1
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/22223] via 203.203.203.2, 00:02:40, Tunnel1
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/11112] via 203.203.203.2, 00:02:40, Tunnel1
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, Serial0/0
12.0.0.0/24 is subnetted, 1 subnets
O IA 12.12.12.0 [110/11121] via 203.203.203.2, 00:02:40, Tunnel1
R3(config-router)#