SlideShare a Scribd company logo
4
Most read
7
Most read
12
Most read
TechPrane
technology for good
Top 10 Network Troubleshooting Commands
Mulenga Yumba
Joe Nyirenda
Learning Objectives
● Identify key network troubleshooting commands
● Learn common command arguments
● Execute commands in a command-Line Interface
● Practical application of troubleshooting commands
● Troubleshooting using command argument
Command #1: Ping - Test basic connectivity
Purpose: To check if the host is reachable and measures response time
Command (Windows) Command (Linux) Example (Linux) Description
-t -c ping -c 5 google.com Continuous ping or specify the number of packets
-a -a ping -a 8.8.8.8 Resolve the IP address to the hostname
-l -s ping -s 1000 google.com Specify packet size
Command #2: traceroute/ tracert - Trace packet
path
Purpose: Display the packet path to reach the destination and identifies problematic hops.
Command (Windows) Command (Linux) Example(Linux) Description
tracert traceroute -n traceroute google.com Show numerical IP addresses only (skip DNS resolutions)
tracert -h traceroute -h traceroute -h 10 google Specify the maximum number of hops
tracert -w traceroute -w traceroute -w 1000 google.com Set a timeout for each response
Command #3: ipconfig/ifconfig -network
configurations
Purpose: View IP address, subnet, gateway, and DNS details.
Command (Windows) Command (Linux) Example(Linux) Description
ipconfig /all ifconfig ifconfig Display all network details
ifconfig eth0 ifconfig eth0 Shows details for a specific interface
ifconfig down/up ifconfig eth0 down Disable or enable a network interface
Command #4: nslookup - Diagnose DNS issues
Purpose: Resolves domain names to IP addresses
Command (Windows) Command (Linux) Example(Linux) Description
nslookup nslookup nslookup google.com 8.8.8.8 Specify a DNS to query
nslookup -type=mx nslookup -type=mx nslookup -type=mx gmail.com Query specific DNS record types
nslookup -debug nslookup -debug nslookup -debug gmail.com Show detailed query information
Command #5: netstat - Active connections and ports
Purpose: View active connections, listening ports, and network stats
Command (Windows) Command (Linux) Example(Linux) Description
netstat -a netstat -a netstat -a Show all active connections and listening ports
netstat -an netstat -an netstat -an Display addresses in numerical form (skip name resolution)
netstat -b Show executable involved in each connection
Command #6: arp - ARP table for IP-MAC mapping
Purpose: ARP maps IP addresses to MAC addresses.
Command (Windows) Command (Linux) Example(Linux) Description
arp -a arp -a arp -a Display ARP table
arp -d arp -d arp -d 192.168.1.1 Delete an entry from the ARP cache
arp -s arp -s arp -s 192.168.1.10 00-1A-2B-3C-4D-5E Add a static ARP entry
Command #7: route - View and modify routing table
Purpose: Display and modify routing table.
Command (Windows) Command (Linux) Example(Linux) Description
route print route -n route -n Displays the routing table
route add route add route add 192.168.1.0 mask 255.255.255.0 Add a static route
route delete route delete route delete 192.168.1.0 Remove a specific route
Command #8: dig - Advanced DNS query tool
Purpose: detailed DNS troubleshooting
Command (Windows) Command (Linux) Example(Linux) Description
dig @ dig @8.8.8.8 google.com Query a specific DNS server
dig <domain name> +short dig google.com +short Display a short, summarized output
dig -t MX dig -t MX gmail.com Query specific record type
Command #9: tcpdump - Capture and analyze
packets
Purpose: Captures packets in real time for diagnostic
Command (Windows) Command (Linux) Example(Linux) Description
tcpdump -i <interface> tcpdump -i eth0 Specify the network interface to monitor
tcpdump -n tcpdump -n Show IP address instead of resolving hostnames
tcpdump <port number> tcpdump port 80 Filter packets by a specific port
Command #10: curl/ wget - Test HTTP/HTTPS
Purpose: Test access to web servers or APIs
Command (Windows) Command (Linux) Example(Linux) Description
curl -I curl -I curl -I https://google.com Fetch HTTP headers only (curl)
curl -o curl -o curl -o page.html
https://example.com
Save output to a file
wget —-spider wget –-spider https://google.com Check connectivity without downloading
Conclusion
Practice these commands to build confidence in troubleshooting your networks
Master these tools, and you will be solving networking issues like a pro

More Related Content

