Rabu, 07 Februari 2018

[Juniper] Dynamic Routing - OSPF Backbone Area

Assalamualaikum

Oke lanjut lagi gan, kalau sebelumnya kita sudah belajar Lab Static Route di Juniper. Sekarang mengenai Dynamic Routing OSPF di juniper.


Oke Langsung aja topologinya seperti berikut gan

Tujuan lab kali ini masih sama, intinya semua PC bisa saling komunikasi satu sama lain

Untuk basic Konfigutasi IP address dll di masing-masing router bisa dilihat di lab static route.


Oke karena di lab sebelumnya ada static route, jadi kita hapus dulu static routeya
junOS-1
[edit]
root@junOS-1# delete routing-options static

[edit]
root@junOS-1# commit
commit complete

junOS-2
[edit]
root@junOS-2# delete routing-options static

[edit]
root@junOS-2# commit
commit complete

junOS-3
[edit]
root@junOS-3# delete routing-options static

[edit]
root@junOS-3# commit
commit complete

Oke sekarang static routenya sudah kehapus, sebelumnya kita konfigure loopback interfaces yang nantinya akan di jadikan sebagai router-id (identitas router) di masing-masing routernya dulu.

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

[edit]
root@junOS-1# commit
commit complete


junOS-2
[edit]
root@junOS-2# set interfaces lo0 unit 0 family inet address 2.2.2.2/32

[edit]
root@junOS-2# commit
commit complete


junOS-3
[edit]
root@junOS-3# set interfaces lo0 unit 0 family inet address 3.3.3.3/32

[edit]
root@junOS-3# commit
commit complete


Oke persiapan beres,,  sekarang konfigur OSPFnya

junOS-1
[edit]
root@junOS-1# edit protocols ospf

[edit protocols ospf]
root@junOS-1# set area 0 interface em0

[edit protocols ospf]
root@junOS-1# set area 0 interface em1

[edit protocols ospf]
root@junOS-1# set area 0 interface lo0

[edit protocols ospf]
root@junOS-1# commit
commit complete

junOS-2
[edit]
root@junOS-2# edit protocols ospf

[edit protocols ospf]
root@junOS-2# set area 0 interface em0

[edit protocols ospf]
root@junOS-2# set area 0 interface em1

[edit protocols ospf]
root@junOS-2# set area 0 interface em2

[edit protocols ospf]
root@junOS-2# set area 0 interface lo0

[edit protocols ospf]
root@junOS-2# commit
commit complete

junOS-3
[edit]
root@junOS-3# edit protocols ospf

[edit protocols ospf]
root@junOS-3# set area 0 interface em0

[edit protocols ospf]
root@junOS-3# set area 0 interface em1

[edit protocols ospf]
root@junOS-3# set area 0 interface lo0

[edit protocols ospf]
root@junOS-3# commit
commit complete

Nah kalau kofigure OSPF di juniper lebih mudah/gak ribet, cuma setting area dan interface mana yang mau di advertaise.

Cuman kok gak kelihatan notifnya ya (OSPF adjacency), nah ini hehe soalnya saya pakai virtual buat bukin nih lab hehehe

Oke kita verifikasi langsung aja yuk

junOS-1




junOS-2


junOS-3

Oke terlihat di routing tablenya sudah lengkap


Verifikasi Ping antar IP loopback

Cek OSPF Neighbor

Cek Database

Sekarang kita coba ping antar PC

PC1


OK, dah Reply
Demikan konfigurasi OSPF di juniper, kalau ada yang di tanyakan silahkan bisa coret-coret di kolom komentar. Semoga bermanfaat :)

[Juniper] Lab Static Route

Assalamualaikum

Alhamdulillah bisa ketemu kembali, kali ini saya akan share mengenai Static Routing di Juniper, Oh iya untuk konsep static route sama, cuman ada beberapa perintah yang sedikit berbeda ketika kita mau bikin static route di juniper.

Oke topologi yang akan kita labkan sebagai berikut:


Oke Tujuan kita agar semua PC bisa saling terhubung menggunakan static route di juniper.


Oke waktunya ngeLAB...


Basic configuration


junOS-1

Amnesiac (ttyd0)

login: root

--- JUNOS 9.6R1.13 built 2009-08-01 09:02:46 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 junOS-1

[edit]
root# commit
commit complete

[edit]
root@junOS-1set interfaces em0 unit 0 family inet address 12.12.12.1/24

[edit]
root@junOS-1# set interfaces em1 unit 0 family inet address 192.168.1.1/24

root@junOS-1# commit
commit complete


junOS-2
Amnesiac (ttyd0)

login: root

--- JUNOS 9.6R1.13 built 2009-08-01 09:02:46 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 junOS-2

[edit]
root# commit
commit complete

[edit]
root@junOS-2set interfaces em0 unit 0 family inet address 12.12.12.2/24

[edit]
root@junOS-2# set interfaces em1 unit 0 family inet address 23.23.23.2/24

[edit]
root@junOS-2# set interfaces em2 unit 0 family inet address 192.168.2.1/24

root@junOS-2# commit
commit complete


junOS-3
Amnesiac (ttyd0)

login: root

--- JUNOS 9.6R1.13 built 2009-08-01 09:02:46 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 junOS-3

[edit]
root# commit
commit complete

[edit]
root@junOS-3set interfaces em0 unit 0 family inet address 23.23.23.3/24

[edit]
root@junOS-3# set interfaces em1 unit 0 family inet address 192.168.3.1/24

root@junOS-3# commit
commit complete

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

Static Route

junOS-1
[edit]
root@junOS-1# set routing-options static route 23.23.23.0/24 next-hop 12.12.12.2

[edit]
root@junOS-1# set routing-options static route 192.168.2.0/24 next-hop 12.12.12.2

[edit]
root@junOS-1# set routing-options static route 192.168.3.0/24 next-hop 12.12.12.2

[edit]
root@junOS-1# commit
commit complete

junOS-2
[edit]
root@junOS-2# set routing-options static route 192.168.1.0/24 next-hop 12.12.12.1

[edit]
root@junOS-2# set routing-options static route 192.168.3.0/24 next-hop 23.23.23.3

[edit]
root@junOS-2# commit
commit complete

junOS-3
[edit]
root@junOS-3# set routing-options static route 12.12.12.0/24 next-hop 23.23.23.2

[edit]
root@junOS-3# set routing-options static route 192.168.1.0/24 next-hop 23.23.23.2

[edit]
root@junOS-3# set routing-options static route 192.168.2.0/24 next-hop 23.23.23.2

[edit]
root@junOS-3# commit
commit complete

Verifikasi

Routing table

junOS-1



junOS-2



junOS-3


PC1 ping ke PC2 dan ke PC3



PC2 ping ke PC1 dan PC3


PC3 ping ke PC1 dan PC2













Nah, sekarang semua PC sudah saling terkoneksi satu sama lain. Oke sekian dulu mengenai tutorial static lab di Juniper semoga bermanfaat.
luvne.com luvne.com ayeey.com cicicookies.com mbepp.com kumpulanrumusnya.comnya.com.com