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






边栏推荐
- 渗透测试的介绍和防范
- Pycaret | a few lines of code to solve machine learning modeling
- How much is it to develop a system software in Beijing, and what funds are needed to develop the software
- Attack and defense world web advanced area unserialize3
- [Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology
- Blender model import UE, collision settings
- Alibaba cloud SLS log service
- [unreal] key to open the door blueprint notes
- Blender ocean production
- 【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
猜你喜欢

Postman--使用

Mixed development of uni app -- Taking wechat applet as an example

This article takes you to learn in detail what is fiber to home FTTH

What wires are suitable for wiring on bread board?

Feature (5): how to organize information

pytest学习--base

2837xd code generation module learning (2) -- ADC, epwm module, timer0

ICLR 2022: how does AI recognize "things I haven't seen"?

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

Junit5 supports suite methods
随机推荐
Zlib download and use
Nonlinear optimization: establishment of slam model
Blender volume fog
Project practice, redis cluster technology learning (10)
What is the relationship between realizing page watermarking and mutationobserver?
【虚幻】自动门蓝图笔记
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
2837xd code generation module learning (1) -- GPIO module
Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
Project practice, redis cluster technology learning (VII)
【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
渗透测试的介绍和防范
Blender多镜头(多机位)切换
Leetcode -- the nearest common ancestor of 236 binary tree
How to judge the quality of primary market projects when the market is depressed?
Alibaba cloud ack introduction
高考那些事
2.14 is it Valentine's day or Valentine's day when the mainstream market continues to fluctuate and wait for changes?
Blender stone carving
UE5——AI追逐(蓝图、行为树)