N10-009 ยท Switching
VLANs and SVIs
Purpose of VLANs, VLAN database, access ports and switch virtual interfaces for inter-VLAN routing.
Key points
- A VLAN is a logical broadcast domain carved out of a switch.
- An access port carries traffic for exactly one VLAN, and VLANs are kept in the switch VLAN database (IDs 1-4094).
- Hosts in different VLANs cannot talk at Layer 2, so a Layer 3 interface per VLAN, a switch virtual interface (SVI) with an IP address, acts as the default gateway and routes between them.
Practice questions
What is the main thing a VLAN gives you on a switch?
- Separate broadcast domains on shared hardware
- Encryption of traffic between ports
- Extra bandwidth on every link
- Automatic routing between all ports
Show answer
Answer: A. Separate broadcast domains on shared hardware
Each VLAN is its own broadcast domain, so broadcasts stay inside it. VLANs do not add bandwidth or encrypt traffic.
Which statements about a switch virtual interface (SVI) are true?
- It can act as the default gateway for hosts in its VLAN
- It is configured with an IP address of its own
- It requires one dedicated physical cable per VLAN
- It replaces the VLAN database
- It only works on ports in trunk mode
Show answer
Answer: A. It can act as the default gateway for hosts in its VLAN, B. It is configured with an IP address of its own
An SVI is a logical Layer 3 interface for a VLAN; it needs an IP and serves as the gateway. It is not a physical port and does not replace the VLAN database.
Two hosts in different VLANs on the same switch can talk directly because they share the same hardware.
Show answer
Answer: False
False. Different VLANs are different broadcast domains and subnets; traffic must be routed by a Layer 3 device.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
