Network+ – 10/27/2008
Covering the TCP/IP suite of command-line protocols was on the agenda today, for both the morning and evening sessions of this class. We learned such fun things as the arp command, netstat, nbtstat, etc.
Obviously, you’ll need to know the basics of these commands (or I wouldn’t have wasted your time with them – honest!). Here’s a run down of some of the more important ones you’ll need to know.
ipconfig /all – This command shows us the nitty-gritty detail of our current IP configuration, including (importantly) our MAC address.
arp –a – This command shows us the contents of the Address Resolution Protocol’s cache – the listing of current IP addresses our computers know and the associated MAC addresses with each one.
tracert site – This command will show us the “hops” that a packet takes as it travels from our host to a remote host somewhere out there. This is useful for troubleshooting lost connections, in determining where a problem might lie.
netstat –a – This command shows all of the connections that are currently being used by our host – both established and “potentially established” ports.
netstat –e – Interested in seeing the Ethernet statistics of your NIC? Issue this command.
nbtstat – In general, nbtstat gives us NetBIOS information…
nbtstat –a –A – These switches list a machine’s name table. The small “a” indicates that the list is sorted by machine name. The capital “A” indicated the list sorted by IP address.
nbtstat –c – This command shows the NetBIOS cache – the machine’s hostnames as well as their corresponding IP addresses.
Homework:
- Chapter Four – Review Questions