

- Is the Wi‑Fi icon visible and indicating a connection?
- Is Airplane Mode disabled?
- Are cables plugged in and the router powered on?
- Are other devices on the same network online?
| Layer | What to check | Useful command(s) |
|---|---|---|
| Physical | Power, cables, Wi‑Fi, signal strength | N/A (GUI / hardware) |
| Link / Local network | Can you reach the router (local connectivity)? | ping <router_ip> |
| Network / Routing | Does routing to the Internet work (by IP)? | ping 8.8.8.8 |
| Application / DNS | Are hostnames resolving? | ping google.com, nslookup, dig |
| Path analysis | Where packets are dropped? | traceroute / tracert |
If the router responds, your device’s network interface and local link are working. If it doesn’t, focus on Wi‑Fi settings, physical cables, and your network adapter configuration.
- A private IP (commonly
192.168.x.x,10.x.x.x, or172.16.x.x–172.31.x.x). - A router/default gateway IP (e.g.,
192.168.0.1). - Whether the IP was obtained via DHCP or set manually.
- Windows:
ipconfig - macOS / Linux:
ifconfigorip addr
8.8.8.8). This checks routing without involving DNS.
Example: successful ping to 8.8.8.8
- If this succeeds, your router has upstream connectivity.
- If it fails, the problem is likely upstream (router → ISP) or the ISP itself.
google.com.
Example: DNS failure when resolving google.com
- Check the DNS server entries in your network settings.
- Try switching to a known resolver, e.g.,
8.8.8.8(Google) or1.1.1.1(Cloudflare). - Alternatively, point DNS to your router so it will forward requests to the ISP or public DNS.
traceroute (macOS/Linux) or tracert (Windows) to view each hop between your device and a destination. This helps locate where packets are dropped or delayed.
- Some intermediate routers intentionally do not respond to ICMP or TTL-expired messages; asterisks in a traceroute do not always mean a problem.
- Use traceroute output to determine whether the issue is inside your LAN, at the ISP, or beyond.

| Command | Platform | Purpose |
|---|---|---|
`ping <ip|host>` | All | Test IP-level or hostname reachability and measure latency |
ipconfig | Windows | View interface configuration and default gateway |
ifconfig / ip addr | macOS / Linux | View interface configuration and addresses |
`nslookup <host>` / `dig <host>` | All (dig on Linux/macOS) | Test DNS resolution and view which server was queried |
`traceroute <dest>` / `tracert <dest>` | macOS/Linux / Windows | Show hop-by-hop path and locate where packets are dropped |
- Physical: Wi‑Fi is on, signal strength is good, other devices online.
- Link/Network:
pingto router replies → local connectivity OK. - Network: GUI shows
192.168.0.148and router192.168.0.1→ DHCP/addresses are sensible. - Routing/Internet:
ping 8.8.8.8replies → routing to the Internet is OK. - Application:
ping google.comfails with “cannot resolve” → DNS issue.
8.8.8.8) or set DNS to your router so it forwards DNS. After updating DNS, confirm hostnames resolve and the browser should recover.

- Physical: Wi‑Fi on and signal good; other devices online.
- Link/Network:
ping 192.168.0.1— no replies:
- Network: Inspect device IP settings — IP or gateway may have been set manually to the wrong network.
- Fix: Switch the interface to DHCP (automatic configuration). This requests a valid IP, gateway, and DNS from the router.
- Start at the physical layer: power, cables, Wi‑Fi, signal strength.
- Use
pingto verify both local (router) and remote (Internet IP) connectivity. - Use
ipconfig/ifconfigor the GUI to confirm your IP, netmask, gateway, and whether DHCP is in use. - If local pings fail, it’s likely a LAN issue — check IP/DHCP and adapter settings.
- If pings by IP succeed but names fail, it’s a DNS problem.
- Use
traceroute/tracertto find where packets are being dropped or delayed.


ping google.com proves your DNS server is faulty.B. If pinging your router fails, the problem is definitely with your ISP.
C.
traceroute shows how your packets travel across the network, hop by hop.D. If your IP address starts with 169.254, it means your router is not connected properly. Answer: C is correct.
traceroute reveals the hop-by-hop path packets take and helps identify where problems occur.
Notes on the false options:
- A is false — a successful
pingby name shows DNS resolution works for that lookup; it does not alone prove DNS is faulty in all cases. - B is false — if pinging the router fails, the issue is likely local (device or router), not necessarily the ISP.
- D is false — an APIPA/
169.254.x.xaddress indicates the device couldn’t obtain an IP via DHCP; this often points to DHCP or local connectivity issues between the device and the DHCP server (router).