Assalamualaikum wr.wb
Saya mendapat soal dari suatu master cisco yaitu om danu wiyoto untuk membuat merouting jaringan yang di gabung dengan BGP dan OSPF
Saya mendapat soal dari suatu master cisco yaitu om danu wiyoto untuk membuat merouting jaringan yang di gabung dengan BGP dan OSPF
Kurang lebih seperti itulah topologinya, jadi bisa dikatan berhasil apabila setiap IP loopback dari router 3 , 6 , dan 9 berhasil
A. Latar Belakang
Untuk menguji kemampuan kami, kami diberi soal oleh salah satu master cisco untuk menyelesaikan topologi seperti gambar di atas, topologi tersebut merupakan simulasi dari susunan sederhana yang di gunakan perusahaan - perusahaan ISP
C. Persiapan Software dan Hardware
- PC dengan sistem operasi bebas
- aplikasi packet tracer
- modul
D. Maksud dan Tujuan
- Dapat memahami lebih dalam tentang routing
- Dapat menkonfigurasi router agar bisa menggabungkan routing OSPF dan BGP
- Dapat menerapkan fungsi routing OSPF dan BGP dalam sebuah jaringan
- Dapat melatih kemampuan untuk menyelesaikan masalah
E. Tahapan dan Pelaksanaan
- Buka aplikasi cisco terlebih dahulu
- lalu buat topologi seperti berikut :
- Setelah itu konfigurasi IP router sesuai dengan topologi di atas, yang pertama router 1 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 12.12.12.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int gi 0/1
Router(config-if)#ip address 14.14.14.1 255.255.255.0
Router(config-if)#no sh
- Lalu router ke 2 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 12.12.12.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int gi 0/1
Router(config-if)#ip address 23.23.23.2 255.255.255.0
Router(config-if)#no sh
- Lalu pada router ke 3 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 23.23.23.3 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int loopback0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip address 3.3.3.3 255.255.255.255
Router(config-if)#no sh
Router(config-if)#
- lalu pada router ke 4 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 14.14.14.4 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int gi 0/1
Router(config-if)#ip address 47.47.47.4 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
Router(config-if)#int gi 0/2
Router(config-if)#ip address 45.45.45.4 255.255.255.0
Router(config-if)#no sh
- lalu pada router ke 5 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 45.45.45.5 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int gi 0/1
Router(config-if)#ip address 56.56.56.5 255.255.255.0
Router(config-if)#no sh
- Lalu router ke 6 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 56.56.56.6 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int loopback0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip address 6.6.6.6 255.255.255.255
Router(config-if)#no sh
- Lalu pada router ke 7 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 47.47.47.7 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int gi 0/1
Router(config-if)#ip address 78.78.78.7 255.255.255.0
Router(config-if)#no sh
- Lalu pada router ke 8 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 78.78.78.8 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int gi 0/1
Router(config-if)#ip address 89.89.89.8 255.255.255.0
Router(config-if)#no sh
- lalu pada router ke 9 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi 0/0
Router(config-if)#ip address 89.89.89.9 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#int loopback0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip address 9.9.9.9 255.255.255.255
Router(config-if)#no sh
- Setelah semua interface sudah di konfigurasi ipnya , sekarang baru kita konfigurasi routingnya
- agar runtut pertama kita konfigurasi routing ospf terlebih dahulu, yang pertama konfigurasi pada router 3 terlebih dahulu , dengan menjalankan perintah tersebut:
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 23.23.23.0 0.0.0.255 area 0
Router(config-router)#network 3.3.3.3 0.0.0.0 area 0
Router(config-router)#
- lalu pada router ke 2 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 23.23.23.0 0.0.0.255 area 0
Router(config-router)#network 12.12.12.0 0.0.0.255 area 0
Router(config-router)#
- lalu pada router ke 6 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 56.56.56.0 0.0.0.255 area 0
Router(config-router)#network 6.6.6.6 0.0.0.0 area 0
Router(config-router)#
- sekarang router 5 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 56.56.56.0 0.0.0.255 area 0
Router(config-router)#network 45.45.45.0 0.0.0.255 area 0
- lalu pada router ke 9 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 89.89.89.0 0.0.0.255 area 0
Router(config-router)#network 9.9.9.9 0.0.0.0 area 0
Router(config-router)#
- sekarang router ke 8 :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#
Router(config-router)#network 89.89.89.0 0.0.0.255 area 0
Router(config-router)#network 78.78.78.0 0.0.0.255 area 0
Router(config-router)#
- sekarang semua router yang menggunakan routing ospf sudah terkonfigurasi, baru kita konfigurasi router yang merupakan tempat penggabungan routing BGP
- yang pertama pada router 1 kita akan mengkonfigurasi routing BGP dan OSPF lalu di redistribute, dengan cara menjalankan sintax berikut :
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 12.12.12.0 0.0.0.255 area 0
Router(config-router)#redistribute
00:18:12: %OSPF-5-ADJCHG: Process 1, Nbr 23.23.23.2 on GigabitEthernet0/0 from LOADING to FULL, Loading Done
Router(config-router)#redistribute bgp 100
% Only classful networks will be redistributed
Router(config-router)#redistribute bgp 100 subnets
Router(config-router)#router bgp 100
Router(config-router)#neighbor 14.14.14.4 remote-as 200
Router(config-router)#network 14.14.14.0 mask 255.255.255.0
Router(config-router)#redistribute ospf 1
Router(config-router)#
bisa dilihat di situ terdapat proses reistribute yang berfungsi untuk mengenalkan routing satu ke routing yang lain - sekarang kita konfigurasi router ke 4 , disini juga merupakan tempat penggabungan routing OSPF dan BGP
Router>en
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 45.45.45.0 0.0.0.255 area 0
Router(config-router)#redistribute bgp 200 subnets
Router(config-router)#
00:20:36: %OSPF-5-ADJCHG: Process 1, Nbr 56.56.56.5 on GigabitEthernet0/2 from LOADING to FULL, Loading Done
ex
Router(config)#router bgp 200
Router(config-router)#neighbor 14.14.14.1 remote-as 100
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 14.14.14.1 Up
Router(config-router)#neighbor 47.47.47.7 remote-as 300
Router(config-router)#network 14.14.14.0 mask 255.255.255.0
Router(config-router)#network 47.47.47.0 mask 255.255.255.0
Router(config-router)#redistribute ospf 1
- lalu router ke 7 :
Router>EN
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 78.78.78.0 0.0.0.255 area 0
Router(config-router)#
Router(config-router)#redistribute bg
00:23:12: %OSPF-5-ADJCHG: Process 1, Nbr 89.89.89.8 on GigabitEthernet0/1 from LOADING to FULL, Loading Done
p
Router(config-router)#redistribute bgp 300 subnets
Router(config-router)#router bgp 300
Router(config-router)#neighbor 47.47.47.4 remote-as 200
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 47.47.47.4 Up
Router(config-router)#network 47.47.47.0 mask 255.255.255.0
Router(config-router)#redistribute ospf 1
Router(config-router)#
- setelah itu masuk ke router 9, dan coba ping ke IP loopback router 3 dan 6
- setelah itu masuk ke router 3, dan coba ping ke IP loopback router 6 dan 9
F. Referensi
- https://ilhamasterjaringan.blogspot.co.id/2016/08/routing-bgp-dan-ospf-di-cisco-packet.html
- modul cisco IDN.pdf
G. Hasil dan Kesimpulan
Hasilnya
device yang berbeda jaringan dapat saling berhungan dan kita dapat mengatasi masalah - masalah tentang routing, bahwa cara kerja routing cukup mudah jika sudah dipelajari, tidak sesulit apa yang di bayangkan
EmoticonEmoticon