Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Division of static vlan

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Virtual local area network (VLAN) is a group of logical devices and users, which are not limited by physical location. They can be organized according to functions, departments, applications and other factors, and communicate with each other as if they are in the same network segment, hence the name virtual LAN. VLAN works at layers 2 and 3 of the OSI reference model, a VLAN is a broadcast domain, and communication between VLAN is done through a layer 3 router. Compared with the traditional local area network technology, VLAN technology is more flexible. It has the following advantages: the management overhead of moving, adding and modifying network equipment is reduced; broadcasting activities can be controlled; and network security can be improved.

This article gives a brief introduction

First of all, let's talk about the division method of vlan.

Add ports to vlan and multi-ports

To delete a port or vlan in vlan, you only need to add no to the command used to create or join the port to successfully delete the port or vlan.

The following is to demonstrate the practical application, first of all, draw the topology picture in GNS3, mark it well, and there are some matters needing attention in the process of connecting.

1. When selecting the network card, you should select the corresponding network card according to the order of the computer.

2. The ports connected by the two switches should correspond one by one.

1. Create a vlan10 vlan20 in switch 1 and add the corresponding ports to the corresponding vlan.

2. In order to enable hosts with the same vlan connected on different switches to communicate with each other, we can use trunk (trunk road, trunk) to connect two switches. At the same time, set the identification mode of vlan to dot1q.

3. Finally open the Ethernet channel of the port, so that the setting of switch 1 is complete.

The settings of switch 2 can be said to be exactly the same as that of switch 1, so I will not repeat them here.

test

Set IP addresses for four PC machines to test whether they meet our requirements.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report