SOAL! Membuat Jaringan gabungan Routing BGP dan OSPF

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

  1. Dapat memahami lebih dalam tentang routing
  2. Dapat menkonfigurasi router agar bisa menggabungkan routing OSPF dan BGP
  3. Dapat menerapkan fungsi routing OSPF dan BGP dalam sebuah jaringan 
  4. Dapat melatih kemampuan untuk menyelesaikan masalah

E. Tahapan dan Pelaksanaan

  1. Buka aplikasi cisco terlebih dahulu
  2. lalu buat topologi seperti berikut :
  3. 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
  4. 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
  5. 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)#
  6. 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

  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. Setelah semua interface sudah di konfigurasi ipnya , sekarang baru kita konfigurasi routingnya
  13. 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)#
  14.  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)#
  15. 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)#
  16. 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
  17. 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)#
  18. 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)#
  19. sekarang semua router yang menggunakan routing ospf sudah terkonfigurasi, baru kita konfigurasi router yang merupakan tempat penggabungan routing BGP 
  20. 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
  21. 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
  22.  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

    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)#
  23. setelah itu masuk ke router 9, dan coba ping ke IP loopback router 3 dan 6

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