To create router on the stick we must create sub-interface in router to assign multiple IP address with different VLAN, each ip is used as client gateway.
Set sub interface with encapsulation dot1q.
Assign IP address appropriate with VLAN prefix.
Untuk Troubleshooting tentang Router on a Stick kali ini memecahkan masalah, bagaimana PC yang beda VLAN bisa saling komunikasi. File Ticket 2.pkt download disini.
Alokasi IP Address :
– PC 0 : 10.10.10.1/24 gw 10.10.10.254
– PC 2 : 10.10.10.2/24 gw 10.10.10.254
– PC 1 : 20.20.20.1/24 gw 20.20.20.254
– PC 3 : 20.20.20.2/24 gw 20.20.20.254
Alokasi VLAN :
– VLAN 10 : PC0 & PC2
– VLAN 20 : PC1 & PC3
Checklis Konfigurasi yang sudah sesuai (tidak perlu dirubah):
– Semua PC sudah sesuai alokasi IP Addressnya
– Switch0 [SW1] sudah sesuai