Terbuka untuk Kesempatan PKL / Magang
Kembali ke Topologi

Enterprise VLAN & Inter-VLAN Router-on-a-Stick

Infrastruktur enterprise terpadu memadukan Inter-VLAN Subinterfaces, DHCP Dynamic Pool, OSPF 100 & EIGRP 10 Redistribution pada Multilayer Switch, GRE Tunnel 100.100.100.0/30, serta Standard & Extended ACL.

Cisco Packet TracerInter-VLAN 802.1QDHCP Server /28OSPF 100EIGRP 10GRE TunnelExtended ACL
Enterprise VLAN & Inter-VLAN Router-on-a-Stick

Panduan Konfigurasi & Lab Step-by-Step

1

Pendahuluan & Konsep Arsitektur Enterprise Hybrid

Topologi Enterprise Multi-Segment & Hybrid Routing ini menggabungkan beberapa teknologi fundamental dalam satu infrastruktur terintegrasi:

•VLAN & Router-on-a-Stick (802.1Q): Memisahkan traffic broadcast departemen ke dalam VLAN 10, 20, 21, 30, dan 40 dengan prefix efisien /28 (14 host per subnet).
•DHCP Service: Alokasi IP dinamis otomatis via DHCP Server lokal (192.168.10.2) dengan ip helper-address serta DHCP Pool onboard pada Router.
•Hybrid Dynamic Routing: Menghubungkan domain routing OSPF 100 dan EIGRP 10 melalui Mutual Route Redistribution pada Core Multilayer Switch 3560.
•Site-to-Site GRE Tunnel: Menghubungkan jaringan cabang privat melalui antarmuka virtual Tunnel (100.100.100.0/30).
•Extended ACL Security Policy: Mengontrol akses spesifik (membedakan izin traffic Web HTTP port 80 dan PING ICMP ke Server Pusat).

---

2

Skenario & Tabel Pengalamatan IP (Addressing Table)

PerangkatInterface / VLANIP AddressSubnet MaskDefault GatewayFungsi / Keterangan
Branch-LeftGig0/0.10192.168.10.1255.255.255.240 (/28)-Gateway VLAN 10 (DHCP Server LAN)
Branch-LeftGig0/0.20192.168.20.1255.255.255.240 (/28)-Gateway VLAN 20 (Staff LAN)
Branch-LeftGig0/0.21192.168.21.1255.255.255.240 (/28)-Gateway VLAN 21 (Management LAN)
Branch-LeftGig0/110.10.10.2255.255.255.248 (/29)-Uplink ke Core MLS (OSPF 100)
Core-MLS 3560Gig1/0/110.10.10.1255.255.255.248 (/29)-Link ke Branch-Left (OSPF 100)
Core-MLS 3560Gig1/0/211.11.11.1255.255.255.248 (/29)-Link ke Transit Router (OSPF 100)
Core-MLS 3560Gig1/0/321.21.21.1255.255.255.248 (/29)-Link ke Branch-Right Link 2 (EIGRP 10)
Core-MLS 3560Gig1/0/420.20.20.1255.255.255.248 (/29)-Link ke Branch-Right Link 1 (EIGRP 10)
Core-MLS 3560Gig1/0/58.8.8.1255.255.255.240 (/28)-Central Google/Web Server Gateway
Branch-RightGig0/020.20.20.2255.255.255.248 (/29)-Uplink ke Core MLS (EIGRP 10)
Branch-RightGig0/1.30192.168.30.1255.255.255.240 (/28)-Gateway VLAN 30 (Block Web Only)
Branch-RightGig0/1.40192.168.40.1255.255.255.240 (/28)-Gateway VLAN 40 (Block Ping Only)
Central ServerFastEthernet08.8.8.8255.255.255.240 (/28)8.8.8.1Central HTTP & DNS Server

---

3

Langkah-Langkah Konfigurasi (Step-by-Step Configuration)

Langkah 1: Subinterfaces Router-on-a-Stick & DHCP Relay pada Branch-Router-Left

Router> enable
Router# configure terminal
Router(config)# hostname Branch-Router-Left
 
