Subject: Runbasic Utilities and Network Commands: Ipconfig, Ping, Tracert, Netstat, Pathping, Route
Subject: Runbasic Utilities and Network Commands: Ipconfig, Ping, Tracert, Netstat, Pathping, Route
Academic Session:2024-2025
1:Introduction
Usef ul to view:
• IP Address
• Subnet Mask
• Default Gateway
Example:
ipconfig /all – detailed information
Example :- ipconfig is used for view IP, gateway, and adapter settings.
Input:
Output:
3: ping
Command: ping
Tests connectivity to another network device
Sends ICMP Echo Request and waits for Echo Reply
Use cases:
• Check if a host is online
• Measure response time (latency)
Example:
ping google.com
Example :- ping is used for test connectivity to another host.
Input:
Output:
4: tracert
Command: tracert
Traces the route taken by packets to reach a destination
Shows each hop along the path
Useful for diagnosing routing issues
Example:
tracert yahoo.com
Example :- tracert is used for trace route to a destination.
Input:
Output:
5: netstat
Command: netstat
Displays network connections, routing tables, and interface stats
Can show active TCP connections and listening ports
Example:
netstat –an – shows all connections and listening ports in numeric form
Example :- netstat is used for show active connections and ports.
Input:
Output:
6: pathping
Command: pathping
Combines the functionality of ping and tracert
Analyzes the route to a destination and measures packet loss at each
hop
More detailed than tracert
Example:
pathping 8.8.8.8
Example :- pathping is used for analyze path and packet loss.
Input:
Output :
7: route
Command: route
. Displays and modifies the local IP routing table
Use cases:
• Add static routes
• View or delete routes
Example:
route print – displays current routing table
Example :- route is used for display or modify the routing table.
Input:
Output:
8: Conclusion