Tuesday 9 October 2012

What will Happen if we ping in this case?


A very basic question ....


   PC1--------------------------Router 1-------Router 2---------PC2 ( 10.1.1.1, mac : 00:22:33:33:44:55)
192.168.1.2        192.168.1.1

The IP address of PC1 is 192.168.1.2.  PC1 and PC2 are windows XP machines.

 At PC1 the default gateway is 192.168.1.1.

We added static arp entry for PC2 in PC1

arp -s 10.1.1.1 00:22:33:33:44:55

Now tell me , if we ping from PC1 -> ping 10.1.1.1 , what packets will be sent by PC1 ?