5.5 Command Line Tools Flashcards
What does Ping do?
Tells us if device is on the network.
What Protocol does Ping use
ICMP
How to stop a process in cmd
Control C
Traceroute
Determines the Route between my device and the destination and maps entire path.
What is the traceroute command in windows
tracert
Does traceroute use ICMP?
Yes
Which aspect of ICMP does traceroute use?
TTL Exceeded error message
What does the time in TTL refer to?
Hops not seconds or minutes
What does TTL=1 and TTL=2 refer to
router 1 and router 2
Not all devices reply with ICMP Time Exceeded messages why?
Firewall or ICMP is low priority for many devices
how do you know if your tracert is being filtered
asterisks
how does it work?
requet is send, once it reaches the first router TTL is one so it sends back 1 and the IP address. Then the request is 2 so it sends it to the second router then back to home router. keeps going like that until final router is found.
what does nslookup do
Query’s a DNS server to obtain domain name or IP address
nslookup still used?
No. use dig. Not windows native.
What is nslookup used for
to look up IP address assoicated with domain name and vice versa