当前位置:网站首页>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
边栏推荐
- The Servlet to jump to the JSP page, forwarding and redirection
- The spark operator - repartition operator
- [Problem has been resolved]-Virtual machine error contains a file system with errors check forced
- 初识网页与浏览器
- 技术分享杂七杂八技术
- 监控系统的内卷,有什么讲究?
- 入职前,没想到他们玩的这么花
- spark source code - task submission process - 3-ApplicationMaster
- ROS2下使用ROS1 bag的方法
- The problem of calling ds18b20 through a single bus
猜你喜欢

LinkSLA坚持用户第一,打造可持续的运维服务方案

From "dual card dual standby" to "dual communication", vivo took the lead in promoting the implementation of the DSDA architecture

线上问题排查流程

What are some things that you only know when you do operation and maintenance?

网络不通?服务丢包?看这篇就够了

Mongodb查询分析器解析

spark source code - task submission process - 1-sparkSubmit

The highlight moment of operation and maintenance starts with intelligence

VRRP概述及实验

技术分享杂七杂八技术
随机推荐
static routing
LinkSLA坚持用户第一,打造可持续的运维服务方案
Logical volume creation
el-autocomplete使用
Autoware--Beike Tianhui rfans lidar uses the camera & lidar joint calibration file to verify the fusion effect of point cloud images
Spark source code-task submission process-6.1-sparkContext initialization-create spark driver side execution environment SparkEnv
transport layer protocol
link 和@improt的区别
flink cdc 目前支持Gauss数据库源吗
Mina断线重连
Spark source code-task submission process-6.2-sparkContext initialization-TaskScheduler task scheduler
IP packet format (ICMP protocol and ARP protocol)
[Day1] VMware software installation
VRRP概述及实验
The problem come from line screening process
ACLs and NATs
Switch principle
In-depth Zabbix user guide - from the green boy
What should I do if the SSL certificate prompts that it is expired or invalid?
TCP/IP four-layer model