Skip to main content This browser is no longer supported. Show
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. ipconfig
In this articleDisplays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings. Used without parameters, ipconfig displays Internet Protocol version 4 (IPv4) and IPv6 addresses, subnet mask, and default gateway for all adapters. Syntax
Parameters
Remarks
ExamplesTo display the basic TCP/IP configuration for all adapters, type:
To display the full TCP/IP configuration for all adapters, type:
To renew a DHCP-assigned IP address configuration for only the Local Area Connection adapter, type:
To flush the DNS resolver cache when troubleshooting DNS name resolution problems, type:
To display the DHCP class ID for all adapters with names that start with Local, type:
To set the DHCP class ID for the Local Area Connection adapter to TEST, type:
Additional References
FeedbackSubmit and view feedback for How do you find the default gateway and subnet mask of an IP address?In the Windows search fields, type cmd, to open command prompt.. Press Enter.. Type ipconfig/all press Enter.. Find your network settings.. Your PC's IP address and your network Subnet Mask and Gateway will be listed.. What command displays the IP address subnet mask and default gateway of the system you are currently on quizlet?You can use the ipconfig command to get host computer configuration information, including the IP address, subnet mask, and default gateway.
Which command on Windows will allow you to verify your IP address subnet mask default gateway and MAC address?Type ipconfig /all at the command prompt to check the network card settings. The IP address and MAC address are listed under the appropriate adapter as Physical Address and IPv4 Address. You can copy the Physical Address and IPv4 Address from the command prompt by right clicking in the command prompt and clicking Mark.
How do you find the default gateway of a subnet?In the Command Prompt window, type “ipconfig” and press “Enter/Return” on your keyboard. You will see a lot of information generated in this window. If you scroll up you should see “Default Gateway” with the device's IP address listed to the right of it.
|