Computer Networking Basics

On one L2 switch, VLANs are configured so that ports 1–4 are in VLAN 10 and ports 5–8 are in VLAN 20. Which statement about its operation is correct?

  1. ABecause VLAN 10 and VLAN 20 are on the same switch, they can communicate directly without a router
  2. BSplitting into two VLANs halves the speed of each port
  3. CBroadcasts sent by devices in VLAN 10 do not reach VLAN 20 ports, and traffic between VLAN 10 and VLAN 20 needs a router (or L3 switch)
Show answer and explanation

Answer: C. Broadcasts sent by devices in VLAN 10 do not reach VLAN 20 ports, and traffic between VLAN 10 and VLAN 20 needs a router (or L3 switch)

A VLAN (virtual LAN) creates logically separate networks on the same physical equipment, typically on a per-port basis. Each VLAN has its own broadcast domain, the range a broadcast reaches, and the switch forwards frames only between ports in the same VLAN. Traffic between different VLANs, such as VLAN 10 and VLAN 20 in this example, must therefore pass through a router or L3 switch that relays it at layer 3. When VLANs span several switches, a tag (VLAN ID) defined by IEEE 802.1Q is inserted into frames to indicate which VLAN they belong to. VLANs are used to separate networks by department, or to isolate a guest wireless LAN from the internal network.

  • A. The switch does not forward directly between different VLANs, so relaying at layer 3 is needed.
  • B. A VLAN is a logical division; port speeds do not change.
  • C. Correct. Each VLAN is a separate broadcast domain.
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. Which correctly shortens the IPv6 address 2001:0db8:0000:0000:0000:0000:0000:0001 according to the abbreviation rules?
  2. A host has IP address 192.168.1.10 and subnet mask 255.255.255.0. What is the network address of the network it belongs to?
  3. In the network 192.168.5.0/26, how many IP addresses can be assigned to hosts (end devices or router interfaces)?
  4. A host has IP address 192.168.10.77/27. What is the broadcast address of its subnet?
  5. You want to fit 500 hosts in one subnet. Of the subnets that can do this, which is the smallest (has the longest prefix)?