Jump to content

Cheatsheet: Difference between revisions

Line 737:
#If PC2 is in Different Subnet(True for above scenario), Check Gateway IP address & MAC address
#If MAC address is not known, send an ARP request.
#Hub is directly connected, will receive & Flood packet on all Ports.
#
#Switch will receive packet and check its CAM Table for the MAC to Port bindings
#
#If MAC entry is not found in CAM table, Switch will Flood the ARP packet on all ports.
#
#Other destinations will drop the ARP Request packet as they do not have the IP address requested in ARP Header.
#
#Only Router will accept the packet as it has the requested IP address matching its own MAC address.
#It will reply with an ARP Reply message.
#Switch will add an entry of this MAC address & port number in its CAM Table once the reply packet pass through it.
#Hub will flood the packet through all ports.
#ARP Reply will reach PC1, it will add entry to its ARP Table
#Then send a packet destined to PC2 with destintion MAC address as Router's Interface's MAC address received in ARP reply.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.