D-Link VLAN Configuration

Learn how to configure 802.1Q VLANs and PVIDs on D-Link Smart Switches.

D-Link VLAN Configuration

In this lesson, we will cover how to configure 802.1Q VLANs on D-Link Smart Switches. Understanding how D-Link handles tagging and PVIDs is essential for properly segregating network traffic.

VLAN Tagging and PVIDs

Unlike Cisco IOS, which uses terms like “Access” and “Trunk” ports, D-Link (and many other web-managed switches) uses terms like Tagged, Untagged, and PVID (Port VLAN ID).

  • Tagged Port: Adds an 802.1Q VLAN tag to egress traffic. Used for connections to other switches or routers.
  • Untagged Port: Removes the VLAN tag on egress. Used for end devices like PCs or printers.
  • PVID: Assigns a default VLAN ID to incoming untagged frames. If a port is untagged in VLAN 20, its PVID should also be set to 20.

Configuration Steps via GUI

Follow these steps to configure a new VLAN and assign ports:

  1. Log into the D-Link Web GUI.
  2. Navigate to L2 Features > VLAN > 802.1Q VLAN.
  3. Create the VLAN:
    • Click Add.
    • Enter a VID (e.g., 20) and a VLAN Name (e.g., Guest).
  4. Assign Ports:
    • Select the ports you want to add to this VLAN.
    • Set them as Untagged (for end devices) or Tagged (for uplinks).
    • Click Apply.
  5. Set PVIDs:
    • Navigate to L2 Features > VLAN > 802.1Q VLAN PVID.
    • Select the ports you set as Untagged in VLAN 20.
    • Change their PVID to 20.
    • Click Apply.