In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The concept and advantages of VLAN
Split broadcast domain
(1) physical segmentation: router
(2) logical partition: divide multiple VLAN on the switch, and each VLAN is a broadcast domain
Advantages of VLAN
(1) Control of broadcasting
(2) enhance network security
(3) simplify network management
Types of VLAN
(2) static VLAN, which is divided into static VLAN based on port. A VLAN can contain multiple ports, and a port belongs to only one VLAN
(2) dynamic VLAN, which divides dynamic VLAN based on MAC address
Configuration of static VLAN
Range of VLAN
Steps to configure static VLAN
(1) create a VLAN
(2) add the port of the switch to the corresponding VLAN
(3) verify the configuration of VLAN
(2) add the port of the switch to the corresponding VLAN
(3) verify the configuration of VLAN
Create VLAN
Two ways to create VLAN
(1) VLAN database configuration mode
(2) Global configuration mode
Add multiple ports to VLAN at the same time
Access link and trunk link
Access link: access terminal PC, can only run the corresponding VLAN data
Trunk link: access to other network devices (switches, routers, etc.) to run all VLAN data
Trunk configuration step command
Experiment
In the GNS3 simulator, according to the following topology diagram, establish VLAN10 and VLAN20 in switch sw1 and sw2, put PC1 and PC3 on VLAN10, put PC2 and PC4 on VLAN20, and make PC1 and PC3 interworking, PC2 and PC34 interworking.
1. Set the IP address of the corresponding PC
2. Open sw1 and sw2 and set up VLAN10 and VLAN20, and put the corresponding computer connection port into sw1
3. Set the interface between sw1 and sw2 to create trunk link
4. After all settings are completed, use the ping command to test whether the PC is interconnected.
PC1pingPC3 succeeded
PC2pingPC4 succeeded
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.