IP Commands for DOS/Windows

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.  Below is only a small list of these type of commands that are available.

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

Ipconfig and ping are probably the two most commonly used commands from the list above. 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. Then, press enter. After this, type ipconfig and see your IP address information. Make sure that the information displayed looks correct. For example, you could see IP 192.168.1.122, Subnet 255.255.255.0, and Default Gateway of 192.168.1.1. You would then try to ping the gateway, which is likely your router, by typing in ping 192.168.1.1.

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 or 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.

Adobe Logo
Amazon Logo
Apple Logo
BBC Logo
Github Logo
GoDaddy Logo
Google Logo
Hulu Logo
LinkedIn Logo
Live Nation Logo
Microsoft Logo
Mozilla Logo
NBA Logo
Netflix Logo
Spotify Logo
Ticket Master Logo
Wikipedia Logo
Wordpress Logo