5.2 commands Flashcards
What command should be used to manually enter the default gateway for a computer?
route
Which Windows network diagnostic tool displays the path packets take between two endpoints?
tracert
nslookup does what?
Displays the domain name associated with an IP, or the IP of a known domain.
arp does what?
Shows the MAC address for a known IP address
ipconfig does what?
Displays IP address, subnet mask, gateway, DNS, and other TCP/IP stack parameters on a Windows PC
What are the four most important ipconfig flags?
/release
/renew
/flushdns
/all
What is ifconfig?
Displays IP address configuration parameters on a Unix based device
Ping and tracert use what protocol? Why is this important to know?
They both use ICMP, it is good to know because it may be blocked by a firewall or have low priority which will impact troubleshooting
What can you use to perform the functions of ping and traceroute with one command?
pathping
Which POSIX/Unix network diagnostic tool displays the path packets take between two endpoints?
traceroute
IOS uses a different version of traceroute, what port does it use?
UDP/33434
What tool can be used to find information on DNS server such as names and IP addresses?
nslookup (Windows)
dig (Unix)
dig has replaced what?
nslookup
What is iptables?
Linux stateful firewall
What command can control inbound and outbound traffic on Linux?
iptables
netstat does what?
It show many network statistics such active as connections and programs.
What are the 3 important netstat flags?
netstat -a : shows all active connections
netstat -b : shows binaries (running processes) that created an active network connection
netstat -n : shows IPs only, does not perform DNS lookup
What would you use to find out what program is connecting to a remove IP?
netstat -a -b
What is tcpdump?
Unix packet capture tool
What tool would you use to find information on detailed traffic patterns for use with a protocol analyzer?
tcpdump
What is pathping?
combines tracert and ping
What would you use to find other devices and services on your network?
nmap
What would you use to find what OS a remote device is using without logging into it?
nmap
What is nmap?
A network mapping tool that can be used to find open ports, services, OSs, and devices on a network.
What tool can you use to find vulnerabilities on a network?
nmap
route does what?
Shows the device’s IPv4 and IPv6 routing tables
What is the most important flag for route?
route print
“print” is to be used with what command?
route print
how do you view the IP-MAC associations on a Windows device?
arp -a