Dasar VLAN dan koneksi



Berpikir “Connected” dalam Network Engineering

Sebelum memulai konfigurasi jaringan, ada beberapa prasyarat penting:

  1. Memahami IP → fungsi, tujuan, kelas IP, subnetting, VLSM, dsb.
  2. Memahami segmentasi jaringan → VLAN, trunking, port, routing, dll.

Fokus utama ketika menghadapi masalah jaringan adalah memastikan “connected/konek/terhubung” terlebih dahulu. Setelah itu baru dipikirkan fitur, service, security, dsb.


Konsep Dasar untuk Berpikir Jaringan

Banyak skenario, topologi, diagram, atau peta jaringan bisa berbeda-beda. Namun jika konsep dasar jaringan sudah dikuasai (IP, VLAN, trunking 802.1q, routing statik/dinamik), InsyaAllah semua topologi bisa dihubungkan.

Intinya: “How to connect, grasp firmly the concept of network.”


Contoh Skenario Sederhana

  1. Menghubungkan 2 PC

    • Gunakan kabel crossover.
    • Pasang IP sesuai kelas IP yang dipilih.
    • Setting IP di sistem operasi → ping antar PC.
  2. Menghubungkan 3 PC

    • Gunakan switch.
    • Pastikan setiap port sudah dikonfig sesuai IP / subnet.
  3. Menghubungkan 10 PC dengan 2 kelompok (A & B)

    • Kelompok A: PC 1–5, Kelompok B: PC 6–10.
    • Jika tidak ingin kedua kelompok saling terhubung, gunakan network berbeda atau VLAN berbeda.
  4. Kelompok C berbeda VLAN tapi bisa terhubung ke A

    • Gunakan VLAN trunking (802.1q).
    • Gunakan router untuk inter-VLAN routing.
  5. Banyak PC tapi hanya punya 1 IP Publik

    • Gunakan NAT / PAT agar semua device bisa mengakses internet.

Prinsip Troubleshooting

Terkadang meski sudah paham konsep, konfigurasi masih bisa bermasalah. Maka kemampuan troubleshooting sangat penting.
Gunakan OSI Layer sebagai panduan:

  1. Layer 1 → cek kabel, konektor, interface fisik.
  2. Layer 2 → cek switch, VLAN, trunking.
    • Contoh command: show switchportshow vlanshow interface
  3. Layer 3 → cek IP, routing, NAT, konektivitas.
    • Contoh command Linux: ip routenetstat -nrpingtraceroute
    • Contoh command Cisco: show ip routeshow ip nat translations

Contoh Konfigurasi Inter-VLAN Routing (Switch)

SW1 – Buat VLAN

SW1(config)# vlan 10
SW1(config-vlan)# name Server
SW1(config)# vlan 20
SW1(config-vlan)# name Client

Konfigurasi Interface ke Router (Trunk)

SW1(config)# interface fastEthernet1/15
SW1(config-if)# switchport mode trunk
SW1(config-if)# switchport trunk encapsulation dot1q

Interface ke Client (Access VLAN 20)

SW1(config)# interface fastEthernet1/10
SW1(config-if)# switchport mode access
SW1(config-if)# switchport access vlan 20

Interface ke Server (Access VLAN 10)

SW1(config)# interface fastEthernet1/0
SW1(config-if)# switchport mode access
SW1(config-if)# switchport access vlan 10

Kesimpulan

  • Fokus utama: konektivitas terlebih dahulu → baru fitur, routing, security, layanan, dsb.
  • Selalu pahami konsep dasar → IP, subnet, VLAN, trunk, routing, NAT, bridge, ACL, VPN, HA, dsb.
  • Gunakan OSI Layer untuk troubleshooting step-by-step.
  • Mulai dari skenario sederhana → tingkatkan ke skenario kompleks.

Happy exploring! =D

Referensi dasar VLAN:
http://nciptandani.blogspot.co.id/2016/08/vlan.html


Komentar

Postingan populer dari blog ini

Cara restart / stop windows service (services.msc) dengan bat / cmd

Learning Haproxy Load Balancer with Podman and Go Backends

Konfigurasi ITNSA OpenVPN auth LDAP