当前位置:网站首页>VLAN experiment
VLAN experiment
2022-07-03 18:35:00 【Miracle_ ze】
Catalog
One 、 Experimental topics

Two 、 The topology

3、 ... and 、 Experimental configuration
1. establish vlan



2.R1 To configure DHCP
First dhcp enable Turn on the whole dhcp service
And open dhcp Each interface of the service is opened separately
dhcp select global
R1 To configure dhcp
Interface 0/0/0 To configure ip Interface with enable , And as vlan3/4/5/ Of dhcp The server

Configure pool v2

Configure pool v3

Configured dhcp result

A subinterface 0/0/0.1 As vlan2 Of dhcp The server

3. Whether the switch interface is configured with labels
LSW1
To meet the requirements
E 0/0/1 Use hybrid interface mode , allowed v2 The label of , It is not allowed to bring v3 to 5 The label of 

E 0/0/1 Use hybrid interface mode , Allow all vlan With label

E 0/0/3 Because the configuration is required to access Interface , Change the default pvid by 2. So use the access mode .

E 0/0/4 For hybrid mode , All... Are not allowed vlan,pvid by 4

result 
LSW2
E 0/0/1 Mixed interface mode , allow vlan 2 to 5 The label of 
E 0/0/2 Interface mode , allow vlan 2 to 5 The label of 
E 0/0/3 It is the access interface mode ,pvid by 2
E 0/0/4 Mixed interface mode ,pvid by 4, It is not allowed to bring vlan 1 to 4 The label of 

result 
LSW3
E 0/0/1 Mixed interface mode , allowed vlan2 to 5 All tags 
E 0/0/3 Mixed interface mode ,pvid by 4, It is not allowed to bring vlan 2 to 4 label 

E 0/0/4 Mixed interface mode ,pvid by 5, It is not allowed to bring vlan 2 to 3 5 label 
result 
result

PC1 Sure ping 2/4/5/6
PC>ping 192.168.2.254
Ping 192.168.2.254: 32 data bytes, Press Ctrl_C to break
From 192.168.2.254: bytes=32 seq=1 ttl=128 time=62 ms
From 192.168.2.254: bytes=32 seq=2 ttl=128 time=47 ms
From 192.168.2.254: bytes=32 seq=3 ttl=128 time=62 ms
From 192.168.2.254: bytes=32 seq=4 ttl=128 time=63 ms
From 192.168.2.254: bytes=32 seq=5 ttl=128 time=62 ms
--- 192.168.2.254 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 47/59/63 ms
PC>ping 192.168.2.253
Ping 192.168.2.253: 32 data bytes, Press Ctrl_C to break
From 192.168.2.253: bytes=32 seq=1 ttl=128 time=78 ms
From 192.168.2.253: bytes=32 seq=2 ttl=128 time=94 ms
From 192.168.2.253: bytes=32 seq=3 ttl=128 time=78 ms
From 192.168.2.253: bytes=32 seq=4 ttl=128 time=78 ms
From 192.168.2.253: bytes=32 seq=5 ttl=128 time=78 ms
--- 192.168.2.253 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 78/81/94 ms
PC>ping 192.168.2.252
Ping 192.168.2.252: 32 data bytes, Press Ctrl_C to break
From 192.168.2.252: bytes=32 seq=1 ttl=128 time=94 ms
From 192.168.2.252: bytes=32 seq=2 ttl=128 time=94 ms
From 192.168.2.252: bytes=32 seq=3 ttl=128 time=78 ms
From 192.168.2.252: bytes=32 seq=4 ttl=128 time=93 ms
From 192.168.2.252: bytes=32 seq=5 ttl=128 time=79 ms
--- 192.168.2.252 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 78/87/94 ms
PC4 Sure ping PC5, You can't ping pc6
PC>PING 192.168.2.253
Ping 192.168.2.253: 32 data bytes, Press Ctrl_C to break
From 192.168.2.253: bytes=32 seq=1 ttl=128 time=62 ms
From 192.168.2.253: bytes=32 seq=2 ttl=128 time=63 ms
From 192.168.2.253: bytes=32 seq=3 ttl=128 time=62 ms
From 192.168.2.253: bytes=32 seq=4 ttl=128 time=78 ms
From 192.168.2.253: bytes=32 seq=5 ttl=128 time=63 ms
--- 192.168.2.253 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 62/65/78 ms
PC>PING 192.168.2.252
Ping 192.168.2.252: 32 data bytes, Press Ctrl_C to break
From 192.168.2.254: Destination host unreachable
From 192.168.2.254: Destination host unreachable
From 192.168.2.254: Destination host unreachable
From 192.168.2.254: Destination host unreachable
From 192.168.2.254: Destination host unreachable
--- 192.168.2.252 ping statistics ---
5 packet(s) transmitted
0 packet(s) received
100.00% packet loss
Four 、 Summary of the experiment
Master Huawei equipment vlan Forwarding rules for , The tag knows three interface modes 【 Access mode , Operation and function of relay mode and hybrid mode 】. Can divide vlan And configure the interface U 【 be stripped 】T 【 carry 】 Fulfill the requirements ,
边栏推荐
- [combinatorics] exponential generating function (example 2 of solving multiple set permutation with exponential generating function)
- Ping problem between virtual machine and development board
- Torch learning notes (3) -- univariate linear regression model (self training)
- Raft log replication
- SQL injection -day16
- Redis core technology and practice - learning notes (VII) sentinel mechanism
- Sepconv (separable revolution) code recurrence
- 041. (2.10) talk about manpower outsourcing
- Theoretical description of linear equations and summary of methods for solving linear equations by eigen
- Torch learning notes (1) -- 19 common ways to create tensor
猜你喜欢

Sensor debugging process

Install apache+php+mysql+phpmyadmin xampp and its error resolution

12、 Service management

How to draw non overlapping bubble chart in MATLAB

win32:堆破壞的dump文件分析

Gao Qing, Beijing University of Aeronautics and Astronautics: CIM is a natural quantum computing platform for graph data processing
![AcWing 271. Teacher Yang's photographic arrangement [multidimensional DP]](/img/3d/6d61fefc62063596221f98999a863b.png)
AcWing 271. Teacher Yang's photographic arrangement [multidimensional DP]

Computer graduation design PHP sports goods online sales system website

What kind of experience is it when the Institute earns 20000 yuan a month?

Computer graduation project PHP library book borrowing management system
随机推荐
Self executing function
Computer graduation design PHP campus address book telephone number inquiry system
[combinatorics] generating function (example of generating function | calculating generating function with given general term formula | calculating general term formula with given generating function)
虚拟机和开发板互Ping问题
Ping problem between virtual machine and development board
[combinatorics] exponential generating function (proving that the exponential generating function solves the arrangement of multiple sets)
编程中常见的 Foo 是什么意思?
A. Odd Selection【BruteForce】
How to track the real-time trend of Bank of London
[combinatorics] generating function (generating function application scenario | using generating function to solve recursive equation)
Sensor 调试流程
041. (2.10) talk about manpower outsourcing
Bloom filter [proposed by bloom in 1970; redis cache penetration solution]
What does foo mean in programming?
多媒体NFT聚合平台OKALEIDO即将上线,全新的NFT时代或将来临
2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
[combinatorics] generating function (use generating function to solve the combination number of multiple sets R)
Redis core technology and practice - learning notes (11): why not just string
How does GCN use large convolution instead of small convolution? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
Usage of laravel conditional array in