当前位置:网站首页>VLAN实验
VLAN实验
2022-07-30 13:26:00 【蒽筱】
实验要求:1 PC1和PC3所在接口为access;属于vlan2;PC2/4/5/6处于同一网段;其中PC2可以访问PC4/5/6;但pc4可以访问pC5,不能访问pC6
2 PC5不能访问PC6
3 PC1/3与PC2/4/5/6不在同一个网段
4所有Pc通过oHCP获取IP地址,且PC1/3可以正常访问PC2/4/5/6
实验配置
1、创建vlan
vlan batch 2 to 6
2、按需求修改接口(以SW1为例)
[sw1]int g0/0/2
[sw1-GigabitEthernet0/0/2]port link-type access
[sw1-GigabitEthernet0/0/2]port default vlan 2
[sw1]int g0/0/3
[sw1-GigabitEthernet0/0/3]port link-type hybrid
[sw1-GigabitEthernet0/0/3]port hybrid pvid vlan 3
[sw1-GigabitEthernet0/0/3]port hybrid untagged vlan 3 4 5 6
[sw1]int g0/0/4
[sw1-GigabitEthernet0/0/4]port link-type trunk
[sw1-GigabitEthernet0/0/4]port trunk allow-pass vlan all
边栏推荐
- Logic Vulnerability----Permission Vulnerability
- [VMware virtual machine installation mysql5.7 tutorial]
- R语言ggstatsplot包grouped_ggwithinstats函数可视化分组小提琴图、并添加假设检验结果(包含样本数、统计量、效应大小及其置信区间、显著性、组间两两比较、贝叶斯假设)
- 20220729 Securities, Finance
- Hand tearing read-write lock performance test
- R语言ggplot2可视化时间序列数据(默认时间中断部分前后自动连接起来)、创建时间分组、使用分面图(faceting)可视化时间序列数据
- 58. 最后一个单词的长度
- 【VMware虚拟机安装mysql5.7教程】
- SQL 26 calculation under 25 years of age or older and the number of users
- Synology system installation related file sharing
猜你喜欢
随机推荐
树形dp小总结(换根,基环树,杂七杂八的dp)
重保特辑|拦截99%恶意流量,揭秘WAF攻防演练最佳实践
【微信小程序】一文带你搞懂小程序的页面配置和网络数据请求
Self-tuning PID self-tuning control 】 【
grep时排除指定的文件和目录
There is no one of the strongest kings in the surveillance world!
LeetCode二叉树系列——116.填充每个节点的下一个右侧指针
[ARC092B] Two Sequences
人社部公布“数据库运行管理员”成新职业,OceanBase参与制定职业标准
el-table中el-table-column下的操作切换class样式
20220729 证券、金融
[VMware virtual machine installation mysql5.7 tutorial]
当下,产业园区发展面临的十大问题
PyQt5快速开发与实战 8.6 设置样式
Eleven BUUCTF questions (06)
666666
Hand tearing read-write lock performance test
简单理解精确率(Precision),召回率(Recall),准确率(Accuracy),TP,TN,FP,FN
高性能数据访问中间件 OBProxy(三):问题排查和服务运维
阿里 P7 到底是怎样的水平?