当前位置:网站首页>Huawei converged VLAN principle and configuration
Huawei converged VLAN principle and configuration
2022-07-06 01:17:00 【Garbage bags can be hidden】
Usual vlan Of IP Distribute , We are usually one vlan Assign a network segment , But sometimes such distribution is too extravagant . So there are many vlan Sharing a network segment . This is aggregation vlan.
Now let's recognize some concepts :
father vlan: The vlan Not assigned to any physical interface , Just as aggregation vlan Gateway for , That is, polymerization vlan Three layer routing interface
Son vlan: Son vlan It's polymerization vlan Part of , Son vlan Used to assign to physical interfaces , The sub interface depends on the father vlan The three-tier interface of is connected with the outside world or different vlan signal communication
To configure
For example, in the above example ,vlan100 For father vlan,vlan10,20 To be a son vlan, Hypothetical aggregation vlan Other general configurations and completion .
Configuration command :
The system view :vlan 100
vlan100 View :aggregate-vlan : Indicates that the vlan Is a father vlan
vlan100 View :access-vlan 10,20 : take vlan11 and vlan22 Add to vlan100, As his son vlan
Finish here , Just the others vlan A three-tier virtual interface is also configured , That is to say vlanif, Then vlan It can be different from others vlan signal communication . But aggregation vlan The son inside vlan But can't communicate , This is because they use the address of the same network segment , Then vlan If you want to pass arp Conduct IP Address and mac When obtaining the mapping relationship information of the address , Son vlan Because of the same network segment arp Package to broadcast , And its arp The package indicates that its object is aggregation vlan The son of vlan, But although they are in the same aggregation vlan, In essence, they are different vlan, So son vlan Between the arp The bag naturally carries vlan label , So a penny vlan Of arp As a general rule, broadcast packets will not be transferred to other children vlan Up there , This leads to sub vlan Communication between... Was interrupted .
The same aggregation vlan neutron vlan Reasons and solutions for failure to communicate
To solve this problem, it is necessary for father vlan Of vlanif Enter... Under view arp-proxy inter-sub-vlan-proxy enable , Indicates that the interface is enabled arp agent . In this way, when others vlan send out arp When broadcasting packets , The layer 3 switching opportunity replaces the requested communication host , As a messenger . For example, analyze according to the above example ,PC10 Want and PC9 communicate , that PC10 send out arp Broadcast packet , Then the layer 3 switch vlanif100 Interface will own arp Information is returned to PC10, And tell it that I am PC9, Actually, it means a little white lie , Then the layer-3 switch starts from the sub vlan Send... On the interface arp radio broadcast , Hope to get PC10 The host that wants to communicate arp Information , then PC9 From G0/0/2 Reply on the interface , So the layer 3 switch records its information . When PC10 When a message is sent , The switch only needs to put the purpose in the message MAC, Source MAC Just modify it .
For example, in the above example, let PC10 and PC9 each other ping, Then observe their arp cache , As shown in the figure below :
PC9 Of ARP cache
PC10 Of ARP cache
Can see , The of these two hosts arp Corresponding to IP Of mac It's all pointing to the same mac, This mac The address is vlanif100 Virtual interface mac Address . Although in real life arp Agents may rarely meet , But the instance of this configuration makes arp Agents appear in the public view .
边栏推荐
- Unity | two ways to realize facial drive
- ORA-00030
- Construction plan of Zhuhai food physical and chemical testing laboratory
- Modify the ssh server access port number
- Remember that a version of @nestjs/typeorm^8.1.4 cannot be obtained Env option problem
- CocoaPods could not find compatible versions for pod 'Firebase/CoreOnly'
- BiShe - College Student Association Management System Based on SSM
- Building core knowledge points
- Cf:d. insert a progression [about the insert in the array + the nature of absolute value + greedy top-down]
- Exciting, 2022 open atom global open source summit registration is hot
猜你喜欢
Exciting, 2022 open atom global open source summit registration is hot
MATLB|实时机会约束决策及其在电力系统中的应用
3D model format summary
VMware Tools installation error: unable to automatically install vsock driver
Cannot resolve symbol error
vSphere实现虚拟机迁移
Recoverable fuse characteristic test
Yii console method call, Yii console scheduled task
Loop structure of program (for loop)
Finding the nearest common ancestor of binary tree by recursion
随机推荐
Logstash clear sincedb_ Path upload records and retransmit log data
The inconsistency between the versions of dynamic library and static library will lead to bugs
What is weak reference? What are the weak reference data types in ES6? What are weak references in JS?
Kotlin basics 1
Xunrui CMS plug-in automatically collects fake original free plug-ins
Modify the ssh server access port number
1791. Find the central node of the star diagram / 1790 Can two strings be equal by performing string exchange only once
KDD 2022 | EEG AI helps diagnose epilepsy
电气数据|IEEE118(含风能太阳能)
Four commonly used techniques for anti aliasing
Hcip---ipv6 experiment
Finding the nearest common ancestor of binary tree by recursion
Cglib dynamic agent -- example / principle
MobileNet系列(5):使用pytorch搭建MobileNetV3并基于迁移学习训练
BiShe - College Student Association Management System Based on SSM
95后CV工程师晒出工资单,狠补了这个,真香...
程序员搞开源,读什么书最合适?
Kotlin core programming - algebraic data types and pattern matching (3)
ubantu 查看cudnn和cuda的版本
DOM introduction