Konfigurasi Juniper Static Route

Assalamu'alaikum Wr Wb.

Pada blog ini saya akan menjelaskan tentang konfigurasi Juniper Static Route, untuk konsep commad atau perintah dari Juniper ini sama, cuman ada beberapa perintah yang berbeda untuk mengkonfigurasi Static Route ini. Oke kita langsung masuk ke sesi konfigurasi

Untuk topologi nya seperti di bawah ini.


Konfigrasi Awal

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 ge-0/0/0 unit 0 family inet address 100.0.0.1/30

[edit]
root@R1# set interfaces ge-0/0/1 unit 0 family inet address 10.0.0.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 ge-0/0/0 unit 0 family inet address 100.0.0.2/30

[edit]
root@R2# set interfaces ge-0/0/2 unit 0 family inet address 100.0.2.2/30

[edit]
root@R2# set interfaces ge-0/0/1 unit 0 family inet address 10.0.1.1/24

root@R3# commit
commit complete

R3

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 R3

[edit]
root# commit
commit complete

[edit]
root@R3set interfaces ge-0/0/0 unit 0 family inet address 100.0.2.1/30

[edit]
root@R3# set interfaces ge-0/0/1 unit 0 family inet address 10.0.3.1/24

root@R3# commit
commit complete

PC1

PC1> ip 10.0.0.2/24 10.0.0.1

PC2

PC2> ip 10.0.1.2/24 10.0.1.1

PC3

PC3> ip 10.0.3.2/24 10.0.3.1


Konfigurasi Static Route

R1

[edit]
root@R1# set routing-options static route 10.0.1.0/24 next-hop 100.0.0.2

[edit]
root@R1# set routing-options static route 10.0.1.0/24 next-hop 100.0.0.2

[edit]
root@R1# set routing-options static route 10.0.3.0/24 next-hop 100.0.0.2

[edit]
root@R1# commit
commit complete

R2

[edit]
root@R2# set routing-options static route 10.0.0.0/24 next-hop 100.0.0.1

[edit]
root@R2# set routing-options static route 10.0.3.0/24 next-hop 100.0.2.1

[edit]
root@R2# commit
commit complete

R3

[edit]
root@R3# set routing-options static route 100.0.0.0/30 next-hop 100.0.2.2

[edit]
root@R3# set routing-options static route 10.0.0.0/24 next-hop 100.0.2.2

[edit]
root@R3# set routing-options static route 10.0.1.0/24 next-hop 100.0.2.2

[edit]
root@R3# commit
commit complete

Verifikasi

Routing Table

R1















R2















R3















PC1 ping ke PC2 dan ke PC3













PC2 ping ke PC1 dan ke PC3













PC3 ping ke PC2 dan ke PC1














Oke Sekarang semua PC sudah saling di Ping satu sama lain, Sekian dari saya semoga bermanfaat :)
Konfigurasi Juniper Static Route Konfigurasi Juniper Static Route Reviewed by Khairul on Agustus 03, 2024 Rating: 5

Tidak ada komentar:

Diberdayakan oleh Blogger.