Chapter 8: Networking
π Network Configuration & Diagnostics
Troubleshooting network connectivity and configuring interfaces in πͺ Windows 11 is handled by a set of command-line tools:
π‘ The ipconfig Command
Displays active network adapter IP details.
ipconfig /all: Lists full configuration info including DHCP leases, DNS servers, and MAC address.ipconfig /flushdns: Purges the local DNS resolver cache (crucial when a website changes IPs and you are stuck seeing the old cached site!).ipconfig /release&ipconfig /renew: Releases and requests a new IP address from the DHCP server.
β‘ The ping Command
Sends ICMP Echo Requests to verify a remote server's availability and latency:
ping -t [address]: Pings the target host continuously (pressCtrl+Cto stop and view statistics).ping -n 10 [address]: Pings the address exactly 10 times.ping -a [IP]: Attempts to resolve the IP address to a computer hostname.