IT Toolbox
Menu
HomeVLAN vs Subnetwork: What difference?
Guide

VLAN vs Subnetwork: What difference?

A VLAN segmentes an Ethernet network logically. A subnet cuts the IP address space. They are often associated, but they belong to the network

TopicIT resources → About 2 min read

A VLAN logically segments an Ethernet network. A subnet cuts the IP address space. They are often associated, but they belong to two different layers.

In brief….The clearest design is usually to associate a VLAN with a separate subnet and then control the routing between them.

Solution A….

VLAN

A VLAN creates several logical diffusion domains on the same switching infrastructure.

Key points…

  • Commonly identified by a VLAN number
  • Transported between equipment with marking 802.1Q
  • Separate Ethernet Streams

Solution B….

Sub-network

A subnet defines a range of IP addresses using a network address and a mask.

Key points…

  • Example: 192.168.10.0/24
  • Determine which addresses are local
  • Requires routing to communicate with another sub-network

Comparative table….

Criterion….VLANSub-network
LayerEthernet, layer 2IP, layer 3
IdentifierVLAN IDNetwork address and prefix
Main equipmentAdministerableRouter or firewall
Usual associationOne VLAN per logical areaA subnet by VLAN

Choose VLAN if…

You need to logically isolate ports and limit the domains of diffusion on the Switches.

Choose Subnetwork if…

You need to organize IP addresses and define routes between different beaches.

Key takeaways

The clearest design is usually to associate a VLAN with a separate subnet and then control the routing between them.

Deepening the two notions….

← Back to all comparison…

Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI

My favorites