![]() ![]() Note: Broadcast Frame address: FFFF:FFFF:FFFFĤ> Here switch sends the frame to out port Fa 0/1Ģ> Frame destination MAC address matches the receiving port’s MAC addressģ> Device de-encapsulates the PDU from the Ethernet frameĤ> Device looks up the destination IP address in the routing tableĥ> Routing table has the entry for destination IP address, router decrements the TTL on the packetĦ> Router sets the frame’s destination MAC address to the MAC address of the PC2, here router uses the ARP to get the MAC address of the PC 2.ħ> Router Encapsulates the PC2 MAC address to Ethernet frameĢ> Frame source MAC address was found in the MAC table of the switchģ> This is a unicast frame, switch looks in its MAC table for the destination MAC addressĢ> The destination MAC address matches the receiving port’s MAC addressĤ> Packet’s destination IP address matches the device’s IP addressĦ> ICMP process received an echo request messageħ> ICMP process the replies to the echo request by setting ICMP type to echo reply as ping is an iterative process.ĩ> Destination address is set to 192.168.1.00.īy default, ping sends 4 ICMP packets. Once it receives the MAC address of the gateway through ARP response, it sets the frame’s destination MAC address field to the one it received from the ARP response.Ĥ> PC encapsulates router’s MAC address into the Ethernet frameĥ> PC network adaptor sends out the frame.Ģ> Frame source MAC address is found in the MAC table of the switchģ> This is unicast frame, the switch looks its MAC table for the destination MAC address, and sends the frame to the port associated with the destination MAC address. Ping operates at layer 3 of the OSI layer, it initiates an ICMP echo request and sent it to lower process.ġ> Since the source IP address is not specified in the command, the device sets its IP as the source IP address.Ģ>The destination IP address 172.16.1.100 is not in the same subnet and is not the broadcast address, so the device Sets the next-hop to the default gateway addressģ> since the next gateway MAC address is not in the ARP table of the PC, it initiates an ARP request for the same. ![]() Step 1: PC 1 Initiating Network ping command The complete traffic flow will be explained in the 5 step process: Scenario: PC 1 and PC 2 are in different IP subnet. Mainly our focus is on how the packet is traversing through the devices and what modifications are made on packets to reach the destination. Here I’m explaining the Network ping command flow in a simple network which I have tested and verified using network simulation tool – Cisco packet tracer. ![]() ![]() Ping is the software utility to test the reachability of a host in a network, it is crucial for a network engineer to know how ping works in a real network. Network Ping Command explained with packet tracer ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |