当前位置:网站首页>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 ,
边栏推荐
- FBI 警告:有人利用 AI 换脸冒充他人身份进行远程面试
- Codeforces Round #803 (Div. 2) C. 3SUM Closure
- [combinatorics] generating function (use generating function to solve the number of solutions of indefinite equation example 2 | extended to integer solution)
- Caddy server agent
- Module 9 operation
- 图像24位深度转8位深度
- 简述服务量化分析体系
- Graduation summary
- Computer graduation project PHP library book borrowing management system
- How do microservices aggregate API documents? This wave of operation is too good
猜你喜欢
Valentine's day, send you a little red flower~
Win 11 major updates, new features love love.
win32:堆破壞的dump文件分析
Three gradient descent methods and code implementation
Computer graduation design PHP makeup sales Beauty shopping mall
Torch learning notes (7) -- take lenet as an example for dataload operation (detailed explanation + reserve knowledge supplement)
An academic paper sharing and approval system based on PHP for computer graduation design
Redis core technology and practice - learning notes (IX): slicing cluster
2022-2028 global sepsis treatment drug industry research and trend analysis report
Data analysis is popular on the Internet, and the full version of "Introduction to data science" is free to download
随机推荐
2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
What problems can cross-border e-commerce sellers solve with multi platform ERP management system
webcodecs
Install apache+php+mysql+phpmyadmin xampp and its error resolution
Analysis of the reasons why enterprises build their own software development teams to use software manpower outsourcing services at the same time
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
A. Berland Poker & 1000 [simple mathematical thinking]
[linux]centos 7 reports an error when installing MySQL "no package MySQL server available" no package ZABBIX server MySQL available
SDNUOJ1015
JS_ Array_ sort
Shell script return value with which output
TypeScript 官网教程
[Godot] add menu button
Computer graduation design PHP campus address book telephone number inquiry system
Redis core technology and practice - learning notes (VI) how to achieve data consistency between master and slave Libraries
On Data Mining
[combinatorics] generating function (example of using generating function to solve the number of solutions of indefinite equation)
Golang string (string) and byte array ([]byte) are converted to each other
Three gradient descent methods and code implementation
Reappearance of ASPP (atlas spatial pyramid pooling) code