Basic Network Troubleshooting
Howdy Everyone! I wanted to go over my process for troubleshooting the local network in a Home or Small Office. This is a simple guide but I feel that it can be applied in most any network environment. When you are troubleshooting, keep the OSI Model in mind and remember that there are multiple protocals that can be in play at each layer!
There are 3 types of IP Addresses that we most commonly encounter.
- Private IP Address. Addresses that are local to your home network only.
- Public IP Address. An address that resolves to your home Router/Modem/AIO appliance; reachable from the public internet.
- CG-NAT Address. An IP Address that cannot be reached directly from the Public Internet but can still provide network connectivity.
When troubleshooting locally, I like to work up the OSI Model starting from Layer 1. Do I have power and solid connectivity? Does my network interface card have any light lights? If the little lights on your network interface card don’t illuminate, you likely do not have a continous connection! Now lets look inside PowerShell on our machine. Keep in mind that we should only see our Private IP space in PowerShell.
Identify Hardware Failure
Ping localhost
or 127.0.0.1
. This will ping the local network ‘stack’. This confirms that the networking firmware and hardware on your client device function as expected.
- If the ping fails, restart your client device.
- If this step continues to fail; suspect failed hardware.
Identify a Gateway Issue
Using the ipconfig
output above, we can see our “Gateway” to the internet is 192.168.0.1. Lets ping it to ensure it is responsive.
- If it does respond, continue to the next step.
- If it does not respond, reboot your Router/Modem/AIO appliance.
- If it does not restore after a reboot, engage your Internet Service Provider.
Identify DHCP Issues
If your ipconfig
output shows an IPv4 Address of 169.254.X.X - This address is called an APIPA or Automatic Private IP Addressing. This indicates a DHCP server did not reply to a request for an address. You have two options.
- Run
ipconfig /release
wait 10 seconds, runipconfig /renew
, and check for an IPv4 Address again. - Reboot the machine.
If this resolved the issue, great! However if it did not…
- Most users should reboot their Router/Modem/AIO then retry the steps above.
- If the issue persist, engage your Internet Service Provider.
Identify a possible WAN Issue
At this point, we can assume our local network is working as expected. Let’s head upstream!
In Powershell, lets ping public resource by IP address. Here are some example IP addresses that should work for 99.9% of my readers.
- ping 8.8.8.8
- ping 8.8.4.4
- ping 1.1.1.1
- ping 1.0.0.1
- ping 9.9.9.9
If one or more of these fail to respond consistently or intermittently; you should engage your Internet Service Provider. Be sure to report the results of these ping tests.
Identify possible DNS Issue
Now that we have validated that our network can route TCP/IP traffic, lets introduce a Domain Name Service.
First clear the DNS cache on your device. The command for this in Windows is ipconfig /flushdns
. Wait 15 seconds and then run ipconfig /registerdns
. Then run the following pings to verify DNS is able to successfully resolve.
- ping google.com
- ping bluebotpc.com
- ping microsoft.com
If these fail, you can attempt to set manaul/custom DNS servers on your machine to bypass your current issue. If everything has been successful to this point, it is highly unlikely you have a network related issue. This guide does not rule out or test for the presents of firewalls.
2024
Secure Your Linux Box
Matt’s Guide to Securing a Linux Box for Production.
My Website Architecture
Quick overview of my websites architecture.
Exploring Glacier National Park
One Night in Glacier NP - 2024
Images from the Nebraska DLC
Exploring and capturing the scenery in American Truck Simulator, Nebraska DLC
Sail High Seas Safely!
how-to be safe while downloading linux isos.
Jackson-Faulkner Family Trip 2024
Exploring South Dakota with the Jacksons.
Serving Up WebP instead of PNG
how I reduced my home page 610 percent.
Javascript Cat!
how-to add oneko.js to the minimal-mistakes jekyll template.
Growing Cannabis Notes
My personal running notes for growing cannabis.
SMB Mount Errors found in dmesg
Dealing with CIFS errors between TrueNAS and Debian.
Bounce a Juniper Switchport
how-to bounce a Juniper JunOS switchport.
Fixing apt error, ‘list of sources could not be read’
how-to fix ‘the list of sources could not be read.’ when using apt.
Basic Network Troubleshooting
how-to troubleshoot a home network, by a Network Engineer.
Moving to Caddy
Moving my webserver from OpenLiteSpeed to Caddy
Could Not Resolve Error in apt
how-to resolve, could not resolve packages.adoptium.net
Responding to XZ-Utils Vulnerability
how-to validate XZ-Utils impact.
Ninite is Awesome
How and Why I use Ninite
Certbot Renewal on OpenLiteSpeed
Manually renewing Certbot on OpenLiteSpeed
YABS Results
Yet Another Benchmark Results
Basic Linux Administration
Linux Basics and Core Concepts by Matt F.
How to Setup and Manage a Web Domain
how-to Buy and Manage a Web Domain
Learn Linux in 5 Days
My Udemy Course Completion Certification.
2013 Scion FRS Service Manual
Scion FRS Service Manual Download and Sources
My Discord Server
My Discord Server Widget
Migrating to BunnyCDN
How I moved from QUIC.Cloud to BunnyNet CDN.
2023
99.99% Uptime Goal for 2024
My High Uptime Plan for 2024.
Magic The Gathering Notes
Personal notes for Magic the Gathering
HTML Hobbiest Webring
HTML Hobbiest Webring Landing Page/Post
Ditching WordPress
Method of Procedure for migrating from WordPress to plain HTML.
W900 Tuning Pack
W900 Tuning Pack DLC Review.
Goodbye Google Domains
Google Domains is Ending.
Experience OpenLiteSpeed
Deep dive into OpenLiteSpeed webserver.
Struggles with Jekyll and Cloudflare Pages
how-to resolve my Jekyll/Cloudflare Pages deployment error.
Mom Said Redefine Success
In High School I had one dream that stands out. Own a Porsche by the time I was 26. Looking back, I have no idea where this dream came from; because I was ra...
Cow Town Hoe Down - 2023
Personal ramblings about my new town.
Knowledge Sharing
Knowledge Filled PDF Bundle
Jellyfin Guide for Friends and Family
how-to Jellyfun.
My ProtonMail Review
ProtonMail Review - 1 Year
2022
Managing Pi-Hole - A Guide for Beginners in 2022
how-to manage Pi-Hole.
Matt’s Desktop Build in 2022
My new Gaming PC. Its boring but it’ll do.
Ad-Blocking on the Go using Pi-Hole and Pi-VPN in the Cloud
how-to setup Pi-Hole and Wireguard on Linode.
How To Change The Hostname of a Raspberry Pi
how-to update the hostname of a Raspberry Pi.
2021
Using A Raspberry Pi Zero To Host a VPN Server
Can a Raspberry Pi Zero host a family VPN Server? Yes.
Logitech G413 Carbon - Keyboard Review
Logitech G413 Keyboard review.
Razer Huntsman Mini - My First Keyboard Review
Razer Huntsman Mini review.
Weekend with the Bois - June 2021 Video
YouTube video cruising through Colorado!
PiAware - One Month of Ownership
Ramblings about PiAware after one month of operation.
Setup a Headless Raspberry Pi - For Beginners
Guide to setup a Raspberry Pi from start to finish!
Setting the Timezone on your Raspberry Pi 4
Guide to configuring the Timezone on a Raspberry Pi.