Professional Documents
Culture Documents
CCNA Exploration Network Fundamentals: OSI Transport Layer
CCNA Exploration Network Fundamentals: OSI Transport Layer
Network Fundamentals
Chapter 4
OSI Transport Layer
• The Transport layer segments the data and manages the separation
of data for different applications
– multiple applications running on a device receive the correct data
– data from the phone call is not directed to the web browser
• Telephone conversation
– missing parts of a conversation may be considered acceptable
– infer the missing audio from the context of the conversation
– ask the opposite party to repeat
– user manages the resending of missing information
• Dividing data into small parts, and sending these parts from source
to destination, enables may different applications to be interleaved
(or multiplexed) on the same network
– makes error recovery and retransmission of damaged data easier
– without segmentation, only one application would be able to receive
data
– each of these applications
is a conversation
• Transport layer adds a
header containing binary
data to identify each
segment of data
• Connection-oriented conversations
– establishes a session between the applications
– ensures the application is ready to receive the data
• Reliable delivery
– lost segments are re-sent so that the data is received complete
• Ordered data reconstruction
– numbering and sequencing the segments to ensure they are
reassembled into the proper order
• Flow control
– regulating the rate of data flow to prevent the loss of segments and
avoid the need for re-transmission
• Reliable delivery of data ensures that each piece of data the source
sends arrives at the destination
– keep track of all data pieces transmitted
– acknowledge the receipt of the data by the destination
– retransmit any unacknowledged data
• TCP and UDP use unique port numbers in the header fields to keep
track of the various applications
– source and destination ports
– source port number in a client request is a randomly generated number
– destination port number
is a default or manually
assigned number
• A socket is a
combination of the
Transport layer port
number and Network
layer IP address
– 192.168.1.20:80
– 192.168.100.40:49152
• The Transport layer divides the data into pieces and adds a header
– ensures that data is transmitted within the limits of the media
– data from different application can be multiplexed on to the media
• Acknowledgements
– destination sends acknowledgements to the source for the segments
that it receives
– source keeps track of which segments are awaiting acknowledgement
– if the source does not receive an acknowledgement within a
predetermined amount of time, it retransmits that data to the destination
• Source port
– TCP session on the device that opened a connection – normally a
random value above 1023
• Destination port
– identifies the upper layer protocol or application on remote site
• Sequence number
– indentifies the sequence of each transmitted segment
• Acknowledgement number
– contains the value of the next sequence number the receiver is
expecting to receive
• Header length
– specifies the size of the TCP header
• Flow control adjusts the effective rate of data flow the network and
destination device can support without loss
– prevents the data from the source to overwhelm the destination
• When the source receives an acknowledgement for the specified
amount of transmitted segments, it can continue sending more data
• The window size field specifies the number of bytes sent before an
acknowledgement is expected
– an initial window size is determined during the session startup via the
three-way handshake
– the acknowledgement number is the number of the next expected byte
• TCP attempts to manage the rate of transmission so that all data will
be received and retransmissions are minimized