Moreover, DOS/Windows IP commands are used to perform several tasks like assigning an Internet Protocol address to a network interface or configuring network interface parameters. To clarify, below is only a small list of these type of commands that are available.
Consequently, below you'll find a list of the most common Internet Protocol commands for Windows and DOS. For instance, these include ipconfig, trace route, netstat, arp, route, hostname, control netconnections, and other popular DOS and Windows Internet Protocol commands.
Description | DOS/Windows IP Command |
---|---|
Connection Configuration | ipconfig /all |
DNS Cache Info | ipconfig /displaydns |
Release All IP Address Connections | ipconfig /release |
Renew All IP Address Connections | ipconfig /renew |
Re-Register the DNS connections | ipconfig /registerdns |
Change/Modify DHCP Class ID | ipconfig /setclassid |
Network Connections | control netconnections |
Network Setup Wizard | netsetup.cpl |
Test Connectivity | ping whatismyip.com |
Trace Route | tracert |
TCP/IP protocol sessions | netstat |
Local Route | route |
Resolved MAC Addresses | arp |
Name of Computer Currently on | hostname |
DHCP Class Information | ipconfig /showclassid |
NameServer Lookup | nslookup whatismyip.com |
Troubleshooting Connection Issues Using IP Commands
Moreover, ipconfig and ping are probably the two most common used commands from the list above. Therefore, these commands allow you to quickly troubleshoot network connectivity issues. To clarify, if you can't connect to a server on your local network, or get to the internet, pull up a DOS prompt by going to Start and typing in cmd in the search box. Consequently, then press enter. Furthermore, type ipconfig and see your IP address information. Moreover, if the information displayed looks correct, an example would be IP 192.168.1.122, Subnet 255.255.255.0, and Default Gateway of 192.168.1.1. Therefore, try to ping the gateway, which is likely your router by typing in ping 192.168.1.1.
To clarify, if you get a response, the device you're on is connected to the local network. If you don't get a response from the gateway/router and your IP address looks odd, like 169.254.0.0 then the device you're on does not have a legitimate IP address. At the command prompt, ipconfig /release and press enter, then type ipconfig /renew. Once the IP has renewed, check again to see if the IP looks normal.
In conclusion, these and other system Internet Protocol commands are command line tools to help assist in making sure our device connectivity is able to be corrected with a few simple tasks.
Related Articles
VMS IP Commands For TCP/IP Services - IP Commands for VMS including ifconfig, ping, netstat, traceroute, devices for TCP/IP Services throughout the Internet.
Unix IP Commands For TCP/IP Services - Common IP commands for UNIX including ifconfig, route. These following command are mainly used relating to TCP/IP services.
Linux IP Commands for TCP/IP Services - Linux IP Commands - IP Commands for Linux including ifconfig, route, arp, traceroute, tracepath, dig, host. The command is mainly for TCP/IP services.
Different IP Address on WhatIsMyIP.com Than IPCONFIG?