当前位置:网站首页>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 :
边栏推荐
- 阿里云ack介绍
- Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
- MySQL -- time zone / connector / driver type
- 【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
- allure--常用配置项
- Mock Server基本使用方法
- Blender multi lens (multi stand) switching
- 职业规划和发展
- [Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology
- 【MySQL】连接MySQL时出现异常:Connection must be valid and open
猜你喜欢
AutoCAD - layer Linetype
Vscode set JSON file to format automatically after saving
MySQL transaction
虚幻材质编辑器基础——如何连接一个最基本的材质
A model can do two things: image annotation and image reading Q & A. VQA accuracy is close to human level | demo can be played
Large neural networks may be beginning to realize: the chief scientist of openai leads to controversy, and everyone quarrels
【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
UE4 night lighting notes
渗透测试的介绍和防范
Notes de base sur les plans illusoires d'IA (triés en 10 000 mots)
随机推荐
Blender模型导入ue、碰撞设置
Mysql索引
Project practice, redis cluster technology learning (IX)
Skywalking理论与实践
UE5——AI追逐(蓝图、行为树)
Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
go语言入门
【Unity3D】无法正确获取RectTransform的属性值导致计算出错
2021-10-04
This article takes you to learn in detail what is fiber to home FTTH
2837xd code generation module learning (1) -- GPIO module
pytest--之测试报告allure配置
XA Transaction SQL Statements
Nonlinear optimization: establishment of slam model
Alibaba cloud SLS log service
Matlab生成dsp程序——官方例程学习(6)
渗透测试的介绍和防范
[200 Shengxin literatures] 96 joint biomarkers of immune checkpoint inhibitor response in advanced solid tumors
【UE5】蓝图制作简单地雷教程
C language strawberry