In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
VLAN basic setup case
After the previous theoretical chapter: https://blog.51cto.com/14481836/2427908
We will experiment with the configuration of vlan
The experiment begins.
First open GNS3 and drag a routing device and three PCs, as shown in the figure:
Add a routed veneer, and configure disk capacity.
It should be noted that the disk space must be set, otherwise an error will occur when setting up VLAN
Connect three PCs to the route and connect them to f1max 0 f1max 1 f1max 2 respectively.
Click to show each port name and open it.
At this point, we set the VLAN and IP addresses of the PC, and set PC2 and PC3 to belong to the same VLAN, as shown in the figure:
Double-click to open the routing, we first turn off the routing function, because we are changed from the router image file, so turn off the routing function first
Then set the IP address of PC123, as shown in the figure:
Open PC1 at this time and check if you are connected
Click SW, and you can set VLAN10 and name it caiwu. The command you need to enter at this time is: datebase
Vlan10 name caiwu
As shown in the figure:
At this point, you can check whether vlan10 has completed the settings, pay attention to the mode! As shown in the picture
By the same token, we can add VLAN20 and 30, with the command vlan 20jue 30 as shown in the figure:
Now that we have set up, we need to connect the port to the vlan. We should enter the interface mode for access, as shown in the figure:
By the same token, we connect f1amp 1 and f1Uniplic2 to vlan20, as shown in the figure:
Here we use a command: int range F1 Compact 1-2
Now that we have completed the basic configuration and setup, let's take a look at the PC123 interconnection! As shown in the figure:
It is concluded that the same VLAN can communicate with each other. However, different VLAN cannot communicate even in the same network segment.
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.