SlideShare a Scribd company logo
1 of 51
Download to read offline
Routing Dinamik
Divisi Training
PT UFOAKSES SUKSES LUARBIASA
Jakarta
nux@ufoakses.co.id
Dinamik routing protokol
Mikrotik Router OS mendukung
− Open Shortest Path First ( OSPF )
− Routing information Protokol ( RIP )
− Border Gateway Protokol ( BGP )
Mikrotik router OS tidak mendukung
− Interior gateway routing protokol ( IGRP )
− Enchanced interior gateway routing protokol (
EIGRP )
Fungsi Dinamik Routing
Digunakan untuk :
− Secara otomatis membentuk informasi routing
− Membuat fail over conection
− Load balancing
Dimana menggunakan Dinamik
routing
RIP dan OSPF menggunakan autonomous
system ( AS )
BGP menggunakan beberapa autonomous
systems ( antar AS number / eBGP atau antar
router dalam AS number /iBGP )
Contoh Routing dinamik
OSPF
OSPF adalah linkstate protokol dimana dapat
memelihara rute dalam dinamik network
struktur dan dapat dibangun beberapa bagian
dari subnetwork.
OSPF lebih effisien daripada RIP
Antara RIP dan OSPF menggunakan didalam
Autonomous System ( AS )
Menggunakan protokol Broadcast
Kapan menggunakan OSPF
Mendistribusi ulang rute dan memasukkan
default rute ke dalam area
Untuk membuat backups link
MPLS
OSPF Area dan Routers
Tipe router OSPF
Internal routers ( di dalam area )
Backbone router ( di dalam area 0 )
Area Border router ( ABR )
− Berada antara 2 atau lebih area dan harus
menyentuh area 0
Autonomous system boundary routers ( ASBR )
− Mendistribusi ulang informasi routing dan routing
protokol yang lain
OSPF dalam routerOS
Mikrotik router OS diimplementasikan dalam
OSPF version 2 ( RFC 2328 )
Routing package harus diinstall
OSPF menggunakan protokol 89 untuk
komunikasi dengan tetangga ( neighbour ) dan
jangan di filter di firewall
Tracking connection harus dienable .( ip firewall
connection tracking )
Tipe metric
Tipe 1
− Eksternal metrik yang diekspresikan dalam
beberapa unit sebagai harga ospf interface
Tipe 2
− Eksternal metrik untuk mencapai harga ospf
interface yang lebih besar kepada AS number.
OSPF router ID
Router ID harus unik diantara AS number
Router ID dapat default sebagai 0.0.0.0
Tanda lebih besar untuk router dapat digunakan
OSPF default Route
Tinggalkan distibute default route untuk tidak
lebih rendah sebagai ASBR
/routing ospf
Set distribute-default=as-type-1
OSPF route redistribution
Set redistribute connected routes ( dan statik
route )
− /routing ospf
− set-redistribute-connected=as-type-1
− set-redistributed-static=as-type-1
Jika menggunakan RIP atau BGP boleh
digunakan redistribute routes untuk
mempelajari protokol routing
Area Number
Area didefinisikan dengan 32 bit nomer dalam
format alamat ip
0.0.0.0 disiapkan untuk backbone area
Semua area harus konek ke area 0.0.0.0
Konfigurasi
− /routing ospf area pr
− Add name=internal1 area-id=0.0.0.1
Jaringan 1 OSPF
Tambahkan network secara spesifik interface
dimana dibutuhkan OSPF berjalan dalam area
Alamat jaringan seharusnya termasuk alamat
interface
− /routing ospf network
− Add network=10.10.10.0/24 area=backbone
− Untuk point to point alamat network harus /32
Jika dibutuhkan set interface cost :
− /routing ospf interface
− Add interface=wlan1 cost=10
Untuk lebih cepat respon maka diset hello
interval 7 , router dead interval=10 untuk semua
router
OSPF neighbor States
Neigbor status dapat dijelaskan sbb :
Full = link state database komplet terjalin
2-way = komunikasi 2 arah telah terjadi
Down, Attempt, Init, loading, extart = tidak
lengkap berjalan
OSPF Table Route
/ip route print
DIO = invalid connected route ditambahkan
oleh OSPF bahwa OSPF telah jalan pada
sebuah interface
Equal Cost multipath route mempunyai tujuan
address dan gateway dipisahkan oleh ,
OSPF trouble shooting
Cek mikrotik neighbor
− /ip neighbor print
Cek ospf neighbor
− /routing ospf neighbor print
Cek route
− /ip route pr
Cek logs
− /system loging
− Add topics=ospf info action=memory
OSPF redundant Link
Konfigurasi Main Router OSPF
Set OSPF Areas
OSPF Network
OSPF Neighbors
Tabel Route
Konfigurasi OSPF peer 1
OSPF Area
OSPF Network
OSPF Neighbors and Route
Konfigurasi OSPF peer 2
OSPF Area dan Networks
OSPF Neigh dan Tabel Route
Alternative to ospf backup
Gunakan netwatch untuk menjalankan script
untuk merubah routing
Bridging menggunakan EoIP tunnel atau WDS
Untuk bridging :
− Set spanning tree protokol
− Gunakan port cost argument untuk path yang
digunakan
BGP
Border gateway protokol adalah inter-
autonomous system routing protokol
BGP utama digunakan untuk merubah
informasi network dengan BGP system yang
lain
Mikrotik menerapkan BGP versi 4 ( RFC 1771 )
BGP System
Konfigurasi BGP network
Konfigurasi Peer
Spesifikasi BGP peer dengan siapa kita akan
merubah informasi routing
− Peer 1 untuk ASBR 1. Peer 2 untuk ASBR 2
BGP akan merubah informasi routing hanya jika
telah terjadi koneksi sebagai koneksi TCP untuk
peernya.
− Tcp port 179 harus dibuka di firewall
Kita dapat menambahkan banyak peer
Argument spesifik Peer
Multihop = yes , jika peer tidak sama dengan
network.
Route reflect = yes , jika kedua peer ke AS dan
kita akan meredistribute route untuk
mempelajari darinya
Prefix list in dan Out untuk mengontrol route
redistribusi.
Prefik List
Digunakan oleh RIP dan BGP untuk mengontrol
route advertise untuk router yang lain dan
menfilter route dari nya
Prefiks list mempunyai nama dan default aksi
untuk list
Default action digunakan untuk router jangan
samakan rule dari list.
Prefiks list=kelas Rute
Prefiks Length=panjang Rute dalam bits
Prefiks list
203.12.1.2/24 berbeda network dengan
203.12.1.2/20
Prefiks list Rules
Prefix adlah network prefix yang disamakan
Prefix lenght adalah panjang dari prefix dalam
satuan bits
Contoh prefix list
− 0.0.0.0/0 prefix lenght=0 contoh alamat tujuan =
0.0.0.0 ( default destination )
− 0.0.0.0/0 prefix lenght=0-32 > any destination
− 10.0.0.0/8 prefix lenght=17-32 >
10.0.4.0/17;10.5.0.0/24
Property Description BGP
as ( integer : 0 ..65535 ) - BGP autonomous
system number
name ( name ; default: "" ) - BGP instance
name
out-filter ( name ; default: "" ) - output routing
filter used by this BGP instance
redistribute-connected ( yes | no ; default: no
) - if enabled, the router will redistribute the
information about all connected routes, i.e.,
routes to the networks that can be directly
reached
redistribute-ospf ( yes | no ; default: no ) - if
enabled, the router will redistribute the
information about all routes learned by the
OSPF protocol
redistribute-other-bgp ( yes | no ; default: no )
- specifies whether this BGP instance should
redistribute to its peers routes learned by other
BGP instances
redistribute-rip ( yes | no ; default: no ) - if
enabled, the router will redistribute the
information about all routes learned by RIP
protocol
redistribute-static ( yes | no ; default: no ) - if
enabled, the router will redistribute the
information about all static routes added to its
routing database, i.e., routes that have been
created using the /ip route add command on the
router
router-id ( IP address ; default: 0.0.0.0 ) - the
router identification string in form of an IP
address. If no router-id is specified, it will be
selected automatically based on the routing
information
Peers
Property Description BGP Peer
hold-time ( time ) - specifies the BGP Hold
Time value to use when negotiating with peers.
According to BGP specifications, if router does
not receive successive KEEPALIVE and/or
UPDATE and/or NOTIFICATION messages
within the period specified in the Hold Time field
of the OPEN message, then the BGP
connection to the peer will be closed
in-filter ( name ; default: "" ) - name of the
routing filter that is applied to incoming routing
update messages
keepalive-time ( time ) - specifies the time
interval between successive KEEPALIVE
messages.BGP process will negotiate the
keepalive time with the neighbour upon
connection establishment.
multihop ( yes | no ; default: no ) - if enabled,
allows BGP sessions, even when the neighbour
is not on a directly connected segment. The
multihop session is not established if the only
route to the multi-hop peer's address is the
default route (0.0.0.0/0)
out-filter ( name ; default: "" ) - name of the
routing filter that is applied to outgoing routing
update messages
remote-address ( IP address ; default: 0.0.0.0 )
- address of the remote peer
remote-as ( integer ; default: 0 ) - AS number of
the remote peer
BGP Routing Filters
Border Gateway Protocol (BGP) Routing filters
allow to alter attributes of the route for the NLRI
prefixes or completely exclude particular NLRI
prefixes with routes from the BGP routing
update message
These policies are implemented as rules
organized in chains
action ( accept | discard | jump | none | reject |
return
Workshop BGP

More Related Content

What's hot

09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routingsetioaribowo
 
Pengenalan Virtual Router Redudancy Protocol (VRRP) pada MikroTik RouterOS
Pengenalan Virtual Router Redudancy Protocol (VRRP) pada MikroTik RouterOSPengenalan Virtual Router Redudancy Protocol (VRRP) pada MikroTik RouterOS
Pengenalan Virtual Router Redudancy Protocol (VRRP) pada MikroTik RouterOSI Putu Hariyadi
 
Open Shortest Path First (OSPF)
Open Shortest Path First (OSPF)Open Shortest Path First (OSPF)
Open Shortest Path First (OSPF)Lusiana Diyan
 
Jaringan komunikasi 7 pti1
Jaringan komunikasi   7 pti1Jaringan komunikasi   7 pti1
Jaringan komunikasi 7 pti1antony veru
 
Iqbal cisco-packet-tracer-konfigurasi-dynamic-routing-rip-–-eigrp-–-ospf
Iqbal cisco-packet-tracer-konfigurasi-dynamic-routing-rip-–-eigrp-–-ospfIqbal cisco-packet-tracer-konfigurasi-dynamic-routing-rip-–-eigrp-–-ospf
Iqbal cisco-packet-tracer-konfigurasi-dynamic-routing-rip-–-eigrp-–-ospfamri am
 
Tugas Manajemen Jaringan Komputer (Routing)
Tugas Manajemen Jaringan Komputer (Routing)Tugas Manajemen Jaringan Komputer (Routing)
Tugas Manajemen Jaringan Komputer (Routing)Veliany Khosasih
 
Tugas Management Jaringan Komputer Routing
Tugas Management Jaringan Komputer RoutingTugas Management Jaringan Komputer Routing
Tugas Management Jaringan Komputer RoutingCindy Carissa
 
Pengantar jarkom-1-6
Pengantar jarkom-1-6Pengantar jarkom-1-6
Pengantar jarkom-1-6Daudi Lazarus
 
Static dan-dynamic-routing-pada-cisco-packet-tracer
Static dan-dynamic-routing-pada-cisco-packet-tracerStatic dan-dynamic-routing-pada-cisco-packet-tracer
Static dan-dynamic-routing-pada-cisco-packet-tracersams4droid
 

What's hot (18)

Routing Protocol
Routing ProtocolRouting Protocol
Routing Protocol
 
09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing
 
Pengenalan Virtual Router Redudancy Protocol (VRRP) pada MikroTik RouterOS
Pengenalan Virtual Router Redudancy Protocol (VRRP) pada MikroTik RouterOSPengenalan Virtual Router Redudancy Protocol (VRRP) pada MikroTik RouterOS
Pengenalan Virtual Router Redudancy Protocol (VRRP) pada MikroTik RouterOS
 
Routing Protocol
Routing ProtocolRouting Protocol
Routing Protocol
 
Open Shortest Path First (OSPF)
Open Shortest Path First (OSPF)Open Shortest Path First (OSPF)
Open Shortest Path First (OSPF)
 
Jaringan komunikasi 7 pti1
Jaringan komunikasi   7 pti1Jaringan komunikasi   7 pti1
Jaringan komunikasi 7 pti1
 
Iqbal cisco-packet-tracer-konfigurasi-dynamic-routing-rip-–-eigrp-–-ospf
Iqbal cisco-packet-tracer-konfigurasi-dynamic-routing-rip-–-eigrp-–-ospfIqbal cisco-packet-tracer-konfigurasi-dynamic-routing-rip-–-eigrp-–-ospf
Iqbal cisco-packet-tracer-konfigurasi-dynamic-routing-rip-–-eigrp-–-ospf
 
Kelompok 4 routing
Kelompok 4 routingKelompok 4 routing
Kelompok 4 routing
 
Tugas Manajemen Jaringan Komputer (Routing)
Tugas Manajemen Jaringan Komputer (Routing)Tugas Manajemen Jaringan Komputer (Routing)
Tugas Manajemen Jaringan Komputer (Routing)
 
Pertemuan 15
Pertemuan 15Pertemuan 15
Pertemuan 15
 
Tugas Management Jaringan Komputer Routing
Tugas Management Jaringan Komputer RoutingTugas Management Jaringan Komputer Routing
Tugas Management Jaringan Komputer Routing
 
Routing protocol
Routing protocolRouting protocol
Routing protocol
 
Routing Protocol
Routing Protocol Routing Protocol
Routing Protocol
 
Routing
RoutingRouting
Routing
 
Internet Protocol (IP)
Internet Protocol (IP)Internet Protocol (IP)
Internet Protocol (IP)
 
Pengantar jarkom-1-6
Pengantar jarkom-1-6Pengantar jarkom-1-6
Pengantar jarkom-1-6
 
9 routing
9 routing9 routing
9 routing
 
Static dan-dynamic-routing-pada-cisco-packet-tracer
Static dan-dynamic-routing-pada-cisco-packet-tracerStatic dan-dynamic-routing-pada-cisco-packet-tracer
Static dan-dynamic-routing-pada-cisco-packet-tracer
 

Similar to Modul routing dinamik

Protokol routing
Protokol routingProtokol routing
Protokol routingpeces123
 
Konsep Routing - v2.pptx
Konsep Routing - v2.pptxKonsep Routing - v2.pptx
Konsep Routing - v2.pptxHasobrBlank
 
Sharing Knowledge Day 1 OSPF and L2VPN (update) (1).pdf
Sharing Knowledge Day 1 OSPF and L2VPN (update) (1).pdfSharing Knowledge Day 1 OSPF and L2VPN (update) (1).pdf
Sharing Knowledge Day 1 OSPF and L2VPN (update) (1).pdfabdurrahmanalfaruqi1
 
05. JNA Mengkonfigurasi Routing Pada Perangkat Jaringan Antar Autonomous Syst...
05. JNA Mengkonfigurasi Routing Pada Perangkat Jaringan Antar Autonomous Syst...05. JNA Mengkonfigurasi Routing Pada Perangkat Jaringan Antar Autonomous Syst...
05. JNA Mengkonfigurasi Routing Pada Perangkat Jaringan Antar Autonomous Syst...PutraBlacknikonTea
 
09-10 -Bahan Ajar Pelatihan Daring Junior Network Administrator Program new.pptx
09-10 -Bahan Ajar Pelatihan Daring Junior Network Administrator Program new.pptx09-10 -Bahan Ajar Pelatihan Daring Junior Network Administrator Program new.pptx
09-10 -Bahan Ajar Pelatihan Daring Junior Network Administrator Program new.pptxPutraBlacknikonTea
 
P7-ROUTING DINAMIS-OSPF.pptx
P7-ROUTING DINAMIS-OSPF.pptxP7-ROUTING DINAMIS-OSPF.pptx
P7-ROUTING DINAMIS-OSPF.pptxsmk methodist-8
 
Tugas Manajemen Jaringan Komputer (Routing)
Tugas Manajemen Jaringan Komputer (Routing)Tugas Manajemen Jaringan Komputer (Routing)
Tugas Manajemen Jaringan Komputer (Routing)Veliany Khosasih
 
09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routingsetioariwibowo
 
09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routingindonesia
 
Routing protocol
Routing protocolRouting protocol
Routing protocolengguh123
 
Routing dan Macam-Macam Routing
Routing dan Macam-Macam RoutingRouting dan Macam-Macam Routing
Routing dan Macam-Macam RoutingOctavio Dakosta
 
Routing protocol(revisi)
Routing protocol(revisi)Routing protocol(revisi)
Routing protocol(revisi)ismailnursidiq
 
Materi PPT AIJ - Media Routing Dinamis.pptx
Materi PPT AIJ - Media Routing Dinamis.pptxMateri PPT AIJ - Media Routing Dinamis.pptx
Materi PPT AIJ - Media Routing Dinamis.pptxHendrikAlfarisi
 
ANALISIS DAN PERANCANGAN JARINGAN DUA GEDUNG EMPAT LANTAI MENGGUNAKAN TEKNIK ...
ANALISIS DAN PERANCANGAN JARINGAN DUA GEDUNG EMPAT LANTAI MENGGUNAKAN TEKNIK ...ANALISIS DAN PERANCANGAN JARINGAN DUA GEDUNG EMPAT LANTAI MENGGUNAKAN TEKNIK ...
ANALISIS DAN PERANCANGAN JARINGAN DUA GEDUNG EMPAT LANTAI MENGGUNAKAN TEKNIK ...Sylvia Dianita
 

Similar to Modul routing dinamik (20)

Protokol routing
Protokol routingProtokol routing
Protokol routing
 
Konsep Routing - v2.pptx
Konsep Routing - v2.pptxKonsep Routing - v2.pptx
Konsep Routing - v2.pptx
 
Sharing Knowledge Day 1 OSPF and L2VPN (update) (1).pdf
Sharing Knowledge Day 1 OSPF and L2VPN (update) (1).pdfSharing Knowledge Day 1 OSPF and L2VPN (update) (1).pdf
Sharing Knowledge Day 1 OSPF and L2VPN (update) (1).pdf
 
05. JNA Mengkonfigurasi Routing Pada Perangkat Jaringan Antar Autonomous Syst...
05. JNA Mengkonfigurasi Routing Pada Perangkat Jaringan Antar Autonomous Syst...05. JNA Mengkonfigurasi Routing Pada Perangkat Jaringan Antar Autonomous Syst...
05. JNA Mengkonfigurasi Routing Pada Perangkat Jaringan Antar Autonomous Syst...
 
09-10 -Bahan Ajar Pelatihan Daring Junior Network Administrator Program new.pptx
09-10 -Bahan Ajar Pelatihan Daring Junior Network Administrator Program new.pptx09-10 -Bahan Ajar Pelatihan Daring Junior Network Administrator Program new.pptx
09-10 -Bahan Ajar Pelatihan Daring Junior Network Administrator Program new.pptx
 
P7-ROUTING DINAMIS-OSPF.pptx
P7-ROUTING DINAMIS-OSPF.pptxP7-ROUTING DINAMIS-OSPF.pptx
P7-ROUTING DINAMIS-OSPF.pptx
 
Laporan routing ospf
Laporan routing ospfLaporan routing ospf
Laporan routing ospf
 
Tugas Manajemen Jaringan Komputer (Routing)
Tugas Manajemen Jaringan Komputer (Routing)Tugas Manajemen Jaringan Komputer (Routing)
Tugas Manajemen Jaringan Komputer (Routing)
 
10.pptx
10.pptx10.pptx
10.pptx
 
09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing
 
09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing09module 20 static-routing-dynamic-routing
09module 20 static-routing-dynamic-routing
 
Bahan persentasi rip igrp 1
Bahan persentasi rip igrp 1Bahan persentasi rip igrp 1
Bahan persentasi rip igrp 1
 
Routing protocol
Routing protocolRouting protocol
Routing protocol
 
Routing dan Macam-Macam Routing
Routing dan Macam-Macam RoutingRouting dan Macam-Macam Routing
Routing dan Macam-Macam Routing
 
Routing
RoutingRouting
Routing
 
Routing
RoutingRouting
Routing
 
Routing protocol(revisi)
Routing protocol(revisi)Routing protocol(revisi)
Routing protocol(revisi)
 
Materi PPT AIJ - Media Routing Dinamis.pptx
Materi PPT AIJ - Media Routing Dinamis.pptxMateri PPT AIJ - Media Routing Dinamis.pptx
Materi PPT AIJ - Media Routing Dinamis.pptx
 
ANALISIS DAN PERANCANGAN JARINGAN DUA GEDUNG EMPAT LANTAI MENGGUNAKAN TEKNIK ...
ANALISIS DAN PERANCANGAN JARINGAN DUA GEDUNG EMPAT LANTAI MENGGUNAKAN TEKNIK ...ANALISIS DAN PERANCANGAN JARINGAN DUA GEDUNG EMPAT LANTAI MENGGUNAKAN TEKNIK ...
ANALISIS DAN PERANCANGAN JARINGAN DUA GEDUNG EMPAT LANTAI MENGGUNAKAN TEKNIK ...
 
Makalah routing
Makalah routingMakalah routing
Makalah routing
 

Modul routing dinamik

  • 1. Routing Dinamik Divisi Training PT UFOAKSES SUKSES LUARBIASA Jakarta nux@ufoakses.co.id
  • 2. Dinamik routing protokol Mikrotik Router OS mendukung − Open Shortest Path First ( OSPF ) − Routing information Protokol ( RIP ) − Border Gateway Protokol ( BGP ) Mikrotik router OS tidak mendukung − Interior gateway routing protokol ( IGRP ) − Enchanced interior gateway routing protokol ( EIGRP )
  • 3. Fungsi Dinamik Routing Digunakan untuk : − Secara otomatis membentuk informasi routing − Membuat fail over conection − Load balancing
  • 4. Dimana menggunakan Dinamik routing RIP dan OSPF menggunakan autonomous system ( AS ) BGP menggunakan beberapa autonomous systems ( antar AS number / eBGP atau antar router dalam AS number /iBGP )
  • 6. OSPF OSPF adalah linkstate protokol dimana dapat memelihara rute dalam dinamik network struktur dan dapat dibangun beberapa bagian dari subnetwork. OSPF lebih effisien daripada RIP Antara RIP dan OSPF menggunakan didalam Autonomous System ( AS ) Menggunakan protokol Broadcast
  • 7. Kapan menggunakan OSPF Mendistribusi ulang rute dan memasukkan default rute ke dalam area Untuk membuat backups link MPLS
  • 8. OSPF Area dan Routers
  • 9. Tipe router OSPF Internal routers ( di dalam area ) Backbone router ( di dalam area 0 ) Area Border router ( ABR ) − Berada antara 2 atau lebih area dan harus menyentuh area 0 Autonomous system boundary routers ( ASBR ) − Mendistribusi ulang informasi routing dan routing protokol yang lain
  • 10. OSPF dalam routerOS Mikrotik router OS diimplementasikan dalam OSPF version 2 ( RFC 2328 ) Routing package harus diinstall OSPF menggunakan protokol 89 untuk komunikasi dengan tetangga ( neighbour ) dan jangan di filter di firewall Tracking connection harus dienable .( ip firewall connection tracking )
  • 11. Tipe metric Tipe 1 − Eksternal metrik yang diekspresikan dalam beberapa unit sebagai harga ospf interface Tipe 2 − Eksternal metrik untuk mencapai harga ospf interface yang lebih besar kepada AS number.
  • 12. OSPF router ID Router ID harus unik diantara AS number Router ID dapat default sebagai 0.0.0.0 Tanda lebih besar untuk router dapat digunakan
  • 13. OSPF default Route Tinggalkan distibute default route untuk tidak lebih rendah sebagai ASBR /routing ospf Set distribute-default=as-type-1
  • 14. OSPF route redistribution Set redistribute connected routes ( dan statik route ) − /routing ospf − set-redistribute-connected=as-type-1 − set-redistributed-static=as-type-1 Jika menggunakan RIP atau BGP boleh digunakan redistribute routes untuk mempelajari protokol routing
  • 15. Area Number Area didefinisikan dengan 32 bit nomer dalam format alamat ip 0.0.0.0 disiapkan untuk backbone area Semua area harus konek ke area 0.0.0.0 Konfigurasi − /routing ospf area pr − Add name=internal1 area-id=0.0.0.1
  • 16. Jaringan 1 OSPF Tambahkan network secara spesifik interface dimana dibutuhkan OSPF berjalan dalam area Alamat jaringan seharusnya termasuk alamat interface − /routing ospf network − Add network=10.10.10.0/24 area=backbone − Untuk point to point alamat network harus /32
  • 17. Jika dibutuhkan set interface cost : − /routing ospf interface − Add interface=wlan1 cost=10 Untuk lebih cepat respon maka diset hello interval 7 , router dead interval=10 untuk semua router
  • 18. OSPF neighbor States Neigbor status dapat dijelaskan sbb : Full = link state database komplet terjalin 2-way = komunikasi 2 arah telah terjadi Down, Attempt, Init, loading, extart = tidak lengkap berjalan
  • 19. OSPF Table Route /ip route print DIO = invalid connected route ditambahkan oleh OSPF bahwa OSPF telah jalan pada sebuah interface Equal Cost multipath route mempunyai tujuan address dan gateway dipisahkan oleh ,
  • 20. OSPF trouble shooting Cek mikrotik neighbor − /ip neighbor print Cek ospf neighbor − /routing ospf neighbor print Cek route − /ip route pr Cek logs − /system loging − Add topics=ospf info action=memory
  • 32. OSPF Area dan Networks
  • 33. OSPF Neigh dan Tabel Route
  • 34. Alternative to ospf backup Gunakan netwatch untuk menjalankan script untuk merubah routing Bridging menggunakan EoIP tunnel atau WDS Untuk bridging : − Set spanning tree protokol − Gunakan port cost argument untuk path yang digunakan
  • 35. BGP Border gateway protokol adalah inter- autonomous system routing protokol BGP utama digunakan untuk merubah informasi network dengan BGP system yang lain Mikrotik menerapkan BGP versi 4 ( RFC 1771 )
  • 38. Konfigurasi Peer Spesifikasi BGP peer dengan siapa kita akan merubah informasi routing − Peer 1 untuk ASBR 1. Peer 2 untuk ASBR 2 BGP akan merubah informasi routing hanya jika telah terjadi koneksi sebagai koneksi TCP untuk peernya. − Tcp port 179 harus dibuka di firewall Kita dapat menambahkan banyak peer
  • 39. Argument spesifik Peer Multihop = yes , jika peer tidak sama dengan network. Route reflect = yes , jika kedua peer ke AS dan kita akan meredistribute route untuk mempelajari darinya Prefix list in dan Out untuk mengontrol route redistribusi.
  • 40. Prefik List Digunakan oleh RIP dan BGP untuk mengontrol route advertise untuk router yang lain dan menfilter route dari nya Prefiks list mempunyai nama dan default aksi untuk list Default action digunakan untuk router jangan samakan rule dari list. Prefiks list=kelas Rute Prefiks Length=panjang Rute dalam bits
  • 41. Prefiks list 203.12.1.2/24 berbeda network dengan 203.12.1.2/20
  • 42. Prefiks list Rules Prefix adlah network prefix yang disamakan Prefix lenght adalah panjang dari prefix dalam satuan bits Contoh prefix list − 0.0.0.0/0 prefix lenght=0 contoh alamat tujuan = 0.0.0.0 ( default destination ) − 0.0.0.0/0 prefix lenght=0-32 > any destination − 10.0.0.0/8 prefix lenght=17-32 > 10.0.4.0/17;10.5.0.0/24
  • 43. Property Description BGP as ( integer : 0 ..65535 ) - BGP autonomous system number name ( name ; default: "" ) - BGP instance name out-filter ( name ; default: "" ) - output routing filter used by this BGP instance redistribute-connected ( yes | no ; default: no ) - if enabled, the router will redistribute the information about all connected routes, i.e., routes to the networks that can be directly reached
  • 44. redistribute-ospf ( yes | no ; default: no ) - if enabled, the router will redistribute the information about all routes learned by the OSPF protocol redistribute-other-bgp ( yes | no ; default: no ) - specifies whether this BGP instance should redistribute to its peers routes learned by other BGP instances redistribute-rip ( yes | no ; default: no ) - if enabled, the router will redistribute the information about all routes learned by RIP protocol
  • 45. redistribute-static ( yes | no ; default: no ) - if enabled, the router will redistribute the information about all static routes added to its routing database, i.e., routes that have been created using the /ip route add command on the router router-id ( IP address ; default: 0.0.0.0 ) - the router identification string in form of an IP address. If no router-id is specified, it will be selected automatically based on the routing information
  • 46. Peers
  • 47. Property Description BGP Peer hold-time ( time ) - specifies the BGP Hold Time value to use when negotiating with peers. According to BGP specifications, if router does not receive successive KEEPALIVE and/or UPDATE and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message, then the BGP connection to the peer will be closed in-filter ( name ; default: "" ) - name of the routing filter that is applied to incoming routing update messages
  • 48. keepalive-time ( time ) - specifies the time interval between successive KEEPALIVE messages.BGP process will negotiate the keepalive time with the neighbour upon connection establishment. multihop ( yes | no ; default: no ) - if enabled, allows BGP sessions, even when the neighbour is not on a directly connected segment. The multihop session is not established if the only route to the multi-hop peer's address is the default route (0.0.0.0/0) out-filter ( name ; default: "" ) - name of the routing filter that is applied to outgoing routing update messages
  • 49. remote-address ( IP address ; default: 0.0.0.0 ) - address of the remote peer remote-as ( integer ; default: 0 ) - AS number of the remote peer
  • 50. BGP Routing Filters Border Gateway Protocol (BGP) Routing filters allow to alter attributes of the route for the NLRI prefixes or completely exclude particular NLRI prefixes with routes from the BGP routing update message These policies are implemented as rules organized in chains action ( accept | discard | jump | none | reject | return