// Subinterface VLAN 10
Branch-Router-Left(config)# interface GigabitEthernet0/0.10
Branch-Router-Left(config-subif)# encapsulation dot1Q 10
Branch-Router-Left(config-subif)# ip address 192.168.10.1 255.255.255.240
Branch-Router-Left(config-subif)# ip helper-address 192.168.10.2
Branch-Router-Left(config-subif)# exit
 
// Subinterface VLAN 20
Branch-Router-Left(config)# interface GigabitEthernet0/0.20
Branch-Router-Left(config-subif)# encapsulation dot1Q 20
Branch-Router-Left(config-subif)# ip address 192.168.20.1 255.255.255.240
Branch-Router-Left(config-subif)# ip helper-address 192.168.10.2
Branch-Router-Left(config-subif)# exit
 
// Subinterface VLAN 21
Branch-Router-Left(config)# interface GigabitEthernet0/0.21
Branch-Router-Left(config-subif)# encapsulation dot1Q 21
Branch-Router-Left(config-subif)# ip address 192.168.21.1 255.255.255.240
Branch-Router-Left(config-subif)# ip helper-address 192.168.10.2
Branch-Router-Left(config-subif)# exit
 
// Aktifkan Interface Fisik
Branch-Router-Left(config)# interface GigabitEthernet0/0
Branch-Router-Left(config-if)# no shutdown
Branch-Router-Left(config-if)# exit
 
// Uplink & OSPF Routing
Branch-Router-Left(config)# interface GigabitEthernet0/1
Branch-Router-Left(config-if)# ip address 10.10.10.2 255.255.255.248
Branch-Router-Left(config-if)# no shutdown
Branch-Router-Left(config-if)# exit
 
Branch-Router-Left(config)# router ospf 100
Branch-Router-Left(config-router)# router-id 2.2.2.2
Branch-Router-Left(config-router)# network 10.10.10.0 0.0.0.7 area 0
Branch-Router-Left(config-router)# network 192.168.10.0 0.0.0.15 area 0
Branch-Router-Left(config-router)# network 192.168.20.0 0.0.0.15 area 0
Branch-Router-Left(config-router)# network 192.168.21.0 0.0.0.15 area 0
Branch-Router-Left(config-router)# exit

Langkah 2: Konfigurasi Core Multilayer Switch 3560 (Redistribution OSPF & EIGRP)

Switch> enable
Switch# configure terminal
Switch(config)# hostname Core-MultilayerSwitch
Switch(config)# ip routing
 
// Konfigurasi Port Routed (no switchport)
Switch(config)# interface GigabitEthernet1/0/1
Switch(config-if)# no switchport
Switch(config-if)# ip address 10.10.10.1 255.255.255.248
Switch(config-if)# exit
 
Switch(config)# interface GigabitEthernet1/0/4
Switch(config-if)# no switchport
Switch(config-if)# ip address 20.20.20.1 255.255.255.248
Switch(config-if)# exit
 
Switch(config)# interface GigabitEthernet1/0/5
Switch(config-if)# no switchport
Switch(config-if)# ip address 8.8.8.1 255.255.255.240
Switch(config-if)# exit
 
// OSPF 100 dengan Redistribusi EIGRP
Switch(config)# router ospf 100
Switch(config-router)# router-id 1.1.1.1
Switch(config-router)# network 10.10.10.0 0.0.0.7 area 0
Switch(config-router)# network 8.8.8.0 0.0.0.15 area 0
Switch(config-router)# redistribute eigrp 10 subnets
Switch(config-router)# exit
 
// EIGRP 10 dengan Redistribusi OSPF
Switch(config)# router eigrp 10
Switch(config-router)# network 20.20.20.0 0.0.0.7
Switch(config-router)# redistribute ospf 100 metric 10000 100 255 1 1500
Switch(config-router)# exit

Langkah 3: Konfigurasi Branch-Router-Right (DHCP Onboard & Extended ACL)

Router> enable
Router# configure terminal
Router(config)# hostname Branch-Router-Right
 
// DHCP Pool Onboard
Branch-Router-Right(config)# ip dhcp pool VLAN30_RIGHT
Branch-Router-Right(dhcp-config)# network 192.168.30.0 255.255.255.240
Branch-Router-Right(dhcp-config)# default-router 192.168.30.1
Branch-Router-Right(dhcp-config)# exit
 
