当前位置:网站首页>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
边栏推荐
- VLAN details and experiments
- spark算子-textFile算子
- Image compression failure problem
- 错误类型:reflection.ReflectionException: Could not set property ‘xxx‘ of ‘class ‘xxx‘ with value ‘xxx‘
- 洞察互联网大趋势,读完这篇文章你就彻底了解中文域名
- Remembering my first CCF-A conference paper | After six rejections, my paper is finally accepted, yay!
- 入门文档05-2 使用return指示当前任务已完成
- Spark源码-任务提交流程之-6-sparkContext初始化
- 来来来,一文让你读懂Cocos Creator如何读写JSON文件
- spark source code - task submission process - 2-YarnClusterApplication
猜你喜欢
Contextual non-local alignment of full-scale representations
VLAN详解及实验
2020年手机上最好的25种免费游戏
spark source code - task submission process - 1-sparkSubmit
入门文档07 分阶段输出
【Day5】软硬链接 文件存储,删除,目录管理命令
入门文档08 条件插件
错误类型:reflection.ReflectionException: Could not set property ‘xxx‘ of ‘class ‘xxx‘ with value ‘xxx‘
入门文档10 资源映射
网络布线与数制转换
随机推荐
D39_欧拉角与四元数
乘云科技受邀出席2022阿里云合作伙伴大会荣获“聚力行远奖”
专有宿主机CDH
每日一题-无重复字符的最长子串-0712
D46_给刚体施加的力
Getting Started Documentation 12 webserve + Hot Updates
spark算子-repartition算子
每日一题-下一个排列-0723
网站ICP备案是什么呢?
[Day1] VMware software installation
dsf5.0 弹框点确定没有返回值的问题
I217-V在openwrt软路由下大流量断网问题
错误类型:reflection.ReflectionException: Could not set property ‘xxx‘ of ‘class ‘xxx‘ with value ‘xxx‘
lvm逻辑卷及磁盘配额
什么?CDN缓存加速只适用于加速静态内容?
“元宇宙”是个啥?都有哪些大招?
unity实现第一人称漫游(保姆级教程)
CIPU,对云计算产业有什么影响
云计算——osi七层与TCP\IP协议
Wireshark抓包及常用过滤方法