fortypoundhead.com

IPConfig

Posted On 2009-02-15 by FortyPoundHead
Keywords: Command Reference
Tags: Windows Commandline Networking Windows
Views: 1631


IPCONFIG

Configure IP.

syntax


  IPCONFIG /all         Display full configuration information.

  IPCONFIG /release [adapter]

                        Release the IP address for the specified adapter.

  IPCONFIG /renew [adapter]

                        Renew the IP address for the specified adapter.

  IPCONFIG /flushdns    Purge the DNS Resolver cache. ##

  IPCONFIG /registerdns Refresh all DHCP leases and re-register DNS names. ##

  IPCONFIG /displaydns  Display the contents of the DNS Resolver Cache. ##

  IPCONFIG /showclassid adapter

                        Display all the DHCP class IDs allowed for adapter. ##

  IPCONFIG /setclassid  adapter [classid]

                        Modify the dhcp class id. ##

## = New option in Win 2K/XP

If the Adapter name contains spaces, use quotes: "Adapter Name"

wildcard characters * and ? allowed, see the examples below

The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP.

For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed.

For Setclassid, if no ClassId is specified, then the ClassId is removed.

Examples

    > ipconfig                   ... Show information.

    > ipconfig /all              ... Show detailed information

    > ipconfig /renew            ... renew all adapters

    > ipconfig /renew EL*        ... renew any connection that has its

                                     name starting with EL

    > ipconfig /release *Con*    ... release all matching connections,

                                     eg. "Local Area Connection 1" or

                                         "Local Area Connection 2"

    > ipconfig /setclassid "Local Area Connection" TEST

                                 ... set the DHCP class ID for the

                                     named adapter to = TEST


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:107.22.46.59

Before you can post, you need to prove you are human. If you log in, this test goes away.



Recent Forum Posts

List of Shady Characters
dwirch posted on April 25, 2017 at about 16:39 in Webmaster Stuff

Job Spammer: Bilal Uddin
dwirch posted on April 25, 2017 at about 11:00 in Spammers

Bug Fix: Contact Form Error
dwirch posted on April 21, 2017 at about 11:38 in Site News

Bug Fix: Ophion Time Tracker
dwirch posted on April 9, 2017 at about 11:30 in Site News

Job Spammer: Yogesh Kapadne
dwirch posted on March 31, 2017 at about 8:04 in Spammers

Job Spammer: Sathya Narayana
dwirch posted on March 15, 2017 at about 7:18 in Spammers