It is five past ten at a bank branch in Rajshahi, and the phone on your desk is ringing. The cash counter says, "The internet is down." You are the branch's IT officer, so you walk over, sit at the teller's PC and don't touch a single setting. You open the command prompt, type four or five short commands, and two minutes later you know what is wrong and which box in the branch is to blame.
Those commands are not magic. Each one asks a small helper protocol a question. ping asks ICMP, "can you hear me?" tracert makes every router on the road send back a little note saying "your packet ran out of time here." arp -a opens the address book that every LAN keeps. To read their answers well, you need to know who is talking behind them.
IP, the protocol that carries every packet, does one job very well: it moves a packet towards an address. It says nothing else. It doesn't know the hardware address of the next machine, it doesn't tell you when a packet has died on the way, and it has no idea who wants a particular TV channel. ARP, ICMP and IGMP fill exactly those three gaps, and they are the first half of this chapter. The second half is practical: ping and tracert at work, the other Windows commands, and a fixed order for hunting a fault, so that you never run commands at random again.
By the end you will be able to follow an ARP exchange frame by frame, and explain how ARP can be fooled and how a switch stops it. You will read ICMP messages by type and code, say why tracert works by lowering a number, and read a ping or tracert printout well enough to say where the trouble is. You will know which Windows command answers which question, and you will climb the troubleshooting ladder from the cable to the website without skipping a rung.