Lompat ke konten Lompat ke sidebar Lompat ke footer

Lab 1. OSPF - GRE Tunnel

Malam semua all reader, kalai ini sy menulis kembali mengenai bagaimana melewatkan paket dari sebuah router yang tidak terhubung secra langsung ke area 0 (backbone)?, itulah topiknya. 

Secara umum fungsi dari Virtual Link dan gre tunnel adalah sama yt untuk mengatasi masalah dimana reguler area tidak terhubung secara langsung dengan backbone area. Perbedaan pertama adalah dimana GRE tunnel jg bisa dimanfaatkan dua area 0 (backbone) yang terpisah.
Perbedaan selanjutnya adalah jika menggunakan virtual link diahanya bisa melwatkan ospf, sedangkan gre tunnel bisa melewatkan paket dan ospf. Maka setiap paket OSPF maupun paket data akan ditamabahkan sebiah header. Tambahan ini akan membuat adanya overload jaringan.

Perbedaan terahir adalah, gre tunnel bisa berjalan walaupun transit area berupa stub area ataupun NSSA.

Konfigurasi R1

R1(config)#no interface tunnel 0
R1(config)#
R1(config)#
R1(config)#interface tunnel 1
R1(config-if)#ip address 101.101.101.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)#ex
R1(config)#
R1(config)#router ospf 1
R1(config-router)#network 101.101.101.1 0.0.0.0 area 0
R1(config-router)#exi
R1(config)#

Konfigurasi R2

R2(config)#interface tunnel 1
R2(config-if)#ip address 101.101.101.2 255.255.255.0
R2(config-if)#tunnel destination 12.12.12.1
R2(config-if)#tunnel source 12.12.12.2
R2(config-if)#ex
R2(config)#
R2(config)#router ospf 2
R2(config-router)#network 101.101.101.2 0.0.0.0 area 0
R2(config-router)#exi
R2(config)#
R2(config)#interface tunnel 2
R2(config-if)#ip address 202.202.202.2 255.255.255.0
R2(config-if)#tunnel destination 23.23.23.3
R2(config-if)#tunnel source 23.23.23.2
R2(config-if)#ex


Konfigurasi R3

R3(config)#interface tunnel 2
R3(config-if)#ip address 202.202.202.3 255.255.255.0
R3(config-if)#tunnel destination 23.23.23.2
R3(config-if)#tunnel source 23.23.23.3
R3(config-if)#ex
R3(config)#
R3(config)#router ospf 3
R3(config-router)#network 202.202.202.3 0.0.0.0 area 0
R3(config-router)#exi

Lakukan verifkasi dimasing-masing ruter.

Router R1
R1(config-router)#do sh ip ro
O    202.202.202.0/24 [110/22222] via 101.101.101.2, 00:04:34, 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, 02:24:57, FastEthernet0/0
     3.0.0.0/32 is subnetted, 1 subnets
O IA    3.3.3.3 [110/22223] via 101.101.101.2, 00:04:34, Tunnel1
     101.0.0.0/24 is subnetted, 1 subnets
C       101.101.101.0 is directly connected, Tunnel1
     23.0.0.0/24 is subnetted, 1 subnets
O IA    23.23.23.0 [110/11121] via 101.101.101.2, 00:04:37, Tunnel1
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, FastEthernet0/0
R1(config-router)#




Router R2
R2#show ip ro
C    202.202.202.0/24 is directly connected, Tunnel2
     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/11112] via 101.101.101.1, 00:03:11, 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 202.202.202.3, 00:03:21, Tunnel2
     101.0.0.0/24 is subnetted, 1 subnets
C       101.101.101.0 is directly connected, Tunnel1
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/1
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, FastEthernet0/0
R2#


Router R3
R3#sh ip ro
C    202.202.202.0/24 is directly connected, Tunnel2
     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/22223] via 202.202.202.2, 00:00:58, Tunnel2
     2.0.0.0/32 is subnetted, 1 subnets
O IA    2.2.2.2 [110/11112] via 202.202.202.2, 01:12:43, Tunnel2
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     101.0.0.0/24 is subnetted, 1 subnets
O       101.101.101.0 [110/22222] via 202.202.202.2, 00:00:58, Tunnel2
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/1
     12.0.0.0/24 is subnetted, 1 subnets
O IA    12.12.12.0 [110/11121] via 202.202.202.2, 01:12:46, Tunnel2
R3#


Success...!!!

Posting Komentar untuk "Lab 1. OSPF - GRE Tunnel"