当前位置:网站首页>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 .
边栏推荐
- 测试/开发程序员的成长路线,全局思考问题的问题......
- How to see the K-line chart of gold price trend?
- golang mqtt/stomp/nats/amqp
- JMeter BeanShell的基本用法 一下语法只能在beanshell中使用
- Pbootcms plug-in automatically collects fake original free plug-ins
- 伦敦银走势中的假突破
- Convert binary search tree into cumulative tree (reverse middle order traversal)
- Cannot resolve symbol error
- Intensive learning weekly, issue 52: depth cuprl, distspectrl & double deep q-network
- FFT learning notes (I think it is detailed)
猜你喜欢
Pbootcms plug-in automatically collects fake original free plug-ins
Docker compose配置MySQL并实现远程连接
Leetcode study - day 35
cf:D. Insert a Progression【关于数组中的插入 + 绝对值的性质 + 贪心一头一尾最值】
Finding the nearest common ancestor of binary tree by recursion
Unity | two ways to realize facial drive
Unity | 实现面部驱动的两种方式
General operation method of spot Silver
WordPress collection plug-in automatically collects fake original free plug-ins
Five challenges of ads-npu chip architecture design
随机推荐
SCM Chinese data distribution
Mathematical modeling learning from scratch (2): Tools
Ubantu check cudnn and CUDA versions
什么是弱引用?es6中有哪些弱引用数据类型?js中的弱引用是什么?
VSphere implements virtual machine migration
Cve-2017-11882 reappearance
golang mqtt/stomp/nats/amqp
Recoverable fuse characteristic test
Leetcode 208. 实现 Trie (前缀树)
Dede collection plug-in free collection release push plug-in
Threedposetracker project resolution
View class diagram in idea
The inconsistency between the versions of dynamic library and static library will lead to bugs
记一个 @nestjs/typeorm^8.1.4 版本不能获取.env选项问题
After 95, the CV engineer posted the payroll and made up this. It's really fragrant
几百行代码实现一个 JSON 解析器
KDD 2022 | EEG AI helps diagnose epilepsy
Interview must brush algorithm top101 backtracking article top34
JVM_ 15_ Concepts related to garbage collection
Programmer growth Chapter 9: precautions in real projects