当前位置:网站首页>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 :






边栏推荐
- 【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
- [200 Shengxin literatures] 96 joint biomarkers of immune checkpoint inhibitor response in advanced solid tumors
- 2021-10-04
- Blender多镜头(多机位)切换
- Junit5 支持suite的方法
- How to achieve the top progress bar effect in background management projects
- Metaclass type and using metaclass to implement model class ORM
- High level application of SQL statements in MySQL database (II)
- Blender camera surround motion, animation rendering, video synthesis
- Blender摄像机环绕运动、动画渲染、视频合成
猜你喜欢

SAP Spartacus express checkout design

【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View

MySQL transaction
Brief analysis of edgedb architecture

pytest--之测试报告allure配置

Tee command usage example

UE4 night lighting notes

Blender石头雕刻

ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林

2.14 is it Valentine's day or Valentine's day when the mainstream market continues to fluctuate and wait for changes?
随机推荐
Feature (5): how to organize information
Zlib download and use
How does {} prevent SQL injection? What is its underlying principle?
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
The latest progress and development trend of 2022 intelligent voice technology
2837xd代码生成模块学习(1)——GPIO模块
High level application of SQL statements in MySQL database (II)
Operator exercises
阿里云短信服务
【虚幻】按键开门蓝图笔记
ESLint 报错
Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?
It is the most difficult to teach AI to play iron fist frame by frame. Now arcade game lovers have something
Junit5 supports suite methods
Alibaba cloud ack introduction
SAP Spartacus express checkout design
Centos7 one click compilation and installation of PHP script
Vscode set JSON file to format automatically after saving
【虚幻4】从U3D到UE4的转型之路
Notes de base sur les plans illusoires d'IA (triés en 10 000 mots)