当前位置:网站首页>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 ,
边栏推荐
- Torch learning notes (4) -- torch's dynamic calculation diagram
- MySQL duplicate check
- The vscode code is automatically modified to a compliance code when it is formatted and saved
- win32:堆破壞的dump文件分析
- How to quickly view the inheritance methods of existing models in torchvision?
- Redis on local access server
- Valentine's day, send you a little red flower~
- 2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
- [combinatorics] generating function (example of generating function | calculating generating function with given general term formula | calculating general term formula with given generating function)
- PHP MySQL Update
猜你喜欢

Theoretical description of linear equations and summary of methods for solving linear equations by eigen

Redis core technology and practice - learning notes (VIII) sentinel cluster: sentinel hung up

Shell script return value with which output
![网格图中递增路径的数目[dfs逆向路径+记忆dfs]](/img/57/ff494db248171253996dd6c9110715.png)
网格图中递增路径的数目[dfs逆向路径+记忆dfs]

Sensor 调试流程

Class exercises

Real time split network (continuous update)

2022-2028 global physiotherapy clinic industry research and trend analysis report

How to quickly view the inheritance methods of existing models in torchvision?

How does GCN use large convolution instead of small convolution? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
随机推荐
[combinatorics] exponential generating function (properties of exponential generating function | exponential generating function solving multiple set arrangement)
[Godot] add menu button
On Data Mining
Opencv learning notes (continuously updated)
Kratos微服务框架下实现CQRS架构模式
An academic paper sharing and approval system based on PHP for computer graduation design
Why can deeplab v3+ be a God? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
Read the paper glodyne global topology preserving dynamic network embedding
Change the single node of Postgres database into master-slave
Image 24 bits de profondeur à 8 bits de profondeur
Bidding procurement scheme management of Oracle project management system
Redis core technology and practice - learning notes (VI) how to achieve data consistency between master and slave Libraries
虚拟机和开发板互Ping问题
[Tongxin UOS] scanner device management driver installation
Real time split network (continuous update)
Module 9 operation
编程中常见的 Foo 是什么意思?
12、 Service management
Sensor 调试流程
2022-2028 global physiotherapy clinic industry research and trend analysis report