Senin, 27 Februari 2017

Lab 128 - Static Routing Juniper

Welcome to juniper second lab!!!.. hehehe ini adalah lab kedua juniper nih.. semoga bisa istiqomah belajarnya.. Aamiin..

Pada lab ini kita akan sama2 belajar static routing di juniper yaaa.. kita akan pake topologi ini yaa

O yaaa.. disini kita akan pake logical system ya... kemarin di lab juniper pertama kita udah beljar kan tentang logical system juniper...

Pertama kita konfig logical system nya dulu yaaa
[edit] root# set interfaces em0 vlan-tagging [edit] root# set interfaces em1 vlan-tagging
Berikut konfigurasi logical system untuk R1
[edit] root# edit logical-systems R1 [edit logical-systems R1] root# set interfaces em0.12 vlan-id 12 family inet address 12.12.12.1/24 [edit logical-systems R1] root# set interfaces lo0.1 family inet address 1.1.1.1/32
Berikut konfigurasi logical system untuk R2
[edit logical-systems R1] root# top [edit] root# edit logical-systems R2 [edit logical-systems R2] root# set interfaces em1.12 vlan-id 12 family inet address 12.12.12.2/24 [edit logical-systems R2] root# set interfaces em1.23 vlan-id 23 family inet address 23.23.23.2/24 [edit logical-systems R2] root# set interfaces lo0.2 family inet address 2.2.2.2/32
Berikut konfigurasi logical system address untuk R3
[edit logical-systems R2] root# top [edit] root# edit logical-systems R3 [edit logical-systems R3] root# set interfaces em0.23 vlan-id 23 family inet address 23.23.23.3/24 [edit logical-systems R3] root# set interfaces lo0.3 family inet address 3.3.3.3/32
O yaaaa.. jangan lupa commit ya
[edit] root# commit commit complete
Okeee.. konfigurasi addressing sudah selesai pada seluruh logical system.. kita coba cek yaa
root# run show interfaces terse Interface Admin Link Proto Local Remote cbp0 up up demux0 up up dsc up up em0 up up em0.12 up up inet 12.12.12.1/24 em0.23 up up inet 23.23.23.3/24 em1 up up em1.12 up up inet 12.12.12.2/24 em1.23 up up inet 23.23.23.2/24 gre up up ipip up up irb up up lo0 up up lo0.1 up up inet 1.1.1.1 --> 0/0 lo0.2 up up inet 2.2.2.2 --> 0/0 lo0.3 up up inet 3.3.3.3 --> 0/0
Okee.. sudah sesuai..

Sekarang lanjut kita konfigurasi static routing pada seluruh logical system ya... berikut konfigurasi static routing di R1
[edit] root# set logical-systems R1 routing-options static route 2.2.2.2/32 next-hop 12.12.12.2 [edit] root# set logical-systems R1 routing-options static route 3.3.3.3/32 next-hop 12.12.12.2 [edit] root# set logical-systems R1 routing-options static route 23.23.23.0/24 next-hop 12.12.12.2
Berikut konfigurasi static routing di R2
[edit] root# set logical-systems R2 routing-options static route 1.1.1.1/32 next-hop 12.12.12.1 [edit] root# set logical-systems R2 routing-options static route 3.3.3.3/32 next-hop 23.23.23.2
Berikut konfigurasi static routing di R3
[edit] root# set logical-systems R3 routing-options static route 1.1.1.1/32 next-hop 23.23.23.2 [edit] root# set logical-systems R3 routing-options static route 2.2.2.2/32 next-hop 23.23.23.2 [edit] root# set logical-systems R3 routing-options static route 12.12.12.0/24 next-hop 23.23.23.2
Oke.. sudah selesai.. kalo mau chek bisa pake perintah ini nih
[edit] root# show logical-systems R1 routing-options static { route 2.2.2.2/32 next-hop 12.12.12.2; route 3.3.3.3/32 next-hop 12.12.12.2; } [edit] root# show logical-systems R2 routing-options static { route 1.1.1.1/32 next-hop 12.12.12.1; route 3.3.3.3/32 next-hop 23.23.23.3; } [edit] root# show logical-systems R3 routing-options static { route 1.1.1.1/32 next-hop 23.23.23.2; route 2.2.2.2/32 next-hop 23.23.23.2; }
Okeee.. sudah benar kan..

O yaaa.. jangan lupa di commit ya
[edit] root# commit commit complete
Sekarang kita coba lakukan ping dari R1 ke loopback R2 dan R3
[edit] root# run ping 2.2.2.2 logical-system R1 count 3 PING 2.2.2.2 (2.2.2.2): 56 data bytes 64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=1.569 ms 64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=0.567 ms 64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=0.671 ms --- 2.2.2.2 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.567/0.936/1.569/0.450 ms [edit] root# run ping 3.3.3.3 logical-system R1 count 3 PING 3.3.3.3 (3.3.3.3): 56 data bytes 64 bytes from 3.3.3.3: icmp_seq=0 ttl=63 time=1.630 ms 64 bytes from 3.3.3.3: icmp_seq=1 ttl=63 time=0.897 ms 64 bytes from 3.3.3.3: icmp_seq=2 ttl=63 time=0.974 ms --- 3.3.3.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.897/1.167/1.630/0.329 ms
Mau coba traceroute??
[edit] root# run traceroute 2.2.2.2 logical-system R1 traceroute to 2.2.2.2 (2.2.2.2), 30 hops max, 40 byte packets 1 2.2.2.2 (2.2.2.2) 0.536 ms 0.427 ms 0.267 ms [edit] root# run traceroute 3.3.3.3 logical-system R1 traceroute to 3.3.3.3 (3.3.3.3), 30 hops max, 40 byte packets 1 12.12.12.2 (12.12.12.2) 0.653 ms 0.461 ms 0.486 ms 2 3.3.3.3 (3.3.3.3) 0.989 ms 0.779 ms 1.319 ms
Okeeee... berhasil yaa kita setting static routingnya di juniper..

Sampai disini dulu yaaa.. sampai jumpa di artikel artikel selanjutnya... semoga bermanfaat

Like the Post? Do share with your Friends.

Tidak ada komentar:

Posting Komentar

Komentar

FeedBack

Jika Anda merasa terbantu dengan artikel dari Coretan Bocah IT, silahkan berlangganan GRATIS via email. Dengan begitu, Anda akan mendapat kiriman artikel setiap ada artikel baru yang terbit di Coretan Bocah IT

Masukkan Email :

IconIconIconFollow Me on Pinterest