Appendix A Network Troubleshooting
For example, the date command has the optional /t and date parameters. If you do not use either of them and enter just date by itself, then the system shows you the date it is currently using and then prompts you to change it.
C:\>date
The current date is: 2009/10/21
Enter the new date:
However, if you use the /t parameter it just displays the date and nothing more.
C:\>date /t 2009/10/21
C:\>
To view the parameters for any given command, enter help [command].
ipconfig
The ipconfig command line utility allows you to display current network (TCP/IP) configuration settings and, in some cases, adjust them. When you have network connectivity problems, the first thing you should do is run this command to ensure that your device or computer does in fact have an IP address as well as display the source of that IP address (such as a default gateway).
Syntax: ipconfig
Parameters: ipconfig [/release] [/renew]
There are other parameters, but these are the only ones you need to use for now.
The following examples show the typical output of this command:
C:\>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
IP Address. . . . . . . . . . . . : 192.168.1.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 1.1.1.4
C:\>
| 255 |
|
|