Network Commands Flashcards
What does the command Ping do?
Sends ICMP echo request to a host & listen for a reply
If reply is received, displays this, if not will get a timeout message
What does the command Traceroute/tracecert do?
Displays each hop (router) in a numerical list
What can the ping command be used for?
Good for measuring latency and troubleshooting connectivity with other devices
What is the command traceroute/tracecert used for? Which one is used for Linux vs Windows?
Traceroute/tracert is used to trace the route an IP packet takes to a destination.
This can be used to determine where a ping fails.
What does ipconfig do?
Provides the user with the IP, subnet mask, and default gateway for each network adapter by default with the /all option information.
What is ipconfig used for?
Used to release all connections and renew all adapters. This is primarily used on windows
What does ifconfig do?
Similar to ipconfig, ifconfig used to configure kernel network interfaces.
What is ifconfig used for?
once interfaces are configured, used for debugging or tuning the system.
What does arp do?
displays and modify entries int eh Address resolution protocol cache. Displays the IP to physical MAC address mappings.
What does netstat do?
displays info about active ports and their state
What is netstat used for?
useful in troubleshooting and capacity management
what does nslookup do?
name server lookup which displays DNS info
What is nslookup used for?
Troubleshooting DNS problems
dig
What does it stand for?
What does it do?
Why use it?
Domain information groper.
queries the DNS name server
useful for troubleshooting DNS problems
whois
What does it do?
Why use it?
whois is used to lookup who owns a domain or block of IP addresses.
This includes the name, email address and physical address