Branch-Router-Right(config)# ip dhcp pool VLAN40_RIGHT
Branch-Router-Right(dhcp-config)# network 192.168.40.0 255.255.255.240
Branch-Router-Right(dhcp-config)# default-router 192.168.40.1
Branch-Router-Right(dhcp-config)# exit
 
// Extended ACL Policies
Branch-Router-Right(config)# ip access-list extended BLOCK-WEB-ONLY
Branch-Router-Right(config-ext-nacl)# permit icmp any host 8.8.8.8
Branch-Router-Right(config-ext-nacl)# deny tcp any host 8.8.8.8 eq 80
Branch-Router-Right(config-ext-nacl)# permit ip any any
Branch-Router-Right(config-ext-nacl)# exit
 
Branch-Router-Right(config)# ip access-list extended BLOCK-PING-ONLY
Branch-Router-Right(config-ext-nacl)# permit tcp any host 8.8.8.8 eq 80
Branch-Router-Right(config-ext-nacl)# deny icmp any host 8.8.8.8
Branch-Router-Right(config-ext-nacl)# permit ip any any
Branch-Router-Right(config-ext-nacl)# exit
 
// Penerapan ke Subinterface
Branch-Router-Right(config)# interface GigabitEthernet0/1.30
Branch-Router-Right(config-subif)# encapsulation dot1Q 30
Branch-Router-Right(config-subif)# ip address 192.168.30.1 255.255.255.240
Branch-Router-Right(config-subif)# ip access-group BLOCK-WEB-ONLY in
Branch-Router-Right(config-subif)# exit
 
Branch-Router-Right(config)# interface GigabitEthernet0/1.40
Branch-Router-Right(config-subif)# encapsulation dot1Q 40
Branch-Router-Right(config-subif)# ip address 192.168.40.1 255.255.255.240
Branch-Router-Right(config-subif)# ip access-group BLOCK-PING-ONLY in
Branch-Router-Right(config-subif)# exit

---

4

Pengujian & Verifikasi (Testing & Verification)

A. Verifikasi Tabel Routing OSPF & EIGRP pada Core-MLS

Core-MultilayerSwitch# show ip route
Gateway of last resort is not set
 
8.0.0.0/28 is subnetted, 1 subnets
C 8.8.8.0 is directly connected, GigabitEthernet1/0/5
10.0.0.0/29 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, GigabitEthernet1/0/1
20.0.0.0/29 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, GigabitEthernet1/0/4
O 192.168.10.0/28 [110/2] via 10.10.10.2, GigabitEthernet1/0/1
O 192.168.20.0/28 [110/2] via 10.10.10.2, GigabitEthernet1/0/1
D EX 192.168.30.0/28 [170/2560512] via 20.20.20.2, GigabitEthernet1/0/4
D EX 192.168.40.0/28 [170/2560512] via 20.20.20.2, GigabitEthernet1/0/4

(Rute dari OSPF masuk sebagai `O` dan rute dari EIGRP masuk sebagai `D EX` External).

B. Pengujian Policy ACL pada VLAN 30 & VLAN 40

1.Host di VLAN 30 (`BLOCK-WEB-ONLY`):
•PING ke 8.8.8.8 -> SUCCESS (Reply received)
•Akses Web Browser HTTP http://8.8.8.8 -> BLOCKED (Request Timeout)
2.Host di VLAN 40 (`BLOCK-PING-ONLY`):
•PING ke 8.8.8.8 -> BLOCKED (Destination host unreachable)
•Akses Web Browser HTTP http://8.8.8.8 -> SUCCESS (Webpage Loaded)

---

5

Analisis Teknis & Kesimpulan

1.Efisiensi Prefix /28: Penggunaan subnet mask 255.255.255.240 menghemat 87.5% alamat IP dibanding menggunakan /24 konvensional di setiap segmen departemen.
2.Mutual Route Redistribution: Penggunaan seed metric yang presisi pada EIGRP (bandwidth delay reliability load mtu) mencegah inkonsistensi routing table antar protokol.