当前位置:网站首页>华为HCIA笔记
华为HCIA笔记
2020-11-07 18:56:00 【王瑞丰】
网络基础
二层以太协议:以太的封装
1.记住两个数字:4 18 ----->4个部分,18个字节。
2.目标MAC 6个字节 源MAC 6字节 TYPE(类型) 2字节 FCS(校验)2 字节
MAC地址:
1.24位的OUI+24位的自定义
2.广播MAC :FF-FF-FF-FF-FF-FF ;单播MAC :第一个字节的最低位 置0 ;组播MAC :第二个字节的最低位 置1
数据的发送与接收:
1.发送的时候就是一次封装的过程。。。
2.收到一个帧先校验FCS,读取目标MAC地址,看是否是自己的,如果是就接收,再看TYPE类型是什么,决定交给上层协议,如果目标不是自己的就drop。
线缆常用的有3种:1.同轴电缆 2. 双绞线 3.光纤
广播域与冲突域:
1.广播域是指广播帧传递的范围,交换机默认不分割广播域、路由器默认分割广播域。
2.一个共享的介质网段就处于一个冲突域,CSMA/CD 带冲突检测的载波监听多路访问技术------现在已不使用。
双工模式:
1.单工 --------电视
2.半双工-------对讲机:同一个时刻只有一方发起数据。
3.全双工-------在任何时刻,双方都可发起数据。
ARP协议:
1.以太协议区分上层为ARP:0x0806
2.应用场景----地址解析:使用目标IP地址去解析目标MAC地址,如果目标IP与自己不在一个网络,则解析网关的MAC地址。
3.免费ARP(无故ARP):新配置一个IP后会自动发出ARP请求,无回复才是正确的。
4.什么时候发起ARP请求:当本地没有去往目标的MAC 地址的时候,会发起ARP请求。(本地没有ARP映射表项的时候)
版权声明
本文为[王瑞丰]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4159022/blog/4707639
边栏推荐
猜你喜欢
Win7 how to quickly type CMD and get to the required directory
How to write plug-in code of small program mall system? How to use code to check whether the plug-in is successfully added?
Dynamsoft barcode reader v7.5!
Do you really know how to use search engines?
如何解决谷歌Chrome浏览器空白页的问题
9. Routingmesh service communication between clusters
关于DevOps的七大误解,99%的人都曾中过招!
失眠一个整晚上
How to solve the problem of blank page in Google Chrome browser
甘特图对活动进行分组教程
随机推荐
Vue: Axios uses this pointer
使用RabbitMQ实现分布式事务
The first choice for lightweight GPU applications is the NVIDIA vgpu instance launched by Jingdong Zhilian cloud
【原創】ARM平臺記憶體和cache對xenomai實時性的影響
K-vim installation and the ycmd server shut down (restart with ': ycmrestartserver')
7.Swarm搭建集群
JS array the usage of array is all here (array method reconstruction, array traversal, array de duplication, array judgment and conversion)
python3操作Jenkins模块api
[original] the impact of arm platform memory and cache on the real-time performance of xenomai
pc端与移动端适配解决方案之rem
vue踩坑:axios使用this指针
9.集群之间服务通信 RoutingMesh
And how to solve the conflict between pop-up menu and pop-up menu
如何解决谷歌Chrome浏览器空白页的问题
How to write plug-in code of small program mall system? How to use code to check whether the plug-in is successfully added?
What should be considered in the promotion plan outside the station?
HMS core push service helps e-commerce app to carry out refined operation
C# 枚举权限 |和||,&和&&的区别
How to solve the problem of blank page in Google Chrome browser
Chinese sub forum of | 2020 PostgreSQL Asia Conference: Pan Juan