ipconfig shows and refreshes a Windows host's IP settings. On Linux, ip (iproute2) replaced the older ifconfig; macOS still ships ifconfig.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | /all | DHCP server | Windows laptop | RESPONSE | lease 192.168.1.23 |
| 2 | /all | Windows laptop | default gateway | DATA | gateway .1 |
ipconfig shows and refreshes a Windows host's IP settings. On Linux, ip (iproute2) replaced the older ifconfig; macOS still ships ifconfig.
ipconfig /all shows IP, mask, gateway, DNS servers, MAC and DHCP lease details.ipconfig /flushdns clears the DNS cache; /release and /renew redo DHCP.ip a addresses, ip link interfaces, ip route routes.