PPT
Bgp For Presentation
PPTX
ENSA_Module_9-QoS Concept.pptx
PPTX
BGP Path Selection & Attributes BGP Weight & BGP AS-Path Prepending
PDF
c bstatC nslookupDefault Server pdc.corp.example.comAdd.pdf
PPT
Networking session-4-final by aravind.R
PDF
Network Test Automation - Net Ops Coding 2015
DOC
Arp Dan Ipconfig Syntax
PDF
Linux Network commands
Bgp For Presentation
ENSA_Module_9-QoS Concept.pptx
BGP Path Selection & Attributes BGP Weight & BGP AS-Path Prepending
c bstatC nslookupDefault Server pdc.corp.example.comAdd.pdf
Networking session-4-final by aravind.R
Network Test Automation - Net Ops Coding 2015
Arp Dan Ipconfig Syntax
Linux Network commands

Similar to Top 10 Network Troubleshooting Commands.pdf (20)

PDF
Network commands
PPTX
Commands.pptx
PDF
Basic linux commands
DOCX
PPTX
linux networking laboratory presentation .pptx
PDF
nwlab-ex1.pdf
PPT
NW_Tools.ppt
PPT
Networking For Application Developers by Roy Kim
PDF
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
PPT
Networking 101
PPT
Networking 101
PPT
Networking 101
PPT
Networking 101
PDF
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
DOCX
Bt0076, tcp ip
DOCX
Bt0076, tcp ip
PDF
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
ODP
Cisco ios-cont
PDF
Introduction to tcpdump
PDF
𝐓𝐨𝐩 𝐈𝐏 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 𝐟𝐨𝐫 𝐖𝐢𝐧𝐝𝐨𝐰𝐬
Network commands
Commands.pptx
Basic linux commands
linux networking laboratory presentation .pptx
nwlab-ex1.pdf
NW_Tools.ppt
Networking For Application Developers by Roy Kim
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Networking 101
Networking 101
Networking 101
Networking 101
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Bt0076, tcp ip
Bt0076, tcp ip
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
Cisco ios-cont
Introduction to tcpdump
𝐓𝐨𝐩 𝐈𝐏 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 𝐟𝐨𝐫 𝐖𝐢𝐧𝐝𝐨𝐰𝐬
Ad

More from techprane (17)

PDF
REDIS + FastAPI: Implementing a Rate Limiter
PDF
Performance Optimization MongoDB: Compound Indexes
PPTX
SSO with Social Login Integration & FastAPI Simplified
PDF
A Beginner's Guide to Tortoise ORM and PostgreSQL
PDF
Boost Your API with Asynchronous Programming in FastAPI
PPTX
Using jq to Process and Query MongoDB Logs
PPTX
How to Integrate PostgreSQL with Prometheus
PPTX
10 Basic Git Commands to Get You Started
PPTX
Top Linux 10 Commands for Windows Admins
PPTX
Implementing full text search with Apache Solr
PPTX
How to Overcome Doubts as a New Developer(Imposter Syndrome)
PPTX
How to Use JSONB in PostgreSQL for Product Attributes Storage
PDF
A Beginners Guide to Building MicroServices with FastAPI
PDF
Implementing Schema Validation in MongoDB with Pydantic
PPTX
Storing Large Image Files in MongoDB Using GRIDFS
PPTX
Open Source Mapping with Python, and MongoDB
PPTX
Learning MongoDB Aggregations in 10 Minutes
REDIS + FastAPI: Implementing a Rate Limiter
Performance Optimization MongoDB: Compound Indexes
SSO with Social Login Integration & FastAPI Simplified
A Beginner's Guide to Tortoise ORM and PostgreSQL
Boost Your API with Asynchronous Programming in FastAPI
Using jq to Process and Query MongoDB Logs
How to Integrate PostgreSQL with Prometheus
10 Basic Git Commands to Get You Started
Top Linux 10 Commands for Windows Admins
Implementing full text search with Apache Solr
How to Overcome Doubts as a New Developer(Imposter Syndrome)
How to Use JSONB in PostgreSQL for Product Attributes Storage
A Beginners Guide to Building MicroServices with FastAPI
Implementing Schema Validation in MongoDB with Pydantic
Storing Large Image Files in MongoDB Using GRIDFS
Open Source Mapping with Python, and MongoDB
Learning MongoDB Aggregations in 10 Minutes
Ad

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Electronic commerce courselecture one. Pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation theory and applications.pdf
PPTX
Cloud computing and distributed systems.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Modernizing your data center with Dell and AMD
Advanced methodologies resolving dimensionality complications for autism neur...
Dropbox Q2 2025 Financial Results & Investor Presentation
MYSQL Presentation for SQL database connectivity
Electronic commerce courselecture one. Pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
A Presentation on Artificial Intelligence
NewMind AI Monthly Chronicles - July 2025
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
Machine learning based COVID-19 study performance prediction
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation theory and applications.pdf
Cloud computing and distributed systems.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
Modernizing your data center with Dell and AMD

