Kontakt

VLANs im Netzwerk – Einfache VLAN-Anleitung für CCNA

Startseite / Blog

6 Min. Lesezeit
ZILL E ALI2. Juli 2025Cisco-Netzwerk

VLANs Networking CCNA Leitfaden: Warum VLANs verwenden?

Dieser VLANs Networking CCNA Leitfaden beginnt mit dem Problem, das VLANs tatsächlich lösen.

VLANs (Virtual Local Area Networks) ermöglichen es Ihnen ein physisches Netzwerk zu segmentieren in mehrere logische Netzwerke. Anstatt mehr Switches zu kaufen, können Sie VLANs verwenden, um:

  • Sicherheit verbessern
  • Abteilungen organisieren
  • Unnötigen Datenverkehr reduzieren

Betrachten Sie VLANs als virtuelle Wände innerhalb eines physischen Netzwerks.

Was ist ein VLAN?

VLANs networking CCNA guide diagram showing one switch split into VLAN 10 and VLAN 20 broadcast domains
VLANs Networking CCNA Leitfaden: ein physischer Switch, logisch in zwei separate Broadcast-Domänen segmentiert.

Ein VLAN ist ein logische Gruppe von Geräten im selben Netzwerk, selbst wenn sie nicht physisch mit demselben Switch oder Port verbunden sind.

Zum Beispiel:

  • VLAN 10 – Buchhaltung
  • VLAN 20 – Personal
  • VLAN 30 – IT

Jedes VLAN verhält sich wie sein eigenes Subnetz.

Warum sind VLANs wichtig?

Vorteile von VLANs:

  • ✅ Sicherheit: Sensible Geräte isolieren (z. B. Personal, Finanzen)
  • ✅ Leistung: Broadcast-Verkehr reduzieren
  • ✅ Skalierbarkeit: Hinzufügen/Entfernen von Benutzern ohne Neuverkabelung
  • ✅ Vereinfachte Verwaltung: Logische Gruppierung über physische Anordnung

VLANs in der CCNA-Prüfung

VLANs sind Kern-Themen im CCNA Switching. Sie müssen verstehen:

  • VLAN-Erstellung und -Zuweisung
  • VLAN-Trunking
  • Inter-VLAN-Routing
  • Default VLANs and native VLANs
  • VLAN IDs and tagging (802.1Q)

How to Configure a VLAN (Cisco CLI)

Let’s say you want to create VLAN 10 and assign it to a port.

✅ You just created VLAN 10 and assigned it to port Fa0/1.

VLAN Access vs Trunk Ports

Typ Beschreibung
Access Port Connects to end devices, carries traffic for one VLAN
Trunk Port Connects to another switch, carries multiple VLANs

Trunk ports tag traffic with VLAN IDs using the 802.1Q protocol.

Verifying VLANs on a Switch

Configuring a VLAN and confirming it actually works are two different skills, and the CCNA exam tests both. These three commands answer almost every “why isn’t this VLAN working” question:

Switch# show vlan brief
Switch# show interfaces trunk
Switch# show interfaces fastethernet 0/1 switchport

show vlan brief confirms the VLAN exists and which ports are assigned to it – a surprisingly common exam trap is a VLAN that was created but never actually assigned to the port you expect. show interfaces trunk confirms a trunk link is actually trunking and which VLANs are allowed across it – a trunk port that looks correctly configured but is not in the allowed VLAN list will silently drop that VLAN’s traffic. show interfaces ... switchport on a single port shows its exact mode (access or trunk), its assigned VLAN, and its native VLAN in one place.

VTP: A Word of Caution

VLAN Trunking Protocol (VTP) synchronizes VLAN databases across multiple switches automatically, which sounds convenient until a switch with a higher VTP revision number joins the network and silently overwrites every other switch’s VLAN database – including deleting VLANs that were never meant to be removed. This is a real, well-documented outage pattern, not a theoretical risk, and it is exactly why most production networks either run VTP in transparent mode (the switch keeps its own VLAN database and does not participate in synchronization) or avoid VTP entirely in favor of manually configuring VLANs on each switch:

