当前位置:网站首页>VLAN experiment
VLAN experiment
2022-07-02 10:20:00 【m0_ sixty-four million two hundred and sixty-five thousand thre】
The experimental requirements :

The topology :
Experimental thinking :
1、pc1、pc3 Modify the interface type to access, Divided into vlan2
2、pc2 The interface type is hybird,pvid3, allow 345 Without a label
lsw1g/0/0/4 thunk
lsw2 g/0/0/1 thunk
pc4 The interface type is hybird,pvid4, allow 34 Without a label
lsw2 g/0/0/4 thunk
lsw3 g/0/0/1thunk
pc5 Interface type hybird pvid 4 allow 34 Without a label
pc6 Interface type hyird pvid 5 allow 35 No label
lsw1g/0/0/1 allow 3 To 5 Without a label ,vlan2 With label
3、 Enter the router sub interface management vlan2, Turn on DHCP, Uniformly assigned address without label transmission .
lsw1
vlan batch 2 to 5
interface GigabitEthernet0/0/2
port link-type access
port default vlan 2
interface GigabitEthernet0/0/3
port hybrid pvid vlan 3
port hybrid untagged vlan 3 to 5
interface GigabitEthernet0/0/1
port hybrid tagged vlan 2
port hybrid untagged vlan 3 to 5
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 2 to 5
lsw2
vlan batch 2 to 5
interface GigabitEthernet0/0/1
port hybrid tagged vlan 2 to 5
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 2
#
interface GigabitEthernet0/0/3
port hybrid pvid vlan 4
port hybrid untagged vlan 3 to 4
#
interface GigabitEthernet0/0/4
port hybrid tagged vlan 2 to 5
lsw3
vlan batch 2 to 5
interface GigabitEthernet0/0/1
port hybrid tagged vlan 2 to 5
#
interface GigabitEthernet0/0/2
port hybrid pvid vlan 4
port hybrid untagged vlan 3 to 4
#
interface GigabitEthernet0/0/3
port hybrid pvid vlan 5
port hybrid untagged vlan 3 5
r1
ip pool v2
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
dns-list 114.114.114.114
#
ip pool v1
gateway-list 192.168.2.1
network 192.168.2.0 mask 255.255.255.0
dns-list 114.114.114.114
interface GigabitEthernet0/0/0
ip address 192.168.2.1 255.255.255.0
dhcp select global
#
interface GigabitEthernet0/0/0.1
dot1q termination vid 2
ip address 192.168.1.1 255.255.255.0
arp broadcast enable
dhcp select global
experimental result :






边栏推荐
- This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
- [IDL] Research
- Matlab代码生成之SIL/PIL测试
- 2837xd代码生成模块学习(1)——GPIO模块
- Matlab生成dsp程序——官方例程学习(6)
- [unreal] key to open the door blueprint notes
- ERROR 1118 (42000): Row size too large (> 8126)
- 合并有序数列
- ESLint 报错
- How to judge the quality of primary market projects when the market is depressed?
猜你喜欢

【虚幻】武器插槽:拾取武器

Message mechanism -- getting to know messages and message queues for the first time

MySQL transaction

Network real-time video streaming based on OpenCV

【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017

allure--常用配置项

【虚幻4】UMG组件的简介与使用(更新中...)

Matlab生成dsp程序——官方例程学习(6)

Illusion -- Animation blueprint, state machine production, character walking, running and jumping action

【UE5】动画重定向:如何将幻塔人物导入进游戏玩耍
随机推荐
Application of rxjs operator withlatestfrom in Spartacus UI of SAP e-commerce cloud
How to handle error logic gracefully
How to achieve the top progress bar effect in background management projects
Blender摄像机环绕运动、动画渲染、视频合成
Project practice, redis cluster technology learning (VIII)
Introduction to go language
pytest学习--base
阿里云SLS日志服务
C language strawberry
Skywalking理论与实践
Centos7 one click compilation and installation of PHP script
Junit4运行mvn test 测试套件升级方案
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
Vscode set JSON file to format automatically after saving
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
滲透測試的介紹和防範
Introduction and prevention of penetration test
Nonlinear optimization: steepest descent method, Newton method, Gauss Newton method, Levenberg Marquardt method
Tee command usage example
Postman--使用