您的位置:首页 > 移动开发

Charpter 4&5 ARP&RARP

2008-10-09 05:42 232 查看
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

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  application server layer