Ipconfig is windows equivalent of the Linux command ifconfig. Using this command we can retrieve network interface information.
Get IP for all network connecions.
Executing the command ‘ipconfig’ without arguments will print the IP addresses for all network connections.
c:\>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.1.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 Wireless LAN adapter Wireless Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . :
Command to flush DNS entries cache:
ipconfig /flushdns
Renew DHCP addresses for all network connections:
ipconfig /renew
Print DNS entries in the command line:
ipconfig /displaydns
{ 0 comments… add one now }