welcome

welcome to my blog,and enjoy in your visit !!!!

Selasa, 31 Mei 2016

PENGGABUNGAN ROUTING (STATIC, RIP, DAN EIGRP)

kali ini saya memposting tentang penggabungkan routing static pada rip dan eigrp dalam 1 jaringan


dalam  1 perusahaan memiliki kantor dengan 3 lantai. Dan perusahaan ini ingin bahwa tiap lantai di kantor ini, mesti punya routing protokol dynamic (EIGRP, OSPF dan RIP) yang berbeda satu dengan yang lainnya. Kemudian, yang jadi permasalahannya bahwa tiap lantai mesti bisa terhubung ke lantai lain (user di lantai 2 connect dengan user di lantai 3, user lantai 1 connect ke user lantai 3 dan user di lantai 1 connect dengan user lantai 2 :





Berikut langkah-langkah dalam pengerjaan nya:



1.       Advertise semua IP serta Vlan yang ada ke masing-masing router, switch dan PC (sekedar optional, pada network kali ini, ane set IP DHCP untuk tiap vlan yang ada)

2.       Setelah semua IP sudah dipasang di semua perangkat, maka selanjutnya yaitu membuat routing protokol dynamic ditiap area (sesuai dengan gambar 1)

3.      Nah sekarang, masuk ke tahap redistributed untuk komunikasi antar PC. Sebelumnya, redistribute adalah suatu cara/proses yang digunakan untuk menyambungkan antara routing protokol yang berbeda. Jadi bisa dibilang proses redistribute ini mengambil semua isi tabel routing dari 1 routing protokol, dan disalurkan lagi ke 1 routing protokol yang berbeda. Sesuai dengan topologi network yang akan dibuat, pada gambar diatas saya menyediakan 1 router (router0) induk sebagai router main untuk proses redistributenya (ini optional dari saya, seandainya mau dihilangkan router0, bisa juga kok, silahkan eksplorasi sendiri J) sehingga proses redistribute berlangsung pada router ini. Untuk sekarang saya akan memilah 3 bagian redistribute berhubung dalam jaringan ini ada 3 routing protokol, yaitu RIP <-> OSPF, OSPF <-> EIGRP dan RIP <-> EIGRP.
a)      RIP <-> OSPF
Sebelumnya kita mesti identifikasi bahwa dalam RIP saya memakai RIP versi 2 yang sudah compatible untuk IP classless, algoritma routingnya berupa hop count sedangkan dalam OSPF algoritma routingnya berupa link state. Dan untuk administrative distance nya, OSPF 110 dan RIP 120. Ok untuk tidak memperpanjang waktu berikut mode redistribute yang berada di RIP

Router(config)#router RIP

Router(config-router)#redistribute ?

  connected  Connected

  eigrp      Enhanced Interior Gateway Routing Protocol (EIGRP)

  metric     Metric for redistributed routes

  ospf       Open Shortest Path First (OSPF)

  rip        Routing Information Protocol (RIP)

  static     Static routes

Dan berikut langkah-langkah dalam redistribut OSPF ke RIP

Router(config)#router rip

Router(config-router)#redistribute ospf ?

  <1-65535>  Process ID

Router(config-router)#redistribute ospf 90 ?

  match   Redistribution of OSPF routes

  metric  Metric for redistributed routes

  <cr>

Router(config-router)#redistribute ospf 90 metric ?

  <0-16>       Default metric

  transparent  Transparently redistribute metric

Router(config-router)#redistribute ospf 90 metric 5
Metric 5 diatas berupa pengaturan untuk Hop count dari OSPF ke RIP dikarenakan algoritma untuk RIP berupa Hop count. Jadi apabila seed metric diatas tidak kita set, maka proses redistribute ini akan gagal karena seed metric di RIP dan EIGRP berupa infinity. Ok redistribute OSPF sudah selesai, sekarang kita set redistribut RIP ke OSPF. Sama dengan RIP, berikut jenis-jenis redistribute yang ada di OSPF

Router(config)#router ospf 90

Router(config-router)#redistribute ?

  bgp        Border Gateway Protocol (BGP)

  connected  Connected

  eigrp      Enhanced Interior Gateway Routing Protocol (EIGRP)

  metric     Metric for redistributed routes

  ospf       Open Shortest Path First (OSPF)

  rip        Routing Information Protocol (RIP)

  static     Static routes

Langkah-langkah redistribute RIP ke OSPF

Router(config)#router osp

Router(config)#router ospf 90

Router(config-router)#redistribute rip subnets 
Pada langkah diatas, ditambahkan subnets karena apabila tidak kita set, maka redistribute ke OSPF hanya bisa berupa classfull, sedangkan routing protokol yang ada dalam jaringan kita berupa classless (RIP ver.2).

b)      OSPF <-> EIGRP            

                   Router(config)#router eigrp 10
                  Router(config-router)#redistribute ?
                 bgp        Border Gateway Protocol (BGP)
                connected  Connected
  eigrp      Enhanced Interior Gateway Routing Protocol (EIGRP)
  metric     Metric for redistributed routes
  ospf       Open Shortest Path First (OSPF)
  rip        Routing Information Protocol (RIP)
  static     Static routes
Langkah-langkah dalam konfigurasi redistribute OSPF pada routing protokol EIGRP yaitu: (Sama seperti RIP, seed metric dari EIGRP adalah infinity, karena algortima untuk eigrp sendiri menganut algoritma hybrid (link state dan hop count), sehingga apabila metric dalam redistribute di EIGRP tidak ditentukan. Pastinya tidak akan berhasil proses redistribute).
Router(config)#router eigrp 10
Router(config-router)#redistribute ospf ?
  <1-65535>  Process ID
Router(config-router)#redistribute ospf 90 ?
  match   Redistribution of OSPF routes
  metric  Metric for redistributed routes
  <cr>
Router(config-router)#redistribute ospf 90 metric ?
  <1-4294967295>  Bandwidth metric in Kbits per second
Router(config-router)#redistribute ospf 90 metric 512 ?
  <0-4294967295>  EIGRP delay metric, in 10 microsecond units
Router(config-router)#redistribute ospf 90 metric 512 10 ?
  <0-255>  EIGRP reliability metric where 255 is 100% reliable
Router(config-router)#redistribute ospf 90 metric 512 10 255 ?
  <1-255>  EIGRP Effective bandwidth metric (Loading) where 255 is 100% loaded
Router(config-router)#redistribute ospf 90 metric 512 10 255 1 ?
  <1-65535>  EIGRP MTU of the path
Router(config-router)#redistribute ospf 90 metric 512 10 255 1 10
512        --> Bandwidth
10          --> Delay
255        --> Reliability
1            --> Load
10          --> MTU
Dapat diliat diatas, banyak pengaturan yang mesti diset apabila ingin meredistribute ke EIGRP (untuk isian diatas, sesuai dengan keinginan masing-masing dan kebutuhan yang ada).Dan sekarang kita akan konfigurasi dari EIGRP ke OSPF. Untuk redistribute ke OSPF, sama halnya redistribute RIP ke OSPF, tidak ada yang beda.
Router(config)#router ospf 90
Router(config-router)#redistribute rip ?
 metric       Metric for redistributed routes
 metric-type  OSPF/IS-IS exterior metric type for redistributed routes
  subnets      Consider subnets for redistribution into OSPF
  tag          Set tag for routes redistributed into OSPF
  <cr>
Router(config-router)#redistribute eigrp ?
  <1-65535>  Autonomous system number
Router(config-router)#redistribute eigrp 10 ?
  metric       Metric for redistributed routes
  metric-type  OSPF/IS-IS exterior metric type for redistributed routes
  subnets      Consider subnets for redistribution into OSPF
  tag          Set tag for routes redistributed into OSPF
  <cr>
Router(config-router)#redistribute eigrp 10 subnets
c)       RIP <-> EIGRP
Ok, sampai juga diproses yang terakhir yaitu RIP <-> EIGRP. Sebenarnya untuk proses RIP dan EIGRP hampir sama untuk yang diatas, yang mesti diingat hanya bahwa RIP dan EIGRP memiliki seed metric yang infinity sehingga dimasing-masing routing protokol nanti jangan lupa set seed metricnya sesuai dengan pilihan kita.
Proses EIGRP ke RIP
Router(config)#router rip
Router(config-router)#redistribute eigrp 10 metric 5
Proses RIP ke EIGRP
Router(config)#router eigrp 10
Router(config-router)#redistribute rip metric 1024 0 255 128 512