5.2 commands Flashcards

1
Q

What command should be used to manually enter the default gateway for a computer?

A

route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which Windows network diagnostic tool displays the path packets take between two endpoints?

A

tracert

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

nslookup does what?

A

Displays the domain name associated with an IP, or the IP of a known domain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

arp does what?

A

Shows the MAC address for a known IP address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ipconfig does what?

A

Displays IP address, subnet mask, gateway, DNS, and other TCP/IP stack parameters on a Windows PC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the four most important ipconfig flags?

A

/release
/renew
/flushdns
/all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is ifconfig?

A

Displays IP address configuration parameters on a Unix based device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Ping and tracert use what protocol? Why is this important to know?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What can you use to perform the functions of ping and traceroute with one command?

A

pathping

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which POSIX/Unix network diagnostic tool displays the path packets take between two endpoints?

A

traceroute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

IOS uses a different version of traceroute, what port does it use?

A

UDP/33434

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What tool can be used to find information on DNS server such as names and IP addresses?

A

nslookup (Windows)

dig (Unix)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

dig has replaced what?

A

nslookup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is iptables?

A

Linux stateful firewall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What command can control inbound and outbound traffic on Linux?

A

iptables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

netstat does what?

A

It show many network statistics such active as connections and programs.

17
Q

What are the 3 important netstat flags?

A

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

18
Q

What would you use to find out what program is connecting to a remove IP?

A

netstat -a -b

19
Q

What is tcpdump?

A

Unix packet capture tool

20
Q

What tool would you use to find information on detailed traffic patterns for use with a protocol analyzer?

A

tcpdump

21
Q

What is pathping?

A

combines tracert and ping

22
Q

What would you use to find other devices and services on your network?

A

nmap

23
Q

What would you use to find what OS a remote device is using without logging into it?

A

nmap

24
Q

What is nmap?

A

A network mapping tool that can be used to find open ports, services, OSs, and devices on a network.

25
Q

What tool can you use to find vulnerabilities on a network?

A

nmap

26
Q

route does what?

A

Shows the device’s IPv4 and IPv6 routing tables

27
Q

What is the most important flag for route?

A

route print

28
Q

“print” is to be used with what command?

A

route print

29
Q

how do you view the IP-MAC associations on a Windows device?

A

arp -a