The transport layer Flashcards
What is multiplexing?
In the context of a communication network, multiplexing is the idea of transmitting multiple signals over a single channel, withdemultiplexingbeing the reverse process.
How does multiplexing work at the physical level?
at the physical level we can think of optical fibres carrying multiple light signals at different angles of refraction.
At the transport layer, how does multiplexing take place?
at the Transport layer of our network communication model, this takes place through the use ofnetwork ports.
What is a port?
a port is an identifier for a specific process running on a host
What are ports 0-1023 use for?
0-1023 are well-known ports. These are assigned to processes that provide commonly used network services. For example HTTP is port 80, FTP is port 20 and 21, SMTP is port 25, and so on.
what are ports 1024-49151 used for?
1024-49151 are registered ports. They are assigned as requested by private entities. For example, companies such as Microsoft, IBM, and Cisco have ports assigned that they use to provide specific services. On some operating systems, ports in this range are also used for allocation asephemeral portson the client side
What are ports 49152-65535 used for?
49152-65535 are dynamic ports (sometimes known as private ports). Ports in this range cannot be registered for a specific use. They can be used for customized services or for allocation asephemeral ports.
What port would a web server using HTTP use?
Services running on servers will likely have a port in the well-known range assigned to them. If you want to connect via HTTP to a web-server running on a host machine, that web-server process will likely have port 80 assigned to it.
How are ports related to multiplexing?
This relates to multiplexing because the source and destination port numbers are included in the Protocol Data Units (PDU) for the transport layer.
What encapsulates the Transport layer PDU
This entire transport layer PDU is encapsulated in the data payload of the IP packet.
What defines socket or communication end point?
Together, the IP address and port number define a communication end-point or socket.
What is a socket?
At a conceptual level a socket is an abstraction for an endpoint used for inter-process communication.
What is a connectionless system?
In a connectionless system, you could have a single socket that ‘listens’ for incoming messages. It could then process incoming traffic and respond as necessary.
What is a connection-oriented system?
Here will still have a socket that listens for incoming traffic, but when a communication is received, a new socket object is instantiated which new socket object would then listen specifically for messages where all four pieces of information matched (source port, source IP, destination port, destination IP).
What is a four-tuple?
Identifying information on a segment.
source port, source IP, destination port, destination IP
What is the advantage of a connection oriented system?
The advantage of having a dedicated connection like this is that it more easily allows you to put in place rules for managing the communication such as the order of messages, acknowledgements that messages had been received, retransmission of messages that weren’t received, and so on.
Do ethernet & IP provide for lost data?
No, They include checksums for corrupt data but simply drop the packet in that case. There is no provision for enabling replacement of lost data.
What rules for transmission does the transport layer use to guarantee delivery?
- Sender sends one message at a time, with a sequence number, and sets a timeout
- If message received, receiver sends an acknowledgement which uses the sequence number of the message to indicate which message was received
- When acknowledgement is received, sender sends next message in the sequence
- If acknowledgement is not received before the timeout expires, sender assumes either the message or the acknowledgement went missing and sends the same message again with the same sequence number
- If the recipient receives a message with a duplicate sequence number it assumes the sender never received the acknowledgement and so sends another acknowledgement for that sequence number and discards the duplicate