当前位置:网站首页>One-arm routing and 30% switch
One-arm routing and 30% switch
2022-08-05 06:10:00 【Magic star】
One-arm routing and Layer 3 switch
One-arm routing
One-arm routing refers to the interconnection between different VLANs (Virtual Local Area Networks) that were originally isolated from each other by configuring sub-interfaces on one interface of the router.
- Advantages: Realize communication between different vlans, help to understand and learn vlan principles and sub-interface concepts
- Disadvantages: It is easy to become a single point of failure in the network, the configuration is slightly complicated, and it is of little practical significance
Experimental topology one

Switch Configuration

Configuring routing (one-arm routing)

PC1 ping 192.168.2.1

Layer 3 switch
- Layer 3 switching = Layer 2 switching + Layer 3 forwarding
- Layer 3 switches have some router functions and work at the network layer
The Forwarding Principle of Layer 3 Switches

In this network, the source host, destination of communicationThe hosts are connected to the same Layer 3 switch, but they are in different VLANs (network segments).
For the Layer 3 switch, the two hosts are located in its directly connected network segment, and the routes corresponding to their IPs are all directly connected routes.
Function:
Layer 3 switching technology can realize inter-vlan communication;
speed up data exchange within large local area networks.
Advantages:
Can do one routing, multiple forwarding
one routing: The first packet is processed by the three-layer engine, re-encapsulates the MAC, and then routes and forwards the packet;
multiple exchanges: After the first packet is forwarded, an MSL entry will be created in the hardware. The MSL contains the FIB (forwarding information base: including the adjacent host IP and vlanid),Adjacency table (including MAC addresses of adjacent hosts), Re-encapsulate data frames by querying FIB and adjacency table, and forward data from corresponding ports.
Experimental topology two

Configure Layer 2 switches, create vlans in batches, enter ports e0/0/1, e0/0/2, and e0/0/4, set the ports to access mode, and setPut each vlan into the corresponding vlan; enter the e0/0/3 port, set the port to trunk mode, and allow all vlan communication.
Configure the Layer 3 switch, enter port g0/0/1, set the port to Trunk mode, and allow all vlan communication; set vlan in batches, then enter the logical interface of VLAN10, set the port'sIP address and subnet mask

PC1 communicates with PC2, PC3 (ping 192.168.2.1, ping192.168.3.1)

Command extension:
One-arm routing:
- dotlq termination vid //The single-layer VLAN ID used to configure the sub-interface dotlq termination
- arp broadcast enble //If not configured, the arp broadcast cannot be actively sent, and the IP packet will be directly discarded and not forwarded
Layer 3 switch;
- interface vlanif //Used to enter the vlanif interface view
- display ip interface brief //View port IP information
边栏推荐
猜你喜欢

虚幻引擎5都有哪些重要新功能?

入门文档11 自动添加版本号

Configuration of TensorFlow ObjecDetectionAPI under Anaconda3 of win10 system

IJCAI 2022|Boundary-Guided Camouflage Object Detection Model BGNet

Getting Started 05 Using cb() to indicate that the current task is complete

偷题——腾讯游戏开发面试问题及解答

Getting Started Document 01 series in order

lvm logical volume and disk quota

成功的独立开发者应对失败&冒名顶替综

URP渲染管线实战教程系列 之URP渲染管线实战解密(一)
随机推荐
[Day1] (Super detailed steps) Build a soft RAID disk array
[Day6] File system permission management, file special permissions, hidden attributes
Apache配置反向代理
spark源码-任务提交流程之-1-sparkSubmit
专有宿主机CDH
D45_摄像机组件Camera
Spark源码-任务提交流程之-6-sparkContext初始化
Unity3D中的ref、out、Params三种参数的使用
入门文档03 区分开发与生产环境(生产环境才执行‘热更新’)
【Day6】文件系统权限管理 文件特殊权限 隐藏属性
入门文档07 分阶段输出
每日一题-电话号码的字母组合-0717
你要找的cocos面试答案都在这里了!
Dsf5.0 bounced points determine not return a value
如何用UE5渲染一个可爱的茶壶屋?
Account and Permission Management
Remembering my first CCF-A conference paper | After six rejections, my paper is finally accepted, yay!
每日一题-括号生成-0721
[Paper Intensive Reading] Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation (R-CNN)
入门文档11 自动添加版本号