Understanding ARP protocol - Nifalnasar/Fundamentals-of-Network GitHub Wiki

  1. Answer the following questions based on the contents of the Ethernet frame containing the HTTP GET message.

a. What is the 48-bit Ethernet address of your computer?

image

b. What is the 48-bit destination address in the Ethernet frame? Is this the Ethernet address of gaia.cs.umass.edu? What device has this as its Ethernet address?

image

c. Give the hexadecimal value for the two-byte Frame type field. What upper layer protocol does this correspond to?

image

  1. Answer the following questions based on the contents of the Ethernet frame containing the first byte of the HTTP response message. a. What is the value of the Ethernet source address?

image

b. What is the destination address in the Ethernet frame? Is this the Ethernet address of your computer?

image

c. Give the hexadecimal value for the two-byte Frame type field. What upper layer protocol does this correspond to?

image

  1. Answer the following questions based on the contents of the ARP Request packets.

a. What are the hexadecimal values for the source and destination addresses in the Ethernet frame containing the ARP request message?

image

b. Give the hexadecimal value for the two-byte Ethernet Frame type field.

image

c. How many bytes from the very beginning of the Ethernet frame does the ARP opcode field begin?

image

d. What is the value of the opcode field within the ARP-payload part of the Ethernet frame in which an ARP request is made?

Value: 0x0001

image

e. Does the ARP message contain the IP address of the sender?

Yes, ARP contains sender IP address.

image

f. Where in the ARP request does the “question” appear – the Ethernet address of the machine whose corresponding IP address is being queried?

image

  1. Answer the following questions based on the contents of the ARP Reply packets.

a. How many bytes from the very beginning of the Ethernet frame does the ARP opcode field begin?

image

b. What is the value of the opcode field within the ARP-payload part of the Ethernet frame in which an ARP response is made?

Value:2

image

c. Where in the ARP message does the “answer” to the earlier ARP request appear –the IP address of the machine having the Ethernet address whose corresponding IP address is being queried?

image

d. What are the hexadecimal values for the source and destination addresses in the Ethernet frame containing the ARP reply message?

image

e. There is yet another computer on this network, as indicated by packet 6 – another ARP request. Why is there no ARP reply (sent in response to the ARP request in packet 6) in the packet trace?

There is no reply in this trace, because we are not at the machine that sent the request. The ARP request isbroadcast, but arp reply is an unicast packet, only the targeted machine will receive it or the specified devicewith that ip may be down in the network or we can say that device specified may have changed the ip address.