How are switch VLANs divided? Next, I will introduce you from four aspects: port, MAC address, network layer and IP group. Let’s take a look!
1. Divide VLAN according to the port:
Many network vendors use switch ports to divide VLAN membership. As the name suggests, port-based VLAN division is to define some ports of the switch as a VLAN. The first-generation VLAN technology only supports VLAN division on multiple ports of the same switch, while the second-generation VLAN technology allows VLANs to be divided across multiple different ports of multiple switches, and several ports on different switches can form the same VLAN.
2. Divide VLANs according to MAC addresses:
Each network card has a unique physical address in the world, that is, a MAC address. According to the MAC address of the network card, several computers can be divided into the same VLAN. The biggest advantage of this method is that when the user’s physical location moves, that is, when switching from one switch to another, the VLAN does not need to be reconfigured; the disadvantage is that when a VLAN is initialized, all users must be configured, and the burden of network management is relatively high.
3. Divide VLANs according to the network layer:
This method of dividing VLANs is based on each host’s network layer address or protocol type (if multi-protocol is supported) rather than by routing. Note: This VLAN division method is suitable for WAN, but not suitable for LAN.
4. Divide VLANs according to IP multicast:
IP multicast is actually a definition of VLAN, that is, a multicast group is considered a VLAN. This division method extends VLAN to WAN and is not suitable for local area network, because the scale of the enterprise network has not yet reached such a large scale.
Well, the above content is a detailed introduction of the VLAN division method of switches. I hope it can be helpful to everyone!