Wishh.. lumayan komplek nih topologi nya.. hehe.. nantinya kita akan membuat masing-masing satu interface loopback pada seluruh router.. Perhatikan bahwa kita nanti juga perlu membuat virtual link ya antara R3 dan R4..
Oke langsung aja ya.. pertama kita harus konfig addressing nya yaa.. berikut konfigurasi addressing pada R1
Berikut konfigurasi R2[edit] root# run show configuration logical-systems R1 interfaces { em0 { unit 13 { vlan-id 13; family inet { address 13.13.13.1/24; } } } lo0 { unit 1 { family inet { address 1.1.1.1/32; } } } }
Berikut konfigurasi di R3[edit] root# run show configuration logical-systems R2 interfaces { em0 { unit 23 { vlan-id 23; family inet { address 23.23.23.2/24; } } unit 24 { vlan-id 24; family inet { address 24.24.24.2/24; } } } lo0 { unit 2 { family inet { address 2.2.2.2/32; } } } }
Berikut konfigurasi di R4[edit] root# run show configuration logical-systems R3 interfaces { em1 { unit 13 { vlan-id 13; family inet { address 13.13.13.3/24; } } unit 23 { vlan-id 23; family inet { address 23.23.23.3/24; } } unit 34 { vlan-id 34; family inet { address 34.34.34.3/24; } } } lo0 { unit 3 { family inet { address 3.3.3.3/32; } } } }
Berikut konfigurasi di R5[edit] root# run show configuration logical-systems R4 interfaces { em0 { unit 34 { vlan-id 34; family inet { address 34.34.34.4/24; } } unit 45 { vlan-id 45; family inet { address 45.45.45.4/24; } } } em1 { unit 24 { vlan-id 24; family inet { address 24.24.24.4/24; } } } lo0 { unit 4 { family inet { address 4.4.4.4/32; } } } }
Okeee.. konfigurasi addressing sudah selesai.. lanjut kita konfigurasi OSPF nya yaaa.. berikut konfigurasi OSPF di R1[edit] root# run show configuration logical-systems R5 interfaces { em1 { unit 45 { vlan-id 45; family inet { address 45.45.45.5/24; } } } lo0 { unit 5 { family inet { address 5.5.5.5/32; } } } }
Berikut konfigurasi OSPF di R2[edit] root# run show configuration logical-systems R1 protocols ospf { area 0.0.0.0 { interface em0.13; interface lo0.1 { passive; } } }
Berikut konfigurasi OSPF di R3[edit] root# run show configuration logical-systems R2 protocols ospf { area 0.0.0.1 { interface em0.23; interface em0.24; interface lo0.2 { passive; } } }
Berikut konfigurasi OSPF di R4[edit] root# run show configuration logical-systems R3 protocols ospf { area 0.0.0.0 { interface em1.13; } area 0.0.0.1 { interface em1.23; interface em1.34; interface lo0.3 { passive; } } }
Berikut konfigurasi OSPF di R5[edit] root# run show configuration logical-systems R4 protocols ospf { area 0.0.0.1 { interface em0.34; interface em1.24; interface lo0.4 { passive; } } area 0.0.0.2 { interface em0.45; } }
Okeee.. konfigurasi OSPF sudah selesai.. untuk pengujian.. kita coba lihat tabel routing di R1 yaa[edit] root# run show configuration logical-systems R5 protocols ospf { area 0.0.0.2 { interface em1.45; interface lo0.5 { passive; } } }
Oke.. R1 sudah memiliki bebara route melalui OSPF.. namun ada yang kurang nih.. R1 belum punya route untuk ke R5.. kenapa deimikian?? karena R5 berada di Area yang tidak terhubung langsung dengan area backbone.. jadu harus kita konfigurasikan virtual link yaa..[edit] root# run show route logical-system R1 inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1.1.1.1/32 *[Direct/0] 00:14:28 > via lo0.1 2.2.2.2/32 *[OSPF/10] 00:07:07, metric 2 > to 13.13.13.3 via em0.13 3.3.3.3/32 *[OSPF/10] 00:07:17, metric 1 > to 13.13.13.3 via em0.13 4.4.4.4/32 *[OSPF/10] 00:07:17, metric 2 > to 13.13.13.3 via em0.13 13.13.13.0/24 *[Direct/0] 00:08:15 > via em0.13 13.13.13.1/32 *[Local/0] 00:08:15 Local via em0.13 23.23.23.0/24 *[OSPF/10] 00:07:17, metric 2 > to 13.13.13.3 via em0.13 24.24.24.0/24 *[OSPF/10] 00:07:17, metric 3 > to 13.13.13.3 via em0.13 34.34.34.0/24 *[OSPF/10] 00:07:17, metric 2 > to 13.13.13.3 via em0.13 224.0.0.5/32 *[OSPF/10] 00:08:15, metric 1 MultiRecv
Oke sekarang kita konfigurasikan virtual link antara R3 dan R4.. berikut konfigurasi virtual link di R3
Berikut konfigurasi virtual link di R4[edit] root# edit logical-systems R3 [edit logical-systems R3] root# set routing-options router-id 3.3.3.3 [edit logical-systems R3] root# edit protocols ospf area 0.0.0.0 [edit logical-systems R3 protocols ospf area 0.0.0.0] root# set virtual-link neighbor-id 4.4.4.4 transit-area 0.0.0.1 [edit logical-systems R3 protocols ospf area 0.0.0.0] root# up [edit logical-systems R3 protocols ospf] root# show area 0.0.0.0 { virtual-link neighbor-id 4.4.4.4 transit-area 0.0.0.1; interface em1.13; } area 0.0.0.1 { interface em1.23; interface em1.34; interface lo0.3 { passive; } }
Okeee.. sudah selesai nih... kita coba cek yaa[edit] root# edit logical-systems R4 [edit logical-systems R4] root# set routing-options router-id 4.4.4.4 [edit logical-systems R4] root# edit protocols ospf area 0.0.0.0 [edit logical-systems R4 protocols ospf area 0.0.0.0] root# set virtual-link neighbor-id 3.3.3.3 transit-area 0.0.0.1 [edit logical-systems R4 protocols ospf area 0.0.0.0] root# up [edit logical-systems R4 protocols ospf] root# show area 0.0.0.1 { interface em0.34; interface em1.24; interface lo0.4 { passive; } } area 0.0.0.2 { interface em0.45; } area 0.0.0.0 { virtual-link neighbor-id 3.3.3.3 transit-area 0.0.0.1; }
Perhatikan bahwa R3 sudah bertetangga dengan R4 melalui virtual link.. sekarang kita coba cek tabel routing di R1 yaa[edit] root# run show ospf neighbor logical-system R3 Address Interface State ID Pri Dead 13.13.13.1 em1.13 Full 1.1.1.1 128 33 34.34.34.4 vl-4.4.4.4 Full 4.4.4.4 0 35 23.23.23.2 em1.23 Full 2.2.2.2 128 32 34.34.34.4 em1.34 Full 4.4.4.4 128 32
Okeee.. sekarang tabel routing di R1 sudah lengkap yaaaa... sekarang kita coba lakukan ping dari R1 ke interface loopback seluruh router[edit] root# run show route logical-system R1 inet.0: 12 destinations, 12 routes (12 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1.1.1.1/32 *[Direct/0] 00:22:21 > via lo0.1 2.2.2.2/32 *[OSPF/10] 00:01:42, metric 2 > to 13.13.13.3 via em0.13 3.3.3.3/32 *[OSPF/10] 00:01:42, metric 1 > to 13.13.13.3 via em0.13 4.4.4.4/32 *[OSPF/10] 00:01:42, metric 2 > to 13.13.13.3 via em0.13 5.5.5.5/32 *[OSPF/10] 00:01:42, metric 3 > to 13.13.13.3 via em0.13 13.13.13.0/24 *[Direct/0] 00:02:23 > via em0.13 13.13.13.1/32 *[Local/0] 00:02:23 Local via em0.13 23.23.23.0/24 *[OSPF/10] 00:01:42, metric 2 > to 13.13.13.3 via em0.13 24.24.24.0/24 *[OSPF/10] 00:01:42, metric 3 > to 13.13.13.3 via em0.13 34.34.34.0/24 *[OSPF/10] 00:01:42, metric 2 > to 13.13.13.3 via em0.13 45.45.45.0/24 *[OSPF/10] 00:01:42, metric 3 > to 13.13.13.3 via em0.13 224.0.0.5/32 *[OSPF/10] 00:16:08, metric 1 MultiRecv
Okeee.. ping nya sukses semua yaa... oke sampai disini dulu ya.. sampai jumpa di artikel artikel selanjutnya.. semoga bermanfaat...[edit] root# run ping 2.2.2.2 logical-system R1 count 1 PING 2.2.2.2 (2.2.2.2): 56 data bytes 64 bytes from 2.2.2.2: icmp_seq=0 ttl=63 time=0.860 ms --- 2.2.2.2 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.860/0.860/0.860/0.000 ms [edit] root# run ping 3.3.3.3 logical-system R1 count 1 PING 3.3.3.3 (3.3.3.3): 56 data bytes 64 bytes from 3.3.3.3: icmp_seq=0 ttl=64 time=0.797 ms --- 3.3.3.3 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.797/0.797/0.797/0.000 ms [edit] root# run ping 4.4.4.4 logical-system R1 count 1 PING 4.4.4.4 (4.4.4.4): 56 data bytes 64 bytes from 4.4.4.4: icmp_seq=0 ttl=63 time=1.420 ms --- 4.4.4.4 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.420/1.420/1.420/0.000 ms [edit] root# run ping 5.5.5.5 logical-system R1 count 1 PING 5.5.5.5 (5.5.5.5): 56 data bytes 64 bytes from 5.5.5.5: icmp_seq=0 ttl=62 time=1.696 ms --- 5.5.5.5 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.696/1.696/1.696/0.000 ms
Tidak ada komentar:
Posting Komentar
Komentar