Lab 5: OSPF Multi-Area & Area Border Router (ABR)
๐ฏ Sasaran Praktikum
Mendesain hierarki routing dinamis OSPF multi-area untuk mengurangi penyebaran LSA Type 1 (Router LSA) dan mencegah flooding perubahan topologi di seluruh jaringan enterprise, menggunakan router ABR (Area Border Router).
- Tingkat Kesulitan:
INTERMEDIATE - Estimasi Waktu:
30 Menit - Target RouterOS:
RouterOS v7 (v7.12+ direkomendasikan)
โ๏ธ Analisis Transisi: RouterOS v6 vs RouterOS v7
Topik ini memiliki perbedaan arsitektur dan sintaks CLI penting antara RouterOS v6 dan RouterOS v7:
| Aspek | RouterOS v6 (Legacy) | RouterOS v7 (Modern) |
|---|---|---|
| Menu Konfigurasi Network | /routing ospf network add network=... area=... |
DIHAPUS (digantikan oleh /routing ospf interface-template) |
| Mapping Area ke Interface | Mapping berbasis kecocokan IP network | Pengikatan eksplisit interface atau subnet ke area di Template |
| Multi-Instance Support | Global single-process OSPF v2 | Multi-process native IPv4/IPv6 instance |
Ulasan Arsitektur & Perbedaan Kunci
- RouterOS v6: Di RouterOS v6, multi-area OSPF memerlukan konfigurasi manual pada
/routing ospf areadengan type default/stub/nssa, dan network subnet di-mapping ke area name terkait. - RouterOS v7: Di RouterOS v7, Area Border Router (ABR) mengikat template interface langsung ke area yang bersangkutan (
area=backbonevsarea=area-1). Desain instance lebih terisolasi dan stabil.
Perbandingan CLI Konfigurasi Berdampingan
Perbandingan CLI RouterOS v6
# RouterOS v6 - ABR Multi-Area
/routing ospf area
add name=area-1 area-id=0.0.0.1 type=default
/routing ospf network
add network=172.16.12.0/30 area=backbone
add network=172.16.23.0/30 area=area-1
Perbandingan CLI RouterOS v7 (Rekomendasi Ujian MTCRE Baru)
# RouterOS v7 - ABR Multi-Area
/routing ospf instance
add name=ospf-inst router-id=2.2.2.2
/routing ospf area
add name=backbone instance=ospf-inst area-id=0.0.0.0
add name=area-1 instance=ospf-inst area-id=0.0.0.1
/routing ospf interface-template
add area=backbone networks=172.16.12.0/30 type=ptp
add area=area-1 networks=172.16.23.0/30 type=ptp
โฑ๏ธ Alur Kerja & Timeline Praktikum
| Durasi | Fase Lab | Deskripsi Aktivitas |
|---|---|---|
| 00:00 - 08:00 | Fase 1: Pengalamatan Interkoneksi | Konfigurasi IP link R1-R2 (172.16.12.0/30), R2-R3 (172.16.23.0/30), serta Loopback router. |
| 08:00 - 15:00 | Fase 2: Konfigurasi OSPF R1 (Backbone) | Aktifkan OSPF instance dan template interface pada area backbone di R1. |
| 15:00 - 23:00 | Fase 3: Konfigurasi R2-ABR Multi-Area | Daftarkan area-1 dan asosiasikan interface ether2 ke backbone dan ether3 ke area-1. |
| 23:00 - 30:00 | Fase 4: Verifikasi LSA Type 3 & Inter-Area | Verifikasi pertukaran route berflag Do (Dynamic OSPF) dan LSA Type 3 Summary. |
๐บ๏ธ Topologi Jaringan
[R1: Area 0] <--- (172.16.12.0/30) ---> [R2-ABR: Area 0 & 1] <--- (172.16.23.0/30) ---> [R3: Area 1]
Daftar Perangkat dalam Topologi:
- R1-HQ-Backbone (
mikrotik) - Router-ID:1.1.1.1, Area:backbone (0.0.0.0) - R2-ABR-Gateway (
mikrotik) - Router-ID:2.2.2.2, Area:backbone&area-1 (0.0.0.1) - R3-Branch-Area1 (
mikrotik) - Router-ID:3.3.3.3, Area:area-1 (0.0.0.1) - PC-Remote-Branch (
pc) - IP:192.168.30.10/24
๐ ๏ธ Langkah Demi Langkah Konfigurasi Lengkap (RouterOS v7)
Langkah 1: R2-ABR - Konfigurasi Instance OSPF dan Deklarasi Kedua Area
R2 bertindak sebagai ABR karena memiliki interface yang terhubung ke Area 0 dan area non-backbone.
# Node: R2-ABR-Gateway
/routing ospf instance add name=ospf-inst router-id=2.2.2.2 version=2
/routing ospf area add name=backbone instance=ospf-inst area-id=0.0.0.0
/routing ospf area add name=area-1 instance=ospf-inst area-id=0.0.0.1
Langkah 2: R2-ABR - Konfigurasi Interface Template untuk Masing-Masing Area
Kaitkan link ke arah R1 ke area backbone dan link ke arah R3 ke area-1.
# Node: R2-ABR-Gateway
/routing ospf interface-template
add area=backbone networks=172.16.12.0/30 type=ptp comment="Link ke R1 Area 0"
add area=area-1 networks=172.16.23.0/30 type=ptp comment="Link ke R3 Area 1"
Langkah 3: R1-Backbone & R3-Branch - Konfigurasi Internal Router
Aktifkan konfigurasi OSPF pada kedua router ujung.
# Node: R1-HQ-Backbone (Area 0 Only)
/routing ospf instance add name=ospf-inst router-id=1.1.1.1 version=2
/routing ospf area add name=backbone instance=ospf-inst area-id=0.0.0.0
/routing ospf interface-template add area=backbone networks=172.16.12.0/30 type=ptp
# Node: R3-Branch (Area 1 Only)
/routing ospf instance add name=ospf-inst router-id=3.3.3.3 version=2
/routing ospf area add name=area-1 instance=ospf-inst area-id=0.0.0.1
/routing ospf interface-template add area=area-1 networks=172.16.23.0/30 type=ptp
๐ Pengujian & Verifikasi CLI
Jalankan perintah audit status tetangga OSPF dan routing table di terminal R2-ABR dan R1:
/routing ospf neighbor print
/routing ospf lsa print where type=inter-area-prefix
/ip route print where ospf
Ekspektasi Output Terminal:
[admin@R2-ABR-Gateway] > /routing ospf neighbor print
Flags: D - DYNAMIC
Columns: INSTANCE, AREA, ADDRESS, ROUTER-ID, STATE
# INSTANCE AREA ADDRESS ROUTER-ID STATE
0 D ospf-inst backbone 172.16.12.1 1.1.1.1 Full
1 D ospf-inst area-1 172.16.23.2 3.3.3.3 Full
[admin@R1-HQ-Backbone] > /ip route print where ospf
Flags: D - DYNAMIC; A - ACTIVE; o - OSPF
Columns: DST-ADDRESS, GATEWAY, DISTANCE
# DST-ADDRESS GATEWAY DISTANCE
0 Ao 172.16.23.0/30 172.16.12.2 110
1 Ao 192.168.30.0/24 172.16.12.2 110
โ Checklist Keberhasilan Lab:
- State kedua neighbor di R2-ABR bernilai
Full. - R1 (Area 0) menerima rute dari subnet R3 (Area 1) dengan flag
Ao(Active OSPF). - R3 menerima rute dari subnet Area 0 melalui injeksi Summary LSA Type 3 dari ABR.
- Ping end-to-end dari R1 ke R3 sukses dengan packet loss 0%.
โ ๏ธ Troubleshooting & Catatan Penting
[!WARNING] Area Non-Backbone Wajib Menyentuh Area 0: Aturan fundamental arsitektur OSPF mengharuskan setiap area non-backbone (seperti Area 1) terhubung langsung secara fisik atau logis (via Virtual Link) ke Area 0 (Backbone). Jika Area 1 tidak menyentuh Area 0, routing antar area tidak akan terinjeksi.
[!WARNING] Subnet Mask / MTU Mismatch: Jika status OSPF neighbor tertahan di status
ExStartatauInit, periksa apakah MTU interface di kedua router identik dan subnet mask IP sama persis.
๐ฅ Panduan Lengkap & Resource
Gunakan panduan lengkap seluruh lab MikroTik certification di Panduan Lengkap Skenario Lab MikroTik atau ikuti kelas resmi tatap muka kami di Daftar Pelatihan MikroTik MTCRE.
Topologi Jaringan
Ingin Menguji Praktikum Ini Langsung di Browser?
Gunakan NetLab Studio simulator untuk membuat topologi, menghubungkan kabel, dan mengetes CLI secara interaktif.
Download Lab File
Masukkan email untuk mendapatkan file lab (.rsc, topologi, panduan) dan akses materi latihan lainnya.
Dengan mendaftar, Anda setuju menerima email dari Supono Training. Unsubscribe kapan saja.