The ipconfig Command
ipconfig command is used mainly in Windows to display the existing configuration of the TCP/IP on the workstation. This configuration displays an IP address, DNS configuration, Windows Internet Naming Services (WINS) configuration, and default gateway.
You can use the ipconfig command in UNIX/Linux/Mac operating system for viewing a TCP/IP configuration.
The output of the ipconfig command displays the basic information of routed protocol on your machine.
You can type following ipconfig command
The ipconfig command has two most important options, /renew and /release, that help in renewing and releasing of IP configuration, respectively. The /renew option is used to change the IP address of the subnet or Virtual Local Area Network (VLAN). The command ipconfig/renew directly connects with the Dynamic Host Configuration Protocol (DHCP) server and receives the IP address. Therefore, you can directly renew the IP configuration. The ipconfig /release command is used to release your current DHCP IP configuration.
you can observe the Ethernet adapter configuration along with the 1Pv4 address, subnet mask, and default gateway. The next configured adapter gets disconnected because it is a logical interface and provides no new information. Then, the next configured adapter interface displays the DNS suffix, IPv6 Address, and default gateway.
The ipconfig command does not display complete information. Therefore, to view whole information; type the following command: