Monday, April 18, 2011

tcp-ip utilities lab

 I would use ipconfig to check my ip configuration and at times release and renew it from the dhcp pool so I can make sure to get a good ip address.  You can see what ip addresses all the devices on your network have with ipconfig /all You can find out more commands with /?  like /release and /renew.
 Use the netstat -a command to display active connections and sockets. Look for phantom connections -- those that still appear as active in the display that were terminated abnormally. If many appear, your network may run slowly, and you may need to stop and restart TCP/IP to flush the connections. The netstat -i command displays active interfaces (network card and serial interfaces).

 NetBIOS over TCP/IP (NetBT) resolves NetBIOS names to IP addresses. TCP/IP provides many options for NetBIOS name resolution, including local cache lookup, WINS server query, broadcast, DNS server query, and LMHOSTS and HOSTS lookup. Here are some popular switches.

nbtstat -n displays local name table.
nbtstat -c shows the name cache
nbtstat -a also shows the adapters mac address
nbtstat -s shows session statistics


The TRACERT command can be used to determine where a packet stopped on the network. In the following example, the default gateway has determined that there is not a valid path for the host on 22.110.0.1. There is probably a router configuration problem or the 22.110.0.0 network does not exist (a bad IP address). Most servers though are not able to be tracert-ed because it is a network security issue.  They will simply block the tracert packets so they don't broadcast their IP's that way.

No comments:

Post a Comment