当前位置:网站首页>VLAN is introduced with the experiment
VLAN is introduced with the experiment
2022-08-05 06:22:00 【sologuai】
目录
一、VLAN概述
1.vlan概念及作用
vlanIt's called a virtual local area network(VLAN Virtual LAN )虚拟局域网是一组逻辑上的设备和用户,这些设备和用户并不受物理位置的限制,They can be organized according to factors such as functional department application,communicate with each other as if they were on the same network segment.The role is to divide the broadcast domain,Controls the scope of broadcast messaging.
2.vlan的种类
静态VLAN:基于端口划分静态VLAN
动态VLAN:基于MAC地址划分动态VLAN
3.vlan的id范围

4.trunk的作用
①Trunkis a public link,在Trunkcan send allvlan的数据,to achieve allvlan可以通过 A link communicates across switches.
②Trunk根据不同的vlan号给vlanThe sent data adds an identifier,使同一vlanCan communicate across switches.
二、配置实验

过程:
步骤1:Set up four hostsand two servers的IP地址和子网掩码




步骤2:配置交换机sw1





步骤3:配置交换机sw2



步骤4:进行测试
pc1 ping server2

pc2 ping server2

Pc3 ping server1

Pc4 ping server1

server1 ping pc3

Server1 ping pc4

Server2 ping pc1

Server2 ping pc2

实验成功!
三、总结
创建vlan :默认只有 vlan 1
[系统视图] vlan 10 ###建立单个vlan
[系统视图] vlan batch 20 30 40 ###一次性建立多个vlan
[sw1]display vlan ###查看vlan 的一些基本信息
access 交换机 主机 路由器
trunk The switch core switch is connected
边栏推荐
猜你喜欢

Transport layer protocol (TCP 3-way handshake)
![[问题已处理]-虚拟机报错contains a file system with errors check forced](/img/07/1222a44dd52b359bf7873e6f3b7ebf.png)
[问题已处理]-虚拟机报错contains a file system with errors check forced

Autoware--Beike Tianhui rfans lidar uses the camera & lidar joint calibration file to verify the fusion effect of point cloud images
time complexity and space complexity
![[Day1] VMware software installation](/img/24/20cc77e904dbe7dc1b5224c64d6329.png)
[Day1] VMware software installation

spark source code-RPC communication mechanism

错误类型:反射。ReflectionException:无法设置属性“xxx”的“类”xxx”与价值“xxx”

Problems encountered in installing Yolo3 target detection module in Autoware

云计算——osi七层与TCP\IP协议

input详解之文件上传
随机推荐
7 steps to complete cloud monitoring
H5 的浏览器存储
js动态获取屏幕宽高度
Will intelligent operation and maintenance replace manual operation and maintenance?
程序员应该这样理解I/O
RAID磁盘阵列
从“双卡双待“到”双通“,vivo率先推动DSDA架构落地
LeetCode Interview Questions
RAID disk array
product learning materials
Small example of regular expression--validate email address
[issue resolved] - jenkins pipeline checkout timeout
Spark source code-task submission process-6.1-sparkContext initialization-create spark driver side execution environment SparkEnv
Wechat applet page jump to pass parameters
The spark operator - coalesce operator
The method of using ROS1 bag under ROS2
VLAN details and experiments
The problem of calling ds18b20 through a single bus
The problem come from line screening process
Unity realizes first-person roaming (nanny-level tutorial)