Ipconfig Command In windows Server 2008

In this article I am going to explain about Ipconfig Command in Windows Server 2008 operating system and also explain it's related syntax.
  • 905

Introduction

Ipconfig is command line tool used to control the network connections. The Ipconfig command  displays all current TCP/IP network configuration values which includes IP address, Subnet Mask, Default Gateway, DHCP Server IP, Mac Address, DNS and other details regarding a computer and the network. Ipconfig command also refreshes Dynamic Host Configuration Protocol  (DHCP) and Domain Name System (DNS) settings.

Syntax

ipconfig [/allcompartments] [/all] [/renew [<Adapter>]] [/release [<Adapter>]] [/renew6[<Adapter>]] [/release6 [<Adapter>]]
[/flushdns] [/displaydns] [/registerdns] [/showclassid <Adapter>] [/setclassid <Adapter> [<ClassID>]]

Options:

Parameter Description
/all Display full configuration information of all adapters.
/allcompartments] Display full configuration information for all compartments..
/renew [<Adapter>] Renews the DHCP configuration for all the adapters (if no adapter has been specified) and also for a specific adapter if an Adapter parameter has been included.
/release [<Adapter>] This sends a DHCP release message to a DHCP server to disregard the DHCP-configured settings for either all adapters or for a specific adapter. If there is no adapter is specified, the IP address configuration is released for all the adapters
/renew6[<Adapter>] If an adapter is not specified, this renews DHCPv6 configuration for all adapters. If adapter parameter is specified then DHCPv6 configuration will renew for specified adapter.
/release6 [<Adapter>] This sends a DHCP release message to a DHCPv6 server to disregard the DHCP-configured settings for either all adapters or for a specific adapter. If there is no adapter is specified, the IP address configuration is released for all the adapters 
/flushdns] Resets and also flushes all the contents of the DNS client resolver cache.
/displaydns Displays the contents of the DNS client resolver cache.
/registerdns Specifies the manual dynamic registration for DNS names and the IP addresses that are configured at a computer. This can be especially useful when troubleshooting DNS name registrations or  resolve a dynamic update problem between a client and the DNS server without rebooting the client computer.
/showclassid <Adapter> Displays the DHCP class ID for a given adapter.
/setclassid <Adapter> [<ClassID> Configures the DHCP class ID for a specified adapter and for all adapters, use the asterisk (*) wildcard character in place of the Adapter.

Example

Display basic configuration information of all adapters.

ipconfig

 

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2013 dotNetheaven. All rights reserved.