Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Get The TCP/IP Guide for your own computer.
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP Administration and Troubleshooting Utilities and Protocols

Previous Topic/Section
TCP/IP Network Status Utility (netstat)
Previous Page
Pages in Current Topic/Section
12
3
45
Next Page
Miscellaneous TCP/IP Troubleshooting Protocols: Echo, Discard, Character Generator, Quote Of The Day, Active Users, Daytime, Time
Next Topic/Section

TCP/IP Configuration Utilities (ipconfig, winipcfg and ifconfig)
(Page 3 of 5)

The ipconfig Utility

Windows takes a somewhat different approach to network configuration than UNIX. As we have seen, the UNIX ifconfig program can be used both to view and modify a wide range of configuration parameters. In Windows, however, most setup and parameter modification is done using the Windows Control Panel. Windows does include a utility that is somewhat similar to UNIX’s ifconfig, but it has far less functionality, and is used mainly to inspect the existing configuration, not change it. It also allows an administrator to easily perform a few simple functions on a host.

ipconfig Options and Parameters

On most newer versions of Windows, the equivalent of ifconfig is a command-line utility called ipconfig. Like ifconfig, the Windows utility is controlled using options that are supplied to the program. However, because it is so much simpler than ifconfig, there are only a few different options that can be used. These are summarized in Table 308.


Table 308: Typical Windows ipconfig Options and Parameters

Option / Parameters

Description

(none)

When called with no options or parameters, ipconfig displays the IP address, subnet mask and default gateway for each interface on the host.

/all

Similar to calling ipconfig with no options, but displays more detailed configuration information about the host’s interfaces.

/release [<adapter>]

Releases (terminates) the DHCP lease on either the specified adapter (interface), or all interfaces if none is provided.

/renew [<adapter>]

Manually renews the DHCP lease for either the specified adapter (interface), or all adapters if none is mentioned.

/displaydns

Displays the contents of the host’s DNS resolver cache.

/flushdns

Clears the host’s DNS resolver cache.

/registerdns

Refreshes (renews) all DHCP leases and also re-registers any DNS names associated with the host.

/showclassid <adapter>

Displays DHCP class IDs associated with this adapter (these are used to arrange clients into groups that are given different treatment by DHCP servers.) The adapter must be specified, even if there is only one.

/setclassid <adapter> [<classid>]

Modifies the DHCP class ID for the specified adapter.


As mentioned earlier, ipconfig is most often used to just examine the existing configuration. When simplified information is needed it is called with no options; an example of the output from this use of the command is shown in Table 309. For detailed information on interfaces, the “/all” option is used; an example is in Table 310 (slightly modified so it is easier to read).


Previous Topic/Section
TCP/IP Network Status Utility (netstat)
Previous Page
Pages in Current Topic/Section
12
3
45
Next Page
Miscellaneous TCP/IP Troubleshooting Protocols: Echo, Discard, Character Generator, Quote Of The Day, Active Users, Daytime, Time
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.