Chapter 3 - TCP/IP Flashcards

1
Q

What are the four layers to the DOD Model

A

Process/Application
Host to Host/Transportation
Internet
Network Access/Link Layer

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

In the DOD Model, what does the process/application layer include

A
Telnet
FTP
LPD
SNMP
TFTO
SMTP
NFS
xWindow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In the DOD Model, what does the transportation layer include

A

TCP/UDP

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

In the DOD Model, what does the Internet layer include

A

IP

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

In the DOD Model, what does the network access layer include

A

Ethernet
Fast ethernet
tokken ring
fddi

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

What is telnet and what port does it use

A

Telnet is s terminal emulation protocol that essentially works like a virtual keyboard.
Everything is sent in clear text
Uses an 8 bit connection via UDP

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

What is SSH and what port does it use

A

Port 22

Much like telnet, it is used to issue commands to a remote computer, but everything is encrypted.

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

What is FTP and what port does it use

A

Used to transfer files between two machines.

Port 20 & 21

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

What is TFTP and what port does it use

A

Commonly used to boot via the network. Similar to FTP, but doesn’t allow directory browsing and sends much smaller blocks.
Port 69

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

What is SNMP and what port does it use

A

Used to collect and manipulate network info
A network management station periodically polls the devices on the network and can alert an admin of problems
Port 161 & 162

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

What is HTTP and what port does it use

A

Used to communicate between web browsers and servers

Port 80

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

What is HTTPS and what port does it use

A

Port 443

Secure version of HTTP; HTTP over SSL

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

What is NTP and what port does it use

A

Used to synchronize clocks on the network

Port 123

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

What is DNS and what port does it use

A

Used to resolve domain names to IP

Port 53

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

What is DHCP/BOOTP

A

Port 67 Server Port 68 Client
Assigns IP addresses to hosts on the LAN
BOOTP requires manually input of IP addresses
This uses UDP at layer 4

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

What is APIPA

A

Automatic Private IP Addressing is self configured to communicate without a DHCP server.
169.254.0.1 - 169.254.255.254

17
Q

What is a Class A IP address

A
Network.Host.Host.Host
Range: 0-127
First bit in the network address must be zero
Max 126 networks (+1 for diagnostics)
Max 16,777, 216 nodes
Reserved 10.0.0.0-10.255.255.255
18
Q

What is a Class B IP address

A

Range: 128-192
Network.Network.Host.Host
First bit of the first two bytes has to be 1.
16384 possible networks (2^14, 14 of the 16 possible bits)
65534 possible nodes
RESERVED: 172.16.0.0 - 172.31.255.255

19
Q

What is a Class C IP address

A
Network.Network.Netowrk.Host
Range 192- 223
First 2 bits of the first 3 bytes must be 1. 
2, 097, 152 possible networks
254 possible nodes
20
Q

What is a Class D ip address

A

Multicast address

Range 224-239

21
Q

What is a class E IP address

A

Experimental

240-255

22
Q

What is NAT

A

Used to translate an IP address to a public routable address.

23
Q

Outline what TCP is

A
Breaks data into segments
Assigns sequence to segments
Retransmits lost segments
Connection oriented
Costly
24
Q

Outline the structure of a TCP header

A
32 bit Sequence
32 Bit ACK
4 Bit Header length
? bit reserved
? bit flags
16 bit Window Size
16 bit checksum
16 bit urgent point
Options
Data
16 bit source port
16 bit destination port
25
What is the window size in a tcp header
This is the size of the window the sender will accept
26
What makes UDP different
Integrity checking is left up to the application layer.
27
What is the structure of a UDP header
``` 16 bit source port 16 bit destination port 16 bit length 16 bit checksum Data ```
28
What are examples of a TCP application
``` FTP Telnet POP3 DNS SMTP HTTP HTTPS SSH IMAP ```
29
What are examples of UDP Applications
``` TFTP BOOTP DNS SNMP NTP ```
30
What range do well-known ports fall into
1023-3232
31
What is a software or logical address
IP address
32
Outline the structure of a IP header
4 bit version | 4 bit header length | 8 bit priority | total length Identification | flags | Fragmented offset 8 bit TTL | 8 bit protocol | 16 bit checksum 32 bit source IP 32 bit Destination IP 0-32 bit options Data
33
In an IP header, what is fragmentation offset
provides fragmentation & reassembly if the packet offset is to large to put into a frame
34
What is ICMP
``` Uses port 1. Management protocol and messaging service provider for IP. Can give error messages. Common messages: Destination unreachable Buffer full hops time ping traceRT ```
35
What is the ARP cache
Address resolution protocol finds the hardware address that corresponds to the destination IP