Lesson 5 TCP IP Addressing Flashcards
TCP IP protocol suite defines what
how applications on separate nodes establish and track connections
Why was TCP IP developed
To allow the addition of hardware and create a more flexible architecture
TCP stack has how many layers
Four
What are the TCP stack layers
Application
Transport
Internet
Network Access
Compare the OSI model to the TCP model
d
Which TCP layer adds a trailer during encapsulation
Network Access
Which TCP layers add a header during encapsulation
Application
Transport
Internet
Describe a connection-oriented protocol
The connection must be established before data is sent
TCP
Describe a connection-less protocol
The connection does not need to be established before data is sent
UDP
Connection-oriented protocols have how many stages
Three
- Connection is established and parameters are negotiated
- Devices transfer data
- Connection is released and torn down
Do connection-less protocols have stages for connections
No
Can connection-oriented protocols work in uni direction or bir directional environments
Bi-direction only
What are the two TCP/IP transport layer protocols
TCP and UDP
Name a transport protocol
TCP and UDP
TCP does what to a datagram
breaks them down into smaller segments
Reassembles them
Waits for acknowledgement of received data
Retransmits them if necessary
Describe the three-way handshake
SYN
SYN-ACK
ACK
What must happen before a client can establish an active connection
The server must perform an passive open then the client can perform an an active open
SYN
Client sends a syn packet to the serve with a sequence number
Are the three way handshake sequence numbers random
Yes – The number is random value A
SYN-ACK
The server sends a syn-ack to the client with a sequence number with a value of A+1
ACK
The client send a ack to the server with a sequence number of B+1
Describe UDP
User Datagram Protocol
Connectionless Protocol
Best effort deliverary protocol
Smaller header than TCP therefore it means faster more effcient delivery