Need correct answer to this homework question

October 22, 2011 at 21:20:36
Specs: Windows 7
Source machine generate ARP REQUEST packet with source MAC address (of this machine), source IP address (of this machine) and destination IP address and forwards this packet to switch.
Switch receives the incoming packet and reads the source MAC address and checks its MAC address table, if entry for packet at incoming port is found then it checks its MAC address with the source MAC address and updates it, if entry not found then switch add and entry for incoming port with MAC address.
All ARP REQUEST packets are broadcasted in network, so switch broadcast ARP REQUEST packet in network.
(Broadcast are those packets which are sent to everyone in network except the sender, only in network to which it belongs, it cannot span multiple networks)
All devices in network receives ARP packet and compare their own IP address with the destination IP address in that packet.
Only the machine which matches the both will reply with ARP reply packet. This packet will have source IP of this machine (which was destination machine in previous packet, as now its replying this machine will be the source machine) , source MAC address, destination MAC address (same as source MAC address in REQUEST packet) and destination IP address (same as source IP address in REQUEST packet).
Then switch reads the ARP reply message and add entry in its MAC Address Table for port number on which it has received packet by reading its source MAC address field and forwards that packet to destination machine (source machine in REQUEST packet) as its MAC is in destination MAC address.
Further host machine add destination machine entry into its ARP table.

This using ARP resolution switch and other devices in network obtain MAC address of any other device in a network. Remember ARP works on broadcast, so it works only in single network.


See More: Need correct answer to this homework question

Report •

#1
October 22, 2011 at 21:42:39
Your first sentence was:

"Source machine generate ARP REQUEST packet with source MAC address (of this machine), source IP address (of this machine) and destination IP address and forwards this packet to switch."

& your last sentence was:

"Remember ARP works on broadcast, so it works only in single network."

If ARP works on broadcast, then there is no destination IP address as stated in your first sentence.

What do you think of that?

How do you know when a politician is lying? His mouth is moving.


Report •

#2
October 22, 2011 at 23:19:04
No contradiction there. Now if the request included the destination MAC, that would be a contradiction.

Report •

#3
October 23, 2011 at 06:34:22
How is there no contradiction? Broadcast is to all IPs.

How do you know when a politician is lying? His mouth is moving.


Report •
Related Solutions


Ask Question