IP configuration defines how a Windows system gets and uses:
ipconfigOpen Command Prompt and run:
ipconfig → Shows basic IP detailsipconfig /all → Shows full configuration (MAC, DNS, DHCP, lease info)ipconfig /displaydns → Shows DNS cacheipconfig /flushdns → Clears DNS cacheUsed when facing network or connectivity issues:
ipconfig /release → Drops current IP addressipconfig /renew → Requests a new IP from DHCP serveripconfignetshnetsh is an advanced command-line tool to manage network settings.
netsh interface ip show confignetsh interface ip set address "Ethernet" static IP Subnet Gatewaynetsh interface ip set dns "Ethernet" static DNS_IPnetsh interface ip add dns "Ethernet" DNS_IP index=2netsh interface ip set address "Ethernet" dhcpnetsh interface ip set dns "Ethernet" dhcpipconfig /allnetsh