PC1---------------------------------ROUTER1-----------------------------PC2
IP: 192.168.3.1 fa0/0: 192.168.3.2 IP: 192.168.4.2
MAC: 0888:0111:1111 fa0/1: 192.168.4.1 MAC: 0999:0222:2222
GW: 192.168.3.2 fa0/0 MAC: 0555:5555:1111 GW: 192.168.4.1
MASK: 255.255.255.0 fa0/1 MAC: 0555:5555:2222 MASK: 255.255.255.0
While PC1 pings PC2s' IP deal with the first thing you do is designed for PC1 to consult if the vacation spot deal with will be local or maybe remote control. In this case 192. 168. four. a couple of will be referred to as remote control simply by PC1. exactly why? well, PC1 by it is IP setting can notify about the multilevel it is linked to. PC1s' own IP deal with will be 192. 168. 3. 1 with a face mask associated with 255. 255. 255. 0. This particular inturn converts that this 1st twenty-four items of this face mask coordinate for the 1st twenty-four items of this IP deal with to we will throughout for the multilevel deal with. In this case 192. 168. 3. 0 is definitely the "street address" associated with PC1. Great! PC1 at this point understands which 192. 168. four. a couple of is the remote control multilevel that's why this specific really needs to be shipped to this Trip router.
In the event that PC1 can now have throughout their arp cache this apple computer deal with in the fa0/0 in the default entrance (Router1) it sends out a arp broadcast with the macintosh deal with to help IP deal with translation of 192. 168. 3. 3 (remember PC1 is aware their entrance ip adddress via IP configuration). That arp is often a broadcast. Router1 has got the arp broadcast, Router1 sets up most of these portions directly into support frames as well as reads this stratum 3 details, stratum 3 details is often a stratum 3 broadcast deal with, Router1 is actually serious. Router1 moves you just read stratum 3 details. Oh wait around one minute! This really is our IP Deal with this Router1 claims: -). Therefore the Router1 reacts by having an ARP result using a origin apple pc deal with being this apple pc deal with due to the fa0/0 program, destination apple pc while apple pc of PC1, Desired destination IP while IP of PC1 as well as origin IP while IP of Router1 program fa0/0.
PC1 recives the particular ARP response. Fantastic! there are now the particular macintosh tackle involving fa0/0 of our default trip. Time for it to mail the particular ping. so our icmp is actually encapsulate inside Level 3 facts (PC1 IP tackle because resource in addition to getaway because IP tackle involving PC2), next encapsulated in a body (the macintosh tackle involving PC1 in addition to macintosh tackle involving Router1 user interface fa0/0). Router1 recieves the particular portions, organises them straight into structures, reads the particular level a couple of details, excellent! Location macintosh tackle is the macintosh tackle involving Router1 user interface fa0/0. The actual router is actually fascinated to learn the particular level 3 details. Router1 realizes which the getaway IP can be an IP tackle involving 192. 168. four. a couple of and also the getaway IP isn't its own IP tackle. Nevertheless this is the router. Router1 continues on to learn it's redirecting table about how in order to course this particular package. Learns which the 192. 168. four. 0 network is a immediately attached network with it's user interface fa0/1.Wonderful, Router1 communicates an ARP obtain (which is usually a broadcast) to get the macintosh tackle associated with PC2. that is 192. 168. some. 3? PC2 recieves the transmitted, scans stratum 3 information (source macintosh will be macintosh associated with user interface fa0/1 associated with Router1 and vacation spot macintosh is usually a transmitted macintosh address), PC2 will be serious to see even more, keeps on to understand stratum 3 information, wait a second PC2 affirms, it is my IP tackle, 'm about to interact to this particular ARP obtain. PC2 communicates the macintosh tackle on the Router1. Amazing! Router1 now can easily send the packet for you to PC2 as it now provides PC2 macintosh tackle and IP tackle.