Konfigurasi Juniper Routing Dynamic (OSPF Backbone area)

Assalamu'alaikum Wr Wb.


Pada kali ini kita akan melanjutkan lab sebelumnya, pembahasan kali ini adalah masih di dalam tema routing lebih tepatnya dynamic routing, pada blog kali ini kita akan membahas tentang OSPF (Open Shortest Path Firs) untuk area karna pembahasan awal kita memakai area backbone atau area 0.

Oke untuk topologi seperti dibawah.

Konfigurasi IP Addressing

R1

Amnesiac (ttyd0)

login: root

--- JUNOS 14.1R1.10 built 2014-06-07 09:37:07 UTC
root@% cli
root> configure
Entering configuration mode
The configuration has been changed but not committed

[edit]
root# set system root-authentication plain-text-password
New password:
Retype new password:

[edit]
root# set system host-name R1

[edit]
root# commit
commit complete

[edit]
root@R1set interfaces ge0/0/0 unit 0 family inet address 12.12.12.1/24

[edit]
root@R1# set interfaces ge0/0/1 unit 0 family inet address 192.168.1.1/24

root@R1# commit
commit complete

R2

Amnesiac (ttyd0)

login: root

--- JUNOS 14.1R1.10 built 2014-06-07 09:37:07 UTC
root@% cli
root> configure
Entering configuration mode
The configuration has been changed but not committed

[edit]
root# set system root-authentication plain-text-password
New password:
Retype new password:

[edit]
root# set system host-name R2

[edit]
root# commit
commit complete

[edit]
root@R2set interfaces ge0/0/0 unit 0 family inet address 12.12.12.2/24

[edit]
root@R2# set interfaces ge0/0/2 unit 0 family inet address 23.23.23.2/24

[edit]
root@R2# set interfaces ge0/0/1 unit 0 family inet address 192.168.2.1/24

root@R2# commit
commit complete

R3

Amnesiac (ttyd0)

login: root

--- JUNOS 14.1R1.10 built 2014-06-07 09:37:07 UTC
root@% cli
root> configure
Entering configuration mode
The configuration has been changed but not committed

[edit]
root# set system root-authentication plain-text-password
New password:
Retype new password:

[edit]
root# set system host-name R3

[edit]
root# commit
commit complete

[edit]
root@R3set interfaces ge0/0/0 unit 0 family inet address 23.23.23.3/24

[edit]
root@R3# set interfaces ge0/0/1 unit 0 family inet address 192.168.3.1/24

root@R3# commit
commit complete

Konfigurasi Client/PC

PC1
    PC1>ip 192.168.1.2/24 192.168.1.1

PC2
    PC2>ip 192.168.2.2/24 192.168.2.1

PC3
    PC3>ip 192.168.3.2/24 192.168.3.1

Konfigurasi Loopback Interfaces

R1
[edit]
root@R1# set interfaces lo0 unit 0 family inet address 1.1.1.1/32

[edit]
root@R1# commit
commit complete
R2
[edit]
root@R2# set interfaces lo0 unit 0 family inet address 2.2.2.2/32

[edit]
root@R2# commit
commit complete
R3
[edit]
root@R3# set interfaces lo0 unit 0 family inet address 3.3.3.3/32

[edit]
root@R3# commit
commit complete

Konfigurasi OSPF

R1
[edit]
root@R1# edit protocols ospf

[edit protocols ospf]
root@R1# set area 0 interface ge0/0/0

[edit protocols ospf]
root@R1# set area 0 interface ge0/0/1

[edit protocols ospf]
root@R1# set area 0 interface lo0

[edit protocols ospf]
root@R1# commit
commit complete

R2

[edit]
root@R2# edit protocols ospf

[edit protocols ospf]
root@R2# set area 0 interface ge0/0/0

[edit protocols ospf]
root@R2# set area 0 interface ge0/0/1

[edit protocols ospf]
root@R2# set area 0 interface ge0/0/2

[edit protocols ospf]
root@R2# set area 0 interface lo0

[edit protocols ospf]
root@R2# commit
commit complete

R3

[edit]
root@R3# edit protocols ospf

[edit protocols ospf]
root@R3# set area 0 interface ge0/0/0

[edit protocols ospf]
root@R3# set area 0 interface ge0/0/1

[edit protocols ospf]
root@R3# set area 0 interface lo0

[edit protocols ospf]
root@R3# commit
commit complete

Untuk konfigurasi OSPF hanya seperti itu saja dengan mengadvertise interface dan setting area

Oke kita lanjut ke verifikasi labnya cekidot....

R1






















R2


R3



Terlihat untuk tabel routing sudah lengkap

Verifikasi Ping antar Loopback

Cek OSPF Neighbor

Cek OSPF Database
Oke sekarang kita cek Ping antar PC
PC1















Sampai sini pembahasan kita tentang routing OSPF dari setting IP, setting area dan advertise interface. Semoga bermanfaat :)
Konfigurasi Juniper Routing Dynamic (OSPF Backbone area) Konfigurasi Juniper Routing Dynamic (OSPF Backbone area) Reviewed by Khairul on Agustus 05, 2024 Rating: 5

Tidak ada komentar:

Diberdayakan oleh Blogger.