3 - Basic Network Commands Overview and Terms Flashcards
___ is one of the most basic tools for testing connectivity to other hosts. It sends an internet control message protocol (ICMP) echo request to a host and listens for the reply.
Ping
Note: If a reply is received, it will display the time it took and the time to live (TTL) left.
___ and ___ are used to trace the route an IP packet takes to a destination.
traceroute (Linux)
tracert (Windows)
___ is similar to traceroute/tracert in that it displays the path taken by a packet from its source to its destination. ___ is useful because it can be used by any user instead of needing superuser privileges.
tracepath
Note: It is primarily used in Linux
___ provides the user with the IP, subnet mask, and default gateway for each network adapter by default with the /all option information, such as MAC address, DHCP status, and lease information.
ipconfig (internet protocol configuration)
Note: The command ipconfig/release can be used to release all connections and renew all adapters. It is primarily used in Windows.
___ is used to configure the kernel network interfaces.
ifconfig (interface? configuration)
Note: It is implemented at the time of booting to configure the necessary interfaces. Once the interfaces are configures, it is used for debugging or tuning the system. Primarily used in Linux.
___ displays the IP to physical (MAC) address mappings for hosts that have been discovered in the ___ cache. ___ can be used to add, remove, or modify entries in the ___ cache.
ARP (Address Resolution Protocol)
Note: The hosts need to be on the local network, as these addresses are discovered by broadcasting to everyone on the network and noting the reply from the owner; broadcast traffic is not allowed through a router so that the system will maintain the MAC address of the router.
___ displays information about active ports and their state and can be useful in troubleshooting and capacity management.
netstat (network statistics)
Note: The command netstat -r displays routing information for network adapters. Available in Windows, MacOS, and Linux.
___ displays information for displaying DNS information and troubleshooting DNS problems.
nslookup (name server lookup)
Note: It is useful in displaying names to IP address mappings.
___ is a command used to query the DNS name servers.
dig (domain information groper)
Note: It is helpful in troubleshooting DNS problems. It is also used for lookups and will display answers from the query. It is a replacement for nslookup.
___ is a tool most often used to look up who owns a domain or block of IP addresses on the internet, including name, email address, and physical address.
whois
Note: There are many privacy options that hide this information from being returned. Primarily used in Linux.
___ can be used to display the current route tables on a host.
route
Note: Route can also be used to add or remove routes. This is used by the local host to determine where to send traffic.
The ___ command is used to securely copy files between servers, leveraging SSH (secure shell) for authentication and enccryption.
SCP (Secure Copy Protocol)
___ copies the file from one host to another host. The data is unencrypted.
ftp (file transfer protocol)
___ transfers a file from either a client to a server or from a server to a client using UDP instead of TCP, and so it is usually used on reliable networks.
tftp (trivial file transfer protocol)
What does UDP stand for?
user datagram protocol
___ displays information about a user or users on a remote system, including things such as last log-in time and username.
finger
Note: Primarily used on Linux
___ scans networks to see what it can find in terms of hosts and open ports.
nmap (Network Mapper)
Note: It is commonly used to determine what is deployed on a network for vulnerability analysis, security scans, and related activities. Nmap is not native to either Linux or Windows but can be downloaded for free and used with both.
___ displays TCP/IP packets and other network packets that are being transmitted over the network system.
tcpdump
Note: It is a form of protocol analyzer and is designed to show the contents of network packets in human-readable form for troubleshooting, security analysis, etc. Tcpdump is not native to either Linux or Windows but can be downloaded for free and used with both.