Charpter 4&5 ARP&RARP

本文介绍了地址解析协议(ARP)及逆向地址解析协议(RARP)的工作原理。ARP用于将IP地址转换为以太网地址,而RARP则实现相反的功能。两者都使用广播发送请求并采用单播进行响应。此外还提到了代理ARP和无偿ARP的应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Concepts:

ARP: Address Resolution Protocol [32bitIP addr->48bit ethernet addr]

RARP: inverse of ARP [48bit ethernet addr->32bit IP addr]

 

Machenism:

 

ARP:

Application use host name, through DNS interpreted as IP addr. But the physical layer only use ethernet addr to transmit datagram. So host broadcast ARP request to all the host or router on the same network. If any host or router has the same IP addr it asks for. Then it fills out the ethernet address of the ARP request. And then change the order of source IP addr and source ethernet addr with dest IP addr and dest ethernet addr and unicast this ARP response to the host.

 

RARP:

RARP request need its IP addr instead of ethernet addr. And router no longer response to this request. There are several RARP server who are responsible for respond this. But only the first response the host receive is count.

 

Both ARP and RARP are using broadcast to send request and unicast to response.

 

Proxy ARP:

the router response instead of host. it is transparent to external router.

 

Gratuitou ARP:

1. determine if the same IP addr has already exists

2. update its mapping infomation

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值