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

Simple configuration experiment of VLAN

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

A simple configuration example of VLAN (illustrated with both pictures and texts). Experimental environment

First of all, we need to have a simple experimental environment: GNS3,C2691 router

two。 Experimental diagram

As shown in the figure, first create a simple topology diagram as shown in the figure.

Note: remember to set parameters for the switch. As shown in the picture

mark

mark

three。 Experimental procedure

First, we have to configure the ip addresses of the three hosts. The configuration is shown in the figure.

Pc1pc2

Pc3

The host configuration is complete. Next, let's set up the switch. As shown in the picture

We can look at the routing function to see the vlan and interfaces we have set up. Configure three vlan,10,20,30 first, and then exit vlan mode

As shown in the figure, you have configured the vlan of the interface f1amp 0. The second red box can be abbreviated to sw mo acc. The third red box can be abbreviated as sw acc vlan10.

Similarly, we can also set up f1Uniqure 1 and f1Uniple 2. As follows.

At this point, the simple vlan configuration experiment is complete. Interested children's shoes can be tested, at first the three hosts can communicate with each other, but after our vlan experimental operation, the three hosts can not communicate with each other, forming an isolation.

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

Servers

Wechat

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

12
Report