2

My question is about the literal and precise meaning of the term "VLAN". According to IEEE 802.1Q-2014, a LAN is a single segment of a medium. A cable connecting a PC to a switch port is a single LAN. I know that is not how we use the term, but that is how it is defined. What we call "the LAN" is defined as a Bridged Local Area Network. So, in practice, most LAN's when the term is correctly used have only one end station and one switch port on them nowadays. So you would expect a Virtual LAN (or VLAN) to be a virtualisation of this. The IEEE standard does indeed define a "VLAN Bridged Network" as a Virtual Bridged Network, so what we call a "VLAN" e.g. VLAN 20 seems to be more accurately described as a VBN. A VLAN itself is defined as "The closure of a set of Media Access Control (MAC) Service Access Points (MSAPs) such that a data request in one MSAP in the set is expected to result in a data indication in another MSAP in the set." Without a bridge, this would refer to a subset of stations on a LAN (single segment), although in practice we never implement this (that I know of). Would anyone like to confirm or refute this?

3
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Dec 25, 2018 at 9:33
  • I think that we have answers to a different question: "What do we mean when we use the term "VLAN"?". I think we don't have an answer to the question: "What is the literal and precise meaning of the term "VLAN" in 802.1Q?".
    – Anthony
    Dec 26, 2018 at 10:11
  • In simple terms Vlan is logically segmentation of network Dec 6, 2020 at 7:54

5 Answers 5

7

A VLAN is a layer 2 construct which separates devices into separate broadcast domains.

A VLAN is a group of devices on one or more LANs that are configured to communicate as if they were attached to the same wire, when in fact they are located on a number of different LAN segments. Because VLANs are based on logical instead of physical connections, they are extremely flexible.

1
  • I think that is what we colloquially call a VLAN. I am not sure it is technically accurate as the 802.1Q use of the term. For example, bridges enable devices to communicate as if they were attached to the same wire. But that is defined as a Bridged LAN or Bridged Network. Likewise the logical set of ports using the same VLAN ID is referred to as a Virtual Bridged LAN or a Virtual Bridged Network. A Virtual Bridged LAN cannot also be a Virtual LAN.
    – Anthony
    Sep 27, 2018 at 17:27
5

IEEE definition are sometimes a bit historical - a wire connecting a node to a switch port is a layer-1 segment (historically, this could also be a shared coax cable with many nodes connected to it, or a collision domain held together with a repeater hub).

A simple switch connects all ports together to a single layer-2 segment or broadcast domain. These ports can directly talk to each other using MAC-addressed frames.

VLANs on managed switches can split the ports into multiple layer-2 segments or broadcast domains. Only ports associated with the same VLAN can directly talk to each other. In addition, you can tag frames between switches to mark their association with a specific VLAN. VLAN trunks between switches can transport tagged frames from multiple VLANs on a single cable.

That way, you can distribute a specific VLAN over your entire physical network, making any port anywhere part of that VLAN as required - without running extra cables.

You can connect different VLANs by using routers - usually, the router also controls what kind of traffic you permit and what kind you deny.

8
  • I think your description refers to what IEEE 802 defines as Bridged Networks and Virtual Bridged Networks. We colloquially call them "VLAN's", just as we call the on-site Ethernet network "the LAN". But this is not the IEEE definition of the term LAN or VLAN.
    – Anthony
    Sep 27, 2018 at 17:36
  • You mean like "3.258 Virtual Local Area Network (VLAN): The closure of a set of Media Access Control (MAC) Service Access Points (MSAPs) such that a data request in one MSAP in the set is expected to result in a data indication in another MSAP in the set." (802.1Q) - this is the same thing. ;-)
    – Zac67
    Sep 27, 2018 at 17:59
  • It is the same thing only if you add a Bridge, which would make it a "3.261 Virtual Local Area Network (VLAN) Bridged Network: A Virtual Bridged Network"
    – Anthony
    Sep 27, 2018 at 18:02
  • A switch is a bridge. Non-switched LANs (L2 segments) are a thing of the past.
    – Zac67
    Sep 27, 2018 at 18:09
  • I am talking about the 802.1Q standard. It does not use the term "switch". A Layer 2 switch is a device that implements 802.1 bridging.
    – Anthony
    Sep 27, 2018 at 18:13
3

Specifically answering about whether we implement VLANs without bridging.

Without a bridge, this would refer to a subset of stations on a LAN (single segment), although in practice we never implement this (that I know of).

Actually it's quite common in smaller networks to partition a single, larger switch; I've certainly seen many Layer-3 switches used as the only network device, partitioned into inside-LAN, outside-link, webserver-LAN etc.

1
  • I don't think that is a LAN, as defined by IEEE 802. It is a Bridged LAN or Bridged Network.
    – Anthony
    Sep 27, 2018 at 17:32
1

Basically, a LAN or VLAN is a layer-2 broadcast domain, bounded by layer-3 devices (routers). To send traffic from one VLAN to another VLAN requires a router. In a bridge (a switch is a bridge), a VLAN logically divides the bridge in separate, unconnected, virtual bridges.

Ethernet was originally run on coax, and later on UTP hubs, where every host was on the same physical cable that constituted both a broadcast and collision domain. The advent of bridges allowed the separation of the broadcast and collision domains, and switches (high-density bridges) allowed each host to be in the same broadcast domain (LAN or VLAN), but separate collision domains.

Configuring VLANs on a switch (bridge) allows the switch to serve as multiple virtual switches.

1
  • The IEEE definition of a LAN. IEEE 802.1Q - 2014 Clause 3.94 "The term “Local Area Network” and the abbreviation LAN are used exclusively to refer to an individual LAN specified by a MAC technology, without the inclusion of Bridges. This precise use of terminology within this specification allows a Bridged Network to be distinguished from an individual LAN that has been bridged to other LANs in the network (a bridged LAN). In more general usage, such precise terminology is not required, as it is an explicit goal of this standard that Bridges are transparent to the users of the MAC Service".
    – Anthony
    Sep 27, 2018 at 17:44
0

Thanks for the helpful and informative responses.

My conclusion is that a VLAN is not a virtual instance of a LAN (at least in terms of 802.1Q definitions). Clause 3.258 defines a VLAN as a closed subset of MAC Service Access Points (MSAP's). But we don't have a definition of the full set of MSAP's. That seems to most closely match the definition of a Bridged Network, or at least the access points of a Bridged Network (Clause 3.24).

If that is correct, then a VLAN is a virtual instance of a Bridged Network, and not a virtual instance of a LAN. It is also a logical collection of LAN's. In Clause 7.2, individual LAN's are part of, or members of, a VLAN.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.