Flashcards in Chapter 17 - Supplement - Sheet1 Deck (64):
AKA sniffers / network monitors. Uysed to capture packets in their raw format as they cross the network.
Examples of protocol analyzers
NIC processes all packets that it sees
Usually software based, work much like a protocol analyzer in that they measure traffic, but these measure throughput of that traffic (network speeds)
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.
(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.
ipconfig / ifconfig
Display the current configuration of TCP/IP on a given workstation. Includes IP, DNS, WINS config and default gateway
OSes that use ipconfig
New Macs, Windows
ipconfig option that gives you hardware addresses, DHCP lease times, and DNS addresses
ipconfig /release & ipconfig /renew
Renews the IP address lease, or gets a new one if applicable.
OSes that use ifconfig
Linxus, Unix, Mac
ipconfig equivalent. Short for interface configuration
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
Pings the specified host until stopped
Resolves addresses to hostnames
ping - n *count*
Specified the number of echo requests to send. Default is 4. (4 "Reply from...")
ping -w *timeout*
Set the timeout time in milliseconds. Default is 1000, which is 1 second
Address Resolutin Protocol. Used to translate TCP/IP addresses to MAC addresses using broadcasts.
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
2 Types of Entries in the ARP Table
Dynamic and Static
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.
Static ARP table entries
Manually added MAC addresses.
Dispays current ARP entries.
Dispays current ARP entries. Same as arp -a
arp -a -v
Verbose ARP entries - shows all invalid entires and regular arp -a entries
arp -s [IP Address] [MAC Address]
Add a static entry into the ARP table
Unix's version of nslookup
Allows you to query a name server and quickly find out which name resolves to which ip address
Location of hosts table on Windows
DOS Command to display the PC name
AKA My traceroute. Computer program that c ombines the functions of the traceroute and pint utilities in a single network diagnostic tool.
Command used to set network routing rules. Usually Windows takes care of this.
Lists the inbound and outbound conections on your machine. Can also use it to view packet stats and errors
Displays ethernet stats. Combined with -s, displays stats by protocol. Stats are for since the PC has been turned on.
Displays ethernet stats by protocol. Stats are for since the PC has been turned on.
Displays routing table. Same output as route print
Displays all TCP/IP connections and UDP connections
"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.
"unicast packets" in netstat -e tells you
Number of packets sent from or received at this PC.
"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.
"discards" in netstat -e tells you
Number of packets discarded by the NIC during transmission or reception b/c they weren't assembled correctly
"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
netstat -s -p
netstat -s but allows you to specify the protocol after the -p switch
-n switch for netstat
Works with other switches. Displays the IP address instead of the hostname
Command to start FTP session in DOS
Command to open FTP server in FTP mode
Common to quit FTP from DOS
Commands to set file type in FTP mode in dos
Command to download file in FTP mode from DOS
Command to download multiple files in FTP mode in dos
Use mget to download all txt files
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?
FTP command from DOS to upload a file
put local-filename.txt remote-name.txt
Why is it not recommended that you use telnet
Not encrypted. Insecure.
What command can you type from a command prompt to see the hops a packet takes
to get to a destination host?
What tool would you use to verify a complaint about a slow network?
You need your IP address, subnet mask, default gateway, and DNS information. What
command will you type from a Windows command prompt?
You need to log in as a dumb terminal to a server or UNIX host and run programs.
What application will you use?
You need to add a route to your Windows server’s routing table. What command will
You want to log in to a server and transfer files. What application will you use?
You need to check your name-resolution information on your host. What command
will you type from the command prompt?
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?
You want the IP configuration on a UNIX host. What command will you type at the