Sunday, December 6, 2020

BELAJAR OSPF ( OSPF Virtual Link )

 OSPF Virtual Link






Assalamualaikum temen - temen, kembali lagi di blog saya... dan terimaksih telah berkunjung ke blog saya. Di blog kali ini kita sudah masuk ke materi baru yaaaa, Yap kalian pasti sudah tau apa yang akan kita bahas hari ini... yaitu OSPF Virtual Link


Secara default jika ada beberapa area dalam jaringan ospf, jika ingin saling berkomunikasi... area - area tersebut harus langsung terhubung ke area 0 ( Backbone). Tapi bagaimana jika area - area tersebut tidak langsung terhubung ke area 0? apakah tetep gk bisa saling berkomunikasi??


Jawabannya adalah bisaaaa, karena disini kita akan menggunakan fungsi virtual link, sebenarnya ada cara lain selain menggunakan virtual link... yaitu menggunakan tunnel...Tapi pada materi kali ini saya hanya membahas menggunakan cara virtual link


Tanpa berlama - lama, langsung aja cuss ke konfigurasinyaaa


TOPOLOGI  = 





R1

R1(config)#ho R1-TKJB

R1-TKJB(config)#

R1-TKJB(config)#int lo 0

R1-TKJB(config-if)#ip add 1.1.1.1 255.255.255.255

R1-TKJB(config-if)#int f0/0

R1-TKJB(config-if)#ip add 12.12.12.1 255.255.255.0

R1-TKJB(config-if)#exit

R1-TKJB(config)#

R1-TKJB(config)#router ospf 1

R1-TKJB(config-router)#rou

R1-TKJB(config-router)#router-id 1.1.1.1

R1-TKJB(config-router)#net 1.1.1.1 0.0.0.0 area 0

R1-TKJB(config-router)#net 12.12.12.1 0.0.0.0 area 1

R1-TKJB(config-router)#exit

R1-TKJB(config)#


R2

R2(config)#ho R2-TKJB

R2-TKJB(config)#

R2-TKJB(config)#int lo 0

R2-TKJB(config-if)#ip add 2.2.2.2 255.255.255.255

R2-TKJB(config-if)#no sh

R2-TKJB(config-if)#exit

R2-TKJB(config)#

R2-TKJB(config)#int fa0/0

R2-TKJB(config-if)#ip add 12.12.12.2 255.255.255.0

R2-TKJB(config-if)#no sh

R2-TKJB(config-if)#int g1/0

R2-TKJB(config-if)#ip add 23.23.23.2 255.255.255.0

R2-TKJB(config-if)#no sh

R2-TKJB(config-if)#exit

R2-TKJB(config)#router ospf 2

R2-TKJB(config-router)#router-id 2.2.2.2

R2-TKJB(config-router)#net 2.2.2.2 0.0.0.0 area 1

R2-TKJB(config-router)#net 12.12.12.2 0.0.0.0 area 1

R2-TKJB(config-router)#net 23.23.23.2 0.0.0.0 area 2

R2-TKJB(config-router)#exit

R2-TKJB(config)#


R3

R3(config)#ho R3-TKJB

R3-TKJB(config)#int lo 0

R3-TKJB(config-if)#ip add 3.3.3.3 255.255.255.255

R3-TKJB(config-if)#exit

R3-TKJB(config)#

R3-TKJB(config)#int g1/0

R3-TKJB(config-if)#ip add 23.23.23.3 255.255.255.0

R3-TKJB(config-if)#no sh

R3-TKJB(config-if)#exit

R3-TKJB(config)#

R3-TKJB(config)#rou

R3-TKJB(config)#router ospf 3

R3-TKJB(config-router)#router-id 3.3.3.3

R3-TKJB(config-router)#net 3.3.3.3 0.0.0.0 area 3

R3-TKJB(config-router)#net 23.23.23.3 0.0.0.0 area 2

R3-TKJB(config-router)#exit

R3-TKJB(config)#


R1

R1-TKJB(config)#router ospf 1

R1-TKJB(config-router)#area 1 virt

R1-TKJB(config-router)#area 1 virtual-link 2.2.2.2

R1-TKJB(config-router)#exit

R1-TKJB(config)#


R2

R2-TKJB(config)#router ospf 2

R2-TKJB(config-router)#area 1 virt

R2-TKJB(config-router)#area 1 virtual-link 1.1.1.1

R2-TKJB(config-router)#exit

R2-TKJB(config)#

R2-TKJB(config)#router ospf 2

R2-TKJB(config-router)#area 2 virtual-link 3.3.3.3

