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
route
what does it do?
why use it?
Used to display the current route tables on a host
Can be used to determine where to send traffic
scp
What does it stand for?
What does it do?
Why use it?
scp = secure copy protocol
used to securely copy files between servers and leverages SSH for authentication and encryption
ftp
What does it stand for?
What does it do?
Why use it?
ftp = file transfer protocol
copies file from one host to another, data is unencrypted
FTPS uses SSL/TSL for encryption
Transfer uses TCP for reliability
tftp
What does it stand for?
What does it do?
Why use it?
trivial file transfer protocol
transfers a file from either a client to a server or from a server to client using UDP instead of TCP
finger
What does it do?
Why use it?
displays info about a user or users on a remote system
includes thing such as last log-in time and username
nmap
What does it do?
Why use it?
network mapper
scans network to see what it can find in terms of hosts and open ports
used to determine what is deployed on a network for vulnerability analysis, security scans and related activities.
not related to windows or Linux but can be downloaded
tcpdump
What does it do?
Why use it?
displays tcp/ip packets and other network packets that are being transmitted over the network.
its a form or protocol analyzer and designed to show the contents of network packets in a human-readable form (for troubleshooting and security analysis)
telnet/ssh
What does it do?
Why use it?
allows user to manage accounts and devices remotely
ssh is encrypted and thus all data is secure from eavesdropping while telnet is unencrypted