Lazo Lab Sign up

Networking Essentials / Seeing the network

Lesson 29 of 30

Network troubleshooting

Work up the layers: is it plugged in, do I have an IP, can I ping the gateway, can I ping 1.1.1.1, does DNS work? The first step that fails is where the problem is.

Key points

  • Check the link, then IP, then gateway
  • Ping an IP to test without DNS
  • Then test names to check DNS
ip a
ping -c 2 192.168.1.1
ping -c 2 1.1.1.1
ping -c 2 example.com
Watch a video on thisOpens YouTube search results for “Network troubleshooting” in a new tab

Quiz · +10 XP

You can ping 1.1.1.1 but not example.com. What's likely broken?

Log in to save progress and earn XP.