Network labs Docs Open simulator →

VLANs: configure access ports

Create two VLANs on a switch, assign access ports, and verify that hosts in different VLANs cannot reach each other even when they share an IP subnet.

Open this lab in your browser →

Free · no install · no account

Scenario

VLANs partition broadcast domains logically on a switch. Hosts in different VLANs cannot reach each other without a router — even if they sit on the same IP subnet.

Topology

1 × switch, 4 × router · Cisco IOS-style

What you will do

  1. On SW1, create VLAN 10 named SALES.

  2. Create a second VLAN 20 on SW1 named ENGINEERING.

  3. Make Eth0 and Eth1 access ports in VLAN 10.

  4. Make Eth2 and Eth3 access ports in VLAN 20.

Open this lab in your browser →

More labs on this topic

This lab in other languages

VLANs: Access-Ports konfigurierenVLANs: configurar puertos de accesoVLANs: configurando portas de acessoVLAN : configurer des ports d'accèsVLANs: access ports कॉन्फ़िगर करेंVLAN:配置 access 端口VLAN: configurare porte accessVLAN: access ポートを設定するVLAN: access 포트 구성VLAN: настройка access-портовVLAN: access port'ları yapılandırVLAN: cấu hình các cổng access