What to Do |
How to Do It |
Open the MS-DOS prompt |
- Windows 2000: Click Start, Programs, Accessories, Command Prompt
- Windows 98: Click Start, Programs, MS-DOS Prompt
|
Display Windows IP information |
- Type ipconfig /? to view command options
- Type ipconfig to view your IP address, subnet mask and
default gateway
- Type ipconfig /all to view complete information
- Type winipcfg to run the Windows IP configuration utility
|
Display TCP/IP network connections |
- Type netstat /? to view command options
- Type netstat -a to view all connections and listening ports
- Type netstat -r to display the routing table
|
Look up domain and host names and IP addresses |
- Type nslookup to start the nameserver lookup program
- Type help to view a list of commands
- Type nslookup hostname to find the IP number of a host
machine, e.g.
- home.umu.ac.ug
- yourcomputername.umu.ac.ug
- www.yahoo.com
- www.microsoft.com
- Type nslookup IPnumber to see if an IP number
has a host name
|
Check if a host machine is reachable |
- Type ping to view command options
- Type ping IPnumber where IPnumber is the
machine to test, e.g.
- 127.0.0.1 is the loopback address (for self-testing)
- 192.168.22.1 is the default gateway
- 192.168.22.2 is the proxy server
- 192.168.22.28 is a web server
- 192.168.22.30 is the mail server
- 192.168.22.75 is my IP address
|
Trace the route from your machine to a host machine |
- Type tracert to view command options
- Type tracert IPnumber
|
Test router and link delays on a path to a machine |
- Type pathping to view command options
- Type pathping IPnumber
|
Display the local routing table |
- Type route to view command options
- Type route print
|
View the local Address Routing Protocol cache |
- Type arp -a
- Ping the IP address of another computer in the classroom
- Type arp -a
|
Connect to a remote machine and transfer files using command-line FTP |
- Type ftp to view the ftp> prompt
- Type open ftp.microsoft.com (or another FTP site)
- For the username, type anonymous
- For the password, type your e-mail address
- Type help to display a list of available commands
- Type help command for information about a command
- Type ls or dir to list files in the current folder
- Type cd foldername to go into a folder
- Type get filename to download a file to your computer
- Type bye to close the FTP session and exit FTP
- Type dir to verify that the file has been downloaded to your
computer
|
Connect to a remote machine and transfer files using FTP and a Web
browser |
- Type a FTP address in the browser address window
e.g. ftp://ftp.microsoft.com
- Click a folder to open it
- Click a file to download it, and specify a location to save the
downloaded file
|
Locate a Telnet site using a Web browser |
- Go to http://www.internetdatabase.com/telnet.htm
- Browse for a Telnet site that you can access
|
Connect to a remote machine using Telnet |
- Type telnet to view the Microsoft Telnet> prompt
- Type help to view available commands
- Type open IPnumber or open hostname
where hostname is the domain name of a computer
- Type quit to exit telnet
|
Connect to a remote machine using gopher and a Web browser |
- Type a gopher address in the browser address window
e.g. gopher://gopher.micro.umn.edu/
- Click a folder or file to open it
|