Diagnosing and resolving IP addressing problems

Last Updated on Friday, 20 July 2012 14:04
Hits: 1010
FontSize

The current IP address settings of a computer can be obtained as discussed in "viewing network configuration information" on page 672. If a computer is having problems accessing network resources or communicating with other computers, an IP addressing problem might exist. Take a close look at the IP address currently assigned, as well as other IP address settings, and use the following tips to help in your troubleshooting:

When you are using static IP addressing, you can check the current IPv4 or IPv6 settings by entering ipconfig /all at a command prompt. The display of the ipconfig /all command includes IPv4/IPv6 addresses, default routers, and DNS servers for all interfaces. You can also check IPv4 and IPv6 addressing separately. To check the IPv4 addressing configuration, enter netsh interface IPv4 show address. To check IPv6 addressing, enter netsh interface IPv6 show address. To use netsh to show the configuration of a remote computer use the -r RemoteComputerName command line option. For example, to display the configuration of the remote computer named corpserver26, you would enter netsh -r corpserver26 interface IPv4 show address.

To make changes to the configuration of IP interfaces, use the netsh interface IPv4 set interface and netsh interface IPv6 set interface commands. To add the IP addresses of DNS servers, use the netsh interface IPv4 add DNS and netsh interface IPv6 add DNS commands.


Please Donate
Click to listen highlighted text! Powered By GSpeech