IPConfig (Windows Embedded CE 6.0)

1/6/2010

This is a command-line utility that prints out the TCP/IP-related configuration data of a host.

IPConfig supports IPv6. For more information about IPv6, see Core Protocols of IPv6 and IPv6 Addressing.

The syntax for the IPConfig utility is as follows.

[ /d | /? | /all | /release [adapter index] | /renew [adapter index] ]
  • /d
    Redirects the output to the debug output port.
  • /?
    Displays a help message that shows the syntax and describes the options for IPConfig.
  • /all
    Displays full configuration information.
  • /release
    Releases the IP address for the specified adapter.
  • /renew
    Renews the IP address for the specified adapter.
  • adapter index
    Specifies the index of the adapter for which you want to release or renew an IP address.

If you use the IPConfig utility without any options, IPConfig displays by default only the IP address, subnet mask, and default gateway for each adapter bound to TCP/IP.

The following example shows typical output produced by the IPConfig utility.

Windows IP configuration 
Ethernet adapter Local Area Connection: 
     IP Address ...... : 192.168.26.136
     Subnet Mask ..... : 255.255.255.0
     IP Address ...... : fec0::f1b1:203:ffff:feb1:f4e3%1 [Public]
                         3ffe:2800:d005:f1b1:f517:cdee:53b7:6b04 [Temporary]
                         3ffe:2900:d004:f1b1:203:ffff:feb3:f4e3 [Public]
                         fe80::203:ffff:feb3:f4e3%6
     Default Gateway . : 192.168.24.1
                         fe80::220:54ff:fe99:2820%6
     Adapter Name .... : DC211401
     Description ..... : 
     Adapter Index ... : 65438
     Address.......... : 00 02 ff b2 f4 e2
     DHCP Enabled..... : YES
     DHCP Server...... : 192.168.7.60
     Primary WinsServer: 192.168.6.153
     Secondary WinsServer: 192.168.6.213
     DNS Servers ....  : fec0:0:0:fffe::1%1
                         fec0:0:0:fffe::2%1
                         fec0:0:0:fffe::3%1
     Lease obtained on   : Monday, May 6 ,2002 16 : 9 : 32  
     Lease expires on    : Thursday, May 9 ,2002 16 : 9 : 32  
     AutoConfig Enabled  : YES

Tunnel adapter []: 
     Interface Number .. : 4

Tunnel adapter [6to4 Tunneling Pseudo-Interface]: 
     Interface Number .. : 3
     IP Address ........ : 2002:9d3b:1a87::9d3b:1a87

Tunnel adapter [Automatic Tunneling Pseudo-Interface]: 
     Interface Number .. : 2
     IP Address ........ : fe80::5efe:192.168.26.136%2
     Host name.......... : HostName
     Domain Name........ : domain.name.com
     DNS Servers........ : 192.168.236.138
                           192.168.254.211
     NODETYPE........... :  8              Routing Enabled.... : YES
     Proxy Enabled...... :  NO

See Also

Other Resources

Network Utilities Application Development