Rabu, 07 Februari 2018

[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.

0 komentar:

Posting Komentar

luvne.com luvne.com ayeey.com cicicookies.com mbepp.com kumpulanrumusnya.comnya.com.com