ipconfig.exe

From ReactOS Wiki
Jump to: navigation, search

ReactOS TCP/IPv4 Ipconfig

Ipconfig.exe displays IP addresses and DNS assignments. It can be used to acquire, renew or release an IP from a DHCP server.

Command Line Help

 IPCONFIG [ /? | /all | /renew [adapter] | /release [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter [classid] ]
 Options:
 /?             Display this help message
 /all           Display full configuration information.
 /release       Release the IP address for the specified adapter.
 /renew         Renew the IP address for the specified adapter.
 /flushdns      Purges the DNS Resolver cache.
 /registerdns   Refreshes all DHCP leases and re-registers DNS names.
 /displaydns    Displays the contents of the DNS Resolve Cache.
 /showclassid   Displays all the dhcp class IDs allowed for adapter.
 /setclassid    Modifies the dhcp class id.

Examples

 ipconfig                 Show information
 ipconfig /all            Show detailed information
 ipconfig /renew          renew all adapters
 ipconfig /renew EL*      renew any connections that has its name starting with EL
 ipconfig /release *Con*  release all matching connections,
                          eg. "Local Area Connection 1" or
                              "Local Area Connection 2"

External links

Source code reference

Commit history (Source code can be found in: /reactos/base/applications/network/ipconfig)