Top 10 Network Troubleshooting Commands.pdf

  • 1. TechPrane technology for good Top 10 Network Troubleshooting Commands Mulenga Yumba Joe Nyirenda
  • 2. Learning Objectives ● Identify key network troubleshooting commands ● Learn common command arguments ● Execute commands in a command-Line Interface ● Practical application of troubleshooting commands ● Troubleshooting using command argument
  • 3. Command #1: Ping - Test basic connectivity Purpose: To check if the host is reachable and measures response time Command (Windows) Command (Linux) Example (Linux) Description -t -c ping -c 5 google.com Continuous ping or specify the number of packets -a -a ping -a 8.8.8.8 Resolve the IP address to the hostname -l -s ping -s 1000 google.com Specify packet size
  • 4. Command #2: traceroute/ tracert - Trace packet path Purpose: Display the packet path to reach the destination and identifies problematic hops. Command (Windows) Command (Linux) Example(Linux) Description tracert traceroute -n traceroute google.com Show numerical IP addresses only (skip DNS resolutions) tracert -h traceroute -h traceroute -h 10 google Specify the maximum number of hops tracert -w traceroute -w traceroute -w 1000 google.com Set a timeout for each response
  • 5. Command #3: ipconfig/ifconfig -network configurations Purpose: View IP address, subnet, gateway, and DNS details. Command (Windows) Command (Linux) Example(Linux) Description ipconfig /all ifconfig ifconfig Display all network details ifconfig eth0 ifconfig eth0 Shows details for a specific interface ifconfig down/up ifconfig eth0 down Disable or enable a network interface
  • 6. Command #4: nslookup - Diagnose DNS issues Purpose: Resolves domain names to IP addresses Command (Windows) Command (Linux) Example(Linux) Description nslookup nslookup nslookup google.com 8.8.8.8 Specify a DNS to query nslookup -type=mx nslookup -type=mx nslookup -type=mx gmail.com Query specific DNS record types nslookup -debug nslookup -debug nslookup -debug gmail.com Show detailed query information
  • 7. Command #5: netstat - Active connections and ports Purpose: View active connections, listening ports, and network stats Command (Windows) Command (Linux) Example(Linux) Description netstat -a netstat -a netstat -a Show all active connections and listening ports netstat -an netstat -an netstat -an Display addresses in numerical form (skip name resolution) netstat -b Show executable involved in each connection
  • 8. Command #6: arp - ARP table for IP-MAC mapping Purpose: ARP maps IP addresses to MAC addresses. Command (Windows) Command (Linux) Example(Linux) Description arp -a arp -a arp -a Display ARP table arp -d arp -d arp -d 192.168.1.1 Delete an entry from the ARP cache arp -s arp -s arp -s 192.168.1.10 00-1A-2B-3C-4D-5E Add a static ARP entry
  • 9. Command #7: route - View and modify routing table Purpose: Display and modify routing table. Command (Windows) Command (Linux) Example(Linux) Description route print route -n route -n Displays the routing table route add route add route add 192.168.1.0 mask 255.255.255.0 Add a static route route delete route delete route delete 192.168.1.0 Remove a specific route
  • 10. Command #8: dig - Advanced DNS query tool Purpose: detailed DNS troubleshooting Command (Windows) Command (Linux) Example(Linux) Description dig @ dig @8.8.8.8 google.com Query a specific DNS server dig <domain name> +short dig google.com +short Display a short, summarized output dig -t MX dig -t MX gmail.com Query specific record type
  • 11. Command #9: tcpdump - Capture and analyze packets Purpose: Captures packets in real time for diagnostic Command (Windows) Command (Linux) Example(Linux) Description tcpdump -i <interface> tcpdump -i eth0 Specify the network interface to monitor tcpdump -n tcpdump -n Show IP address instead of resolving hostnames tcpdump <port number> tcpdump port 80 Filter packets by a specific port
  • 12. Command #10: curl/ wget - Test HTTP/HTTPS Purpose: Test access to web servers or APIs Command (Windows) Command (Linux) Example(Linux) Description curl -I curl -I curl -I https://google.com Fetch HTTP headers only (curl) curl -o curl -o curl -o page.html https://example.com Save output to a file wget —-spider wget –-spider https://google.com Check connectivity without downloading
  • 13. Conclusion Practice these commands to build confidence in troubleshooting your networks Master these tools, and you will be solving networking issues like a pro