Chapter 17 - Supplement - Sheet1 Flashcards Preview

CompTIA Network+ > Chapter 17 - Supplement - Sheet1 > Flashcards

Flashcards in Chapter 17 - Supplement - Sheet1 Deck (64):
1

Protocol Analyzers

AKA sniffers / network monitors. Uysed to capture packets in their raw format as they cross the network.

2

Examples of protocol analyzers

Wireshare, OmniPeek

3

Promiscuous Mode

NIC processes all packets that it sees

4

Throughput Testers

Usually software based, work much like a protocol analyzer in that they measure traffic, but these measure throughput of that traffic (network speeds)

5

Connectivity Software

Designed to allow you to make a connection to a machine, its desktop, and perform any action you could perform while sitting in front of it.

6

Traceroute

(AKA trace) displays the path a packet takes to get to a remote device by using IP Packet TTL, time-outs, and ICMP error messages.

7

ipconfig / ifconfig

Display the current configuration of TCP/IP on a given workstation. Includes IP, DNS, WINS config and default gateway

8

OSes that use ipconfig

New Macs, Windows

9

ipconfig /all

ipconfig option that gives you hardware addresses, DHCP lease times, and DNS addresses

10

ipconfig /release & ipconfig /renew

Renews the IP address lease, or gets a new one if applicable.

11

OSes that use ifconfig

Linxus, Unix, Mac

12

ifconfig

ipconfig equivalent. Short for interface configuration

13

2 purposes to using the ping utility

To find out if a host is responding OR to find out if you can reach a host

14

ping -t

Pings the specified host until stopped

15

ping -a

Resolves addresses to hostnames

16

ping - n *count*

Specified the number of echo requests to send. Default is 4. (4 "Reply from...")

17

ping -w *timeout*

Set the timeout time in milliseconds. Default is 1000, which is 1 second

18

ARP

Address Resolutin Protocol. Used to translate TCP/IP addresses to MAC addresses using broadcasts.

19

ARP Table

Windows table that includes a list of TCP/IP addresses and their associated physical (MAC) addresses. Cached in memory to reduce the need to perform lookups

20

2 Types of Entries in the ARP Table

Dynamic and Static

21

Dynamic ARP table entries

Created whenever the Windows TCP/IP stack performs an ARP lookup but the MAC address isn't found in the ARP table. When MAC address is finally resolved (via Broadcast) that info is added to the table.

22

Static ARP table entries

Manually added MAC addresses.

23

arp -a

Dispays current ARP entries.

24

arp -g

Dispays current ARP entries. Same as arp -a

25

arp -a -v

Verbose ARP entries - shows all invalid entires and regular arp -a entries

26

arp -s [IP Address] [MAC Address]

Add a static entry into the ARP table

27

Unix's version of nslookup

dig

28

nslookup

Allows you to query a name server and quickly find out which name resolves to which ip address

29

Location of hosts table on Windows

C:\Windows\System32\drivers\etc\

30

DOS Command to display the PC name

hostname

31

mtr

AKA My traceroute. Computer program that c ombines the functions of the traceroute and pint utilities in a single network diagnostic tool.

32

route

Command used to set network routing rules. Usually Windows takes care of this.

33

netstat

Lists the inbound and outbound conections on your machine. Can also use it to view packet stats and errors

34

netstat -e

Displays ethernet stats. Combined with -s, displays stats by protocol. Stats are for since the PC has been turned on.

35

netstat -s

Displays ethernet stats by protocol. Stats are for since the PC has been turned on.

36

netstat -r

Displays routing table. Same output as route print

37

netstat -a

Displays all TCP/IP connections and UDP connections

38

"bytes" in netstat -e tells you

Number of bytes sent or received at this PC's NIC. Good for determining if a network connection is actually transmitting.

39

"unicast packets" in netstat -e tells you

Number of packets sent from or received at this PC.

40

"non-unicast packets" in netstat -e tells you

Number of packets that weren't directly sent from a workstation to another. Example: Broadcast packets. Number of non-unicast packets should be smaller than unicase packets.

41

"discards" in netstat -e tells you

Number of packets discarded by the NIC during transmission or reception b/c they weren't assembled correctly

42

"unknown protocols" in netstat -e tells you

Number of received packets that the Windows networking stat couldn't interpret. Only in the received column. Certainly it wouldn't send unknown protocols

43

netstat -s -p

netstat -s but allows you to specify the protocol after the -p switch

44

-n switch for netstat

Works with other switches. Displays the IP address instead of the hostname

45

Command to start FTP session in DOS

ftp

46

Command to open FTP server in FTP mode

open servername.domain.com

47

Common to quit FTP from DOS

quit

48

Commands to set file type in FTP mode in dos

ascii, binary

49

Command to download file in FTP mode from DOS

get filename.exe

50

Command to download multiple files in FTP mode in dos

mget

51

Use mget to download all txt files

mget *.txt

52

At FTP command prompt, how do you navigate to a location on the local machine to position your self to upload a file in that directory?

lcd c:\path\to\directory

53

FTP command from DOS to upload a file

put local-filename.txt remote-name.txt

54

Why is it not recommended that you use telnet

Not encrypted. Insecure.

55

What command can you type from a command prompt to see the hops a packet takes
to get to a destination host?

Tracert

56

What tool would you use to verify a complaint about a slow network?

Throughput tester

57

You need your IP address, subnet mask, default gateway, and DNS information. What
command will you type from a Windows command prompt?

ipconfig /all

58

You need to log in as a dumb terminal to a server or UNIX host and run programs.
What application will you use?

Telnet

59

You need to add a route to your Windows server’s routing table. What command will
you use?

route

60

You want to log in to a server and transfer files. What application will you use?

FTP

61

You need to check your name-resolution information on your host. What command
will you type from the command prompt?

nslookup

62

You want to use netstat, but you want to see only the IP address, not the names of the
hosts. Which modifier will you use?

-n

63

You want the IP configuration on a UNIX host. What command will you type at the
command prompt?

ifconfig

64

Which Windows command will show you the routing table of your host or server?

route print