Chapter 5 (152-157, 174-183) Test 2 Flashcards
What is the size of a ethernet message field?
-Ethernet has max packet size of 1492
-need to subtract size of the TCP header(24 bytes)
-subtract size of IPv4 header(24 bytes
-therefore the max packet size is 1444
-
Describe the transport layer.
- links the application layer software in the application layer with the network
- segments large messages into smaller ones for transmission
- manages the session(end-to-end delivery of message.
What does NAT do?
- network address translation
- translates private non-routable addresses to a routable IPv4 address.
What are the three major functions performed by the transport layer?
- linkin the application layer to the network layer
- segmenting
- session management(end-to-end)
Describe port addresses.
- each application layer software package has a unique port address.
- applications must tell TCP the application layer port address that is to receive the message.
- sending computer tells TCP the source and destination port address.
What fields are the port addressed placed in the TCP segment?
-the first two fields.
How many bits are port addresses?
-at bits.
What are common well known ports?
http: port 80
FTP: port 21
Telnet: port 23
SMTP: port 25
Describe segmenting.
- takes one outgoing message from the application layer and break it into a set of smaller segments for transmission through the network.
- also means to take incoming set of smaller segments from the network layer and reassemble them into one message for the application layer.
Describe how TCP ensures all segments are received?
-Continues ARQ(chapter 4).
What is the default segment size for transport layer?
- 356
- Transport layer at the sender negotiates with the transport layer at the receiver to settle on the best segment sizes to use.
- done by establishing a TCP connection between the sender and receiver.
Describe a session.
-conversation between two computers.
What are the two types of messaging?
- connection-oriented
- connectionless.
Describe connection-oriented messaging
Describe the three way hand shake.
- sender sends a SYN segment.
- server responds with an ACK and sends its own SYN
- client seands an ACK for server’s SYN