Question: Suppose an IP implementation adheres literally to the following algorithm on receipt of a packet, P, destined for IP address D: (a) If the IP

Suppose an IP implementation adheres literally to the following algorithm on receipt of a packet, P, destined for IP address D:

if ((Ethernet address for D is in ARP cache)) (send P) else

(a) If the IP layer receives a burst of packets destined for D, how might this algorithm waste resources unnecessarily?

(b) Sketch an improved version.

(c) Suppose we simply drop P, after sending out a query, when cache lookup fails. How would this behave? (Some early ARP implementations allegedly did this.)

if ((Ethernet address for D is in ARP cache)) (send P) else (send out an ARP query for D) (put P into a queue until the response comes back)

Step by Step Solution

3.51 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The provided algorithm describes how an IP layer should handle outgoing packets for which the destination Ethernet address MAC address is unknown The ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Networking Questions!