Charpter 4&5 ARP&RARP

来源:互联网 发布:海珠 租房 知乎 编辑:程序博客网 时间:2024/06/06 02:16

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

 

原创粉丝点击