Switch(config)# vtp mode transparent

For the CCNA exam, know how VTP works and what the three modes (server, client, transparent) do. For a real network, transparent mode or manual VLAN management is the safer default.

CCNA Packet Tracer Lab – VLANs in Action

Szenario:

You have two switches and two departments – Sales and HR.

  • VLAN 10 – Sales (PC0, PC1)
  • VLAN 20 – HR (PC2, PC3)

Steps:

  1. Create VLANs on both switches
  2. Assign access ports
  3. Configure a trunk link between switches
  4. Verify connectivity (same VLAN can ping, different VLANs can’t)

🧠 Tip: You’ll need Inter-VLAN-Routing if devices from different VLANs need to communicate.


🌐 Inter-VLAN Routing

Since VLANs are separate broadcast domains, devices in different VLANs can’t talk unless a router or Layer 3 switch routes traffic between them.

Inter-VLAN Routing via Router-on-a-Stick

📌 Each sub-interface handles one VLAN.

Native VLAN – What You Should Know

Die native VLAN is the untagged VLAN on a trunk port.

  • By default, it’s VLAN 1
  • Both sides of the trunk should use the same native VLAN
  • Security best practice: change the native VLAN to a different unused VLAN

Voice VLANs

A Cisco IP phone with a PC plugged into its back port needs two VLANs on one physical access port – a data VLAN for the PC and a separate voice VLAN for the phone’s own traffic, tagged even though the port is technically an access port. This is configured with a dedicated command, not a second access VLAN:

Switch(config-if)# switchport access vlan 10
Switch(config-if)# switchport voice vlan 150

The voice VLAN keeps phone traffic (which is latency-sensitive) logically separated from PC data traffic on the same cable run, without needing a second physical port or a second cable to the desk. This is a real, common CCNA 200-301 exam topic and a real-world configuration on almost every office deployment that uses Cisco IP phones.

Real-Life VLAN Use Case

Hospital Network Example:

  • VLAN 10: Doctors
  • VLAN 20: Admin
  • VLAN 30: Patient Monitoring
  • VLAN 40: Surveillance

Each group is logically separated, ensuring privacy and performance without buying extra switches.

✅ Routing Explained for CCNA

✅ Subnetting‑Leitfaden

🌐 Cisco VLAN Configuration Guide

🌐 802.1Q VLAN Tagging – IEEE Overview

FAQ – VLANs

What is a VLAN in simple terms?

A VLAN is a logical group of network devices that act as if they’re on the same network, even if physically separated.

Why are VLANs used?

To segment networks for better performance, security, and management.

What is VLAN tagging?

It’s the process of adding a VLAN ID to a frame (802.1Q) so trunk links can identify which VLAN the data belongs to.

How do VLANs communicate?

They need Inter-VLAN-Routing, typically done by a router or Layer 3 switch.

What is the default VLAN?

It’s VLAN 1, assigned to all ports by default on Cisco switches. It’s best practice to move devices off VLAN 1 for security.

Wenn Sie lieber jemanden haben möchten, der Ihnen Schritt für Schritt durch das Ganze führt, oder ein bestimmtes Packet Tracer-Labor erledigt und erklärt haben möchten, anstatt es allein herauszufinden, sehen Sie sich die CCNA- & Packet-Tracer-Nachhilfe Seite, wie das funktioniert.

Geschrieben von

ZILL E ALI

MTCNA- und MTCRE-zertifizierter Netzwerkingenieur und ISP-Infrastrukturspezialist sowie Gründer von Developer Zon. Schreibt hier über MikroTik, Cisco, ISP-Infrastruktur und gelegentlich über Build-Logs.

Antwort hinterlassen

Diese Seite verwendet Akismet, um Spam zu reduzieren. Erfahren Sie, wie Ihre Kommentardaten verarbeitet werden.