当前位置:网站首页>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 ,
边栏推荐
- Theoretical description of linear equations and summary of methods for solving linear equations by eigen
- 毕业总结
- Ping problem between virtual machine and development board
- Naoqi robot summary 27
- Sensor 调试流程
- How to expand the capacity of golang slice slice
- English语法_名词 - 分类
- Multifunctional web file manager filestash
- How does GCN use large convolution instead of small convolution? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
- English grammar_ Adjective / adverb Level 3 - multiple expression
猜你喜欢
Should I be laid off at the age of 40? IBM is suspected of age discrimination, calling its old employees "dinosaurs" and planning to dismiss, but the employees can't refute it
What is SQL get connection
2022-2028 global physiotherapy clinic industry research and trend analysis report
CV in transformer learning notes (continuously updated)
Install apache+php+mysql+phpmyadmin xampp and its error resolution
SQL injection -day16
English语法_名词 - 分类
多媒体NFT聚合平台OKALEIDO即将上线,全新的NFT时代或将来临
The vscode code is automatically modified to a compliance code when it is formatted and saved
The second largest gay dating website in the world was exposed, and the status of programmers in 2022
随机推荐
Install apache+php+mysql+phpmyadmin xampp and its error resolution
Grammaire anglaise Nom - Classification
Usage of laravel conditional array in
How to analyze the rising and falling rules of London gold trend chart
English语法_形容词/副词3级 - 倍数表达
Opencv learning notes (continuously updated)
4. Load balancing and dynamic static separation
[combinatorics] exponential generating function (example of exponential generating function solving multiple set arrangement)
A. Berland Poker & 1000 [simple mathematical thinking]
Multifunctional web file manager filestash
Okaleido, a multimedia NFT aggregation platform, is about to go online, and a new NFT era may come
Naoqi robot summary 27
12、 Service management
Redis core technology and practice - learning notes (11): why not just string
What does foo mean in programming?
[combinatorics] exponential generating function (concept of exponential generating function | permutation number exponential generating function = combinatorial number ordinary generating function | e
What kind of experience is it when the Institute earns 20000 yuan a month?
Boost.Asio Library
[combinatorics] generating function (generating function application scenario | using generating function to solve recursive equation)
简述服务量化分析体系