当前位置:网站首页>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 .
边栏推荐
猜你喜欢

Kotlin basics 1

The inconsistency between the versions of dynamic library and static library will lead to bugs

DOM introduction

Hcip---ipv6 experiment

WordPress collection plug-in automatically collects fake original free plug-ins

Questions about database: (5) query the barcode, location and reader number of each book in the inventory table

After Luke zettlemoyer, head of meta AI Seattle research | trillion parameters, will the large model continue to grow?

Recursive method to realize the insertion operation in binary search tree

激动人心,2022开放原子全球开源峰会报名火热开启

毕设-基于SSM高校学生社团管理系统
随机推荐
Blue Bridge Cup embedded stm32g431 - the real topic and code of the eighth provincial competition
Docker compose配置MySQL并实现远程连接
yii中console方法调用,yii console定时任务
A glimpse of spir-v
Live broadcast system code, custom soft keyboard style: three kinds of switching: letters, numbers and punctuation
Recursive method converts ordered array into binary search tree
ORA-00030
电气数据|IEEE118(含风能太阳能)
Obstacle detection
Dynamic programming -- linear DP
Recoverable fuse characteristic test
SPIR-V初窥
Gartner released the prediction of eight major network security trends from 2022 to 2023. Zero trust is the starting point and regulations cover a wider range
Spir - V premier aperçu
程序员搞开源,读什么书最合适?
Remember that a version of @nestjs/typeorm^8.1.4 cannot be obtained Env option problem
In the era of industrial Internet, we will achieve enough development by relying on large industrial categories
MYSQL---查询成绩为前5名的学生
面试必刷算法TOP101之回溯篇 TOP34
FFT 学习笔记(自认为详细)