Workshop

Perform the following commands and view the responses on your computer:

ipconfig /all, winipcfg, and ifconfig -a (Not all TCP/IP stacks implement these.)

ping 127.0.0.1

ping w.x.y.z— Replace w.x.y.z with the IP address of your computer.

ping w.x.y.z— Replace w.x.y.z with the IP address of another local computer.

ping w.x.y.z— Replace w.x.y.z with the IP address of your default gateway.

ping w.x.y.z— Replace w.x.y.z with the IP address of a remote computer.

ping localhost

ping http://www.whitehouse.gov— If you are connected to the Internet and have a DNS server.

hostname

ping <hostname>— Replace <hostname> with the your actual hostname.

arp -a or arp -g— One or both might work. Wait a few minutes then repeat.

netstat -s

nbtstat ...

Get Sams Teach Yourself TCP/IP in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.