R2-TKJB(config-router)#exit


R3

R3-TKJB(config)#router ospf 3

R3-TKJB(config-router)#area 2 virtual-link 2.2.2.2

R3-TKJB(config-router)#exit

R3-TKJB(config)#


Kalo udah, sekarang kita CEK!!!!


R1

R1-TKJB(config)#do sh ip route 

 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/2] via 12.12.12.2, 01:37:40, FastEthernet0/0

 3.0.0.0/32 is subnetted, 1 subnets

O IA 3.3.3.3 [110/3] via 12.12.12.2, 00:00:16, FastEthernet0/0

 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 12.12.12.0/24 is directly connected, FastEthernet0/0

L 12.12.12.1/32 is directly connected, FastEthernet0/0

 23.0.0.0/24 is subnetted, 1 subnets

O IA 23.23.23.0 [110/2] via 12.12.12.2, 00:12:09, FastEthernet0/0


R2

R2(config)#do sh ip ro

 1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/2] via 12.12.12.1, 00:08:11, FastEthernet0/0

 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/2] via 23.23.23.3, 00:03:41, GigabitEthernet1/0


R3

R3(config)#do sh ip route

 1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/3] via 23.23.23.2, 00:04:15, GigabitEthernet1/0

 2.0.0.0/32 is subnetted, 1 subnets

O IA 2.2.2.2 [110/2] via 23.23.23.2, 00:04:15, GigabitEthernet1/0

 3.0.0.0/32 is subnetted, 1 subnets

C 3.3.3.3 is directly connected, Loopback0

 12.0.0.0/24 is subnetted, 1 subnets

O IA 12.12.12.0 [110/2] via 23.23.23.2, 00:04:51, GigabitEthernet1/0



R3

R3-TKJB(config)#do sh ip ospf virtual-link

Virtual Link OSPF_VL0 to router 2.2.2.2 is up

 Run as demand circuit

 DoNotAge LSA allowed.

 Transit area 2, via interface GigabitEthernet1/0

Topology-MTID Cost Disabled Shutdown Topology Name

 0 1 no no Base

 Transmit Delay is 1 sec, State POINT_TO_POINT,

 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

 Hello due in 00:00:08

 Adjacency State FULL (Hello suppressed)

 Index 1/2, retransmission queue length 0, number of retransmission 0

 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)

 Last retransmission scan length is 0, maximum is 0

 Last retransmission scan time is 0 msec, maximum is 0 msec


R2

R2-TKJB(config)#do sh ip ospf virtual-link

Virtual Link OSPF_VL1 to router 3.3.3.3 is up

Run as demand circuit

 DoNotAge LSA allowed.

 Transit area 2, via interface GigabitEthernet1/0

Topology-MTID Cost Disabled Shutdown Topology Name

 0 1 no no Base

 Transmit Delay is 1 sec, State POINT_TO_POINT,

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

 Hello due in 00:00:01

 Adjacency State FULL (Hello suppressed)

 Index 2/4, retransmission queue length 0, number of retransmission 0

First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)

 Last retransmission scan length is 0, maximum is 0

 Last retransmission scan time is 0 msec, maximum is 0 msec

Virtual Link OSPF_VL0 to router 1.1.1.1 is up

 Run as demand circuit

 DoNotAge LSA allowed.

Transit area 1, via interface FastEthernet0/0

Topology-MTID Cost Disabled Shutdown Topology Name

 0 1 no no Base

 Transmit Delay is 1 sec, State POINT_TO_POINT,

 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

 Hello due in 00:00:09

 Adjacency State FULL (Hello suppressed)

 Index 1/3, retransmission queue length 0, number of retransmission 1

 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)

 Last retransmission scan length is 1, maximum is 1

 Last retransmission scan time is 0 msec, maximum is 0 msec


R1

R1-TKJB(config)#do sh ip ospf virtual-link

Virtual Link OSPF_VL0 to router 2.2.2.2 is up

 Run as demand circuit

DoNotAge LSA allowed.

 Transit area 1, via interface FastEthernet0/0

Topology-MTID Cost Disabled Shutdown Topology Name

 0 1 no no Base

 Transmit Delay is 1 sec, State POINT_TO_POINT,

 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

 Hello due in 00:00:02

 Adjacency State FULL (Hello suppressed)

 Index 1/2, retransmission queue length 0, number of retransmission 0

 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)

 Last retransmission scan length is 0, maximum is 0

 Last retransmission scan time is 0 msec, maximum is 0 msec




DONE :)






TERIMAKASIH

WASSALAMUALAIKUM WR.WB    







0 comments:

Post a Comment