TCP/UDP Flashcards

1
Q

What are the three categories of port numbers?

A

Well known : 1-1023
Registered : 1024-49151
Dynamic : 49152-65535

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

What is a socket?

A

Combination of an IP address and port

Ex 192.168.1.100:23

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

What is TCP?

A

Transmission Control Protocol

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

Describe TCP

A

Connection oriented. Hosts establish connection using three way handshake
Segmentation - breaks data too big for a frame into frame sized segments.
Segments are sequenced allowing reassembly in correct order with checksums to ensure integrity
Flow control - uses transmission window sizes and messaging to control transmission rate

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

Explain the three way handshake

A

SYN
Client rings the server

SYN/ACK
Server says hello (ACK)
Server identifiers itself (SYN)

ACK
Client confirms connection

_________________________
Host A sends a TCP SYNchronize packet to Host B

Host B receives A’s SYN

Host B sends a SYNchronize-ACKnowledgement

Host A receives B’s SYN-ACK

Host A sends ACKnowledge

Host B receives ACK.
TCP socket connection is ESTABLISHED

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

Explain UDP (user datagram protocol)

A

Connectionless- hosts unknown to each other
No segmentation- more efficient for data that fits into one frame
No sequencing and checksums
No integrity
No guarantee of correct sequence or arrival

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

What is the DORA process in DHCP?

A
Discover
Offer
Request
Acknowledgement
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
ASWINI DEY
 May 28th, 2013

HCP (D)Discover
DHCP (O)ffer
DHCP (R)equest
DHCP (A)ck

Step 1:

Your computer sends a “Discovery” request, asking for its IP information from any listening DHCP servers.

Step 2:

Any listening DHCP servers will “Offer” their configuration information to your workstation.

Step 3:

You workstation chooses the best lease then “Requests” that lease from the corresponding DHCP server.

Step 4:

The DHCP server you requested the IP configuration information from then “Acknowledges” your request and leases you the IP configuration information.

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

What is DHCP?

A

Dynamic Host Configuration Protocol
A client/server protocol that automatically assigns an IP address to it’s IP host and other related config info such as subnet mask, default gateway, etc.

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

What are the four layers of the DoD model?

A

Process/Application
Host-to-Host
Internet
Network Access

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

What are some of the protocols that take place in the process/application layer of the DoD model? (AKA Application/Presentation/Session in OSI)

A

Telnet, FTP, LPD, SNMP, TFTP, SMTP, NFS, X Window, SSH, DHCP

TFTP - Trivial File Transfer Protocol
SMTP - Simple Mail Transfer Protocol
SNMP - Simple Network Management Protocol

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

What are some of the protocols that take place in the Host-to-Host layer of the DoD model? (AKA Transport layer in OSI)

A

TCP/UDP

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

What are some of the protocols that take place in the Internet layer of the DoD model? (AKA Network layer in OSI)

A

ICMP, ARP, RARP, IP

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

What are some of the protocols that take place in the Network Access layer of the DoD model? (AKA Data Link/Physical layer in OSI)

A

Ethernet, Fast ethernet, Gigabit ethernet, wireless/802.11

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