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






边栏推荐
- About the college entrance examination
- Large neural networks may be beginning to realize: the chief scientist of openai leads to controversy, and everyone quarrels
- How does {} prevent SQL injection? What is its underlying principle?
- Project practice, redis cluster technology learning (11)
- Blender camera surround motion, animation rendering, video synthesis
- [leetcode] sword finger offer 53 - I. find the number I in the sorted array
- Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
- 【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
- 【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
- 【UE5】蓝图制作简单地雷教程
猜你喜欢

Matlab代码生成之SIL/PIL测试

2021-10-02

SAP Spartacus express checkout design

Junit5 supports suite methods

Edge computing accelerates live video scenes: clearer, smoother, and more real-time

Junit4运行mvn test 测试套件升级方案

Blender多鏡頭(多機比特)切換

AutoCAD - layer Linetype

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

Blender海洋制作
随机推荐
ESLint 报错
Summary of demand R & D process nodes and key outputs
Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
2837xd code generation module learning (1) -- GPIO module
2837xd代码生成模块学习(3)——IIC、eCAN、SCI、Watchdog、eCAP模块
The primary market project galaxy will conduct public offering on coinlist on February 17
[Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology
[IDL] Research
Ue5 - ai Pursuit (Blueprint, Behavior tree)
Illusion -- Animation blueprint, state machine production, character walking, running and jumping action
Aiphacode is not a substitute for programmers, but a tool for developers
What is call / cc- What is call/cc?
About the college entrance examination
[200 Shengxin literatures] 96 joint biomarkers of immune checkpoint inhibitor response in advanced solid tumors
ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林
Pycaret | a few lines of code to solve machine learning modeling
Project practice, redis cluster technology learning (10)
虚幻——动画蓝图、状态机制作人物走跑跳动作
High level application of SQL statements in MySQL database (II)
【虚幻4】从U3D到UE4的转型之路