主机,拿着信息 IP 和 Mac ,
知道 IP ( 局域网 Lan 在哪里 ), 不知道具体的设备在哪里
就给局域网发广播
- ARP Messages
- ARP Response

给局域网发广播

局域网的节点 node, 收到了消息


ARP table 条目

subnetting, 子网划分

容易搞错的地方

subnet masks, 子网掩码
- Network ids 用于辨识 identify networks
- Host ids 用于辨识 identify hosts
subnet id
没有子网 subnet 的情况下,certain number of bits are used for the network id,
and certain number of bits are used for the host id,
有子网 subnet 的情况下, some bits are normally comprised 组成 the host id,
are actually used for the subnet id
好像有误?
一个 IP address 地址,里面有三部分信息,
network id,
subnet id,
host id
子网掩码

子网掩码, 用于找出 IP 中,子网 sub net 的部分
感觉格式是
networkID : host id
subnet id : host id

subnet ID 部分

32 位,4 个 8 位

举个例子:
前 27 位,是子网 sub net

本文探讨了局域网中的ARP协议工作原理,当主机只知道目标IP和MAC时如何通过广播ARP请求来定位设备。同时,解释了子网划分的概念,强调了子网掩码在确定网络ID和主机ID中的作用。子网掩码用于从IP地址中区分出子网部分。举例说明了无子网和有子网情况下的IP地址结构,阐述了网络ID、子网ID和主机ID的构成。
823

被折叠的 条评论
为什么被折叠?



