Prerequisite for learning:
- VLSM IP Addressing
- Understand how Switch and VLAN works
————————————————
A lot of people ask me this question…
“klo kita bisa misahin network dengan cara VLSM, trus buat apa pake VLAN?”
Atau
“kan udah ada VLAN, ngapain lagi mesti dipisah2 IP Network-nya?”
Andddd…this inspire me to write the article….
————————————————-
The Analogy
Look…I’ll describe this problem with these simple way
A subnetwork (or we call it subnet) separation is different groups of people in the same floor
A VLAN Separation is different rooms in the same floor
——————————————————–
The Uses
Subnetwork itu klo lo pengen divisi sales dan divisi finance punya traffic terpisah, masing2 ga ganggu satu sama lain
Misalkan SALES pake IP 192.168.1.0/25 dan FINANCE pake IP 192.168.1.128/25, klo user yang ada di network SALES mau local broadcast (192.168.1.127, last IP for broadcast, remember?!?) dia punya file ke temen2nya yang satu divisi, dia ga akan ganggu user2 yang ada di divisi lain
Sedangkan VLAN itu gunanya untuk bikin 1 switch seakan2 jadi beberapa switch (1 physical switch jadi 2 atau lebih virtual switch, hence the name “V”-LAN), yang masing2 switch itu ga ada mekanisme (by default) untuk bisa ngomong satu sama lain, ini pun bisa berguna untuk misahin traffic
Trus, bedanya apa?
Nah VLAN itu berguna untuk misahin traffic broadcast (lagi), hanya saja bukan broadcast local (Layer 3-Network) seperti subnetwork, tapi broadcast frame (0xFFFFFFFFFFFF)
Contohnya? Buat nyari ARP (ARP Request anyone?!?) or in IPv6 is called NDP – Neighbor Discovery Protocol
Can you guess how it works? Yup…klo ga pake VLAN, semua orang2 itu (walaupun beda subnet)…tetep kena ARP
Another example: DHCP…
In a simple sentence…Subnetwork itu L3 (Network Separation), VLAN itu L2 (Data-Link Separation)
———————————–
The Conclusion
Lu bisa artiin sendiri lah…