Got it

Basic principles of VLAN technology (2)

Latest reply: Oct 16, 2021 09:18:09 528 25 17 0 0

Hello everyone!


Today, I will continue to write about the basic principle of VLAN technology. This is a second article about this theme. In this article, now, I will explain the classification of VLANs. Let's get started.


VLANs are classified based on:

  • Port numbers

  • MAC address

  • Protocol

  • IP subnets



Post-based VLAN


This is the most common classification of VLANs. In this classification, VLANs are classified based on the port numbers on a switch. Each VLAN has a certain number of ports on the switch. For example: VLAN5– ports: 1, 3, 5, 7, ..., VLAN10 – ports: 2, 4, 6, 8, 10, etc. We can see this example in the next figure.



PORT BASED


Figure 1. Port-based VLAN



The advantage of this classification is that network administrators can easily define VLAN members. The disadvantages are when the host changes the location, then the network administrator has to re-configure the VLAN.



MAC-based VLAN


In this classification, VLANs are classified based on the MAC addresses of the NIC (Network Interface Card). In this mode, we have to define a MAC address to VLAN mapping. When a untag packet arrives at the switch, the switch checks the MAC-VLAN table for the VLAN tag and adds it to the packet based on the packet's MAC address. This method of VLAN, we can see in the next example (figure 2.).



MAC BASED


Figure 2. MAC-based VLAN



The advantage is that the location of the device may change, and no re-configuration is required. The disadvantages are that for all hosts we need to enter MAC addresses. And we can use this mode only in simple networks.



Protocol-based VLAN


This method of classification is very rarely used. In this classification, VLANs are classified based on the protocol type and encapsulation format of the packets. In this way, when a untag packet arrives at the switch, the protocol can be used to define filtering criteria for tags. The next figure shows us this method.



PROTOCOL BASED


Figure 3. Protocol Based VLAN



IP Subnet-based VLAN


In this classification, VLANs are classified based on the IP address in the packet. The same VLAN are all packets belonging to a single IP subnet. This means that the more different IP subnets we have the more different VLANs, on the switch. In the following example, we see an explanation (figure 4.).



IP SUBNET BASED


Figure 4. IP subnet based VLAN



The advantages are that the local network can be divided based on transmission protocols and the location of the device may change, and no re-configuration is required. The disadvantage is efficiency, the switch has to check the IP addresses of each packet.


Continued in the next article >> Basic principles of VLAN technology (3)



Thank you!


Good described, many thanks for sharing
View more
  • x
  • convention:

Excellent information to learn
View more
  • x
  • convention:

andersoncf1
MVE Author Created Aug 20, 2021 16:07:31

Well done. Thanks for sharing
View more
  • x
  • convention:

ulrichwandja
ulrichwandja Created Aug 20, 2021 18:36:58 (0) (0)
✌  
thanks for sharing
View more
  • x
  • convention:

zaheernew
MVE Author Created Aug 20, 2021 16:53:38

Basic principles of VLAN technology (2)-4094603-1
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 21, 2021 16:42:46 (0) (0)
 
Awesome thanks
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 21, 2021 16:42:29 (0) (0)
Thank you  
Sara_Obaid
Moderator Created Aug 21, 2021 05:11:11

Great post on the basic principles of VLAN technology!
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 21, 2021 16:42:18 (0) (0)
Thank you!  
Nice one
View more
  • x
  • convention:

Vlada85
Vlada85 Created Aug 21, 2021 16:42:03 (0) (0)
Thank you  
Informative, and nicely described, thanks for sharing
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.