5.2 ARP 协议

主机,拿着信息 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

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值