Semester 1 CHAPTER 12 13 14 Le Chi Trung - PowerPoint PPT Presentation

1 / 40
About This Presentation
Title:

Semester 1 CHAPTER 12 13 14 Le Chi Trung

Description:

... sequence number of the first data octet in this segment (except when SYN is ... The number of data octets beginning with the one indicated in the acknowledgment ... – PowerPoint PPT presentation

Number of Views:121
Avg rating:3.0/5.0
Slides: 41
Provided by: home61
Category:

less

Transcript and Presenter's Notes

Title: Semester 1 CHAPTER 12 13 14 Le Chi Trung


1
Semester 1CHAPTER 12 13 14 Le Chi Trung
2
Content
  • Transport layer
  • TCP and UDP
  • Session layer
  • Presentation layer

3
TRANSPORT LAYER
4
Why we need a transport layer?
  • Layer 1 allows bit streams to be created and to
    travel.
  • Layer 2 packages those data packets into frames
    to be converted to bit streams and makes
    data-link delivery possible.
  • Layer 3 packages data from upper layers in
    packets and makes routing and network delivery
    possible.

But they made no provision for assuring our data
reliably travels end-to-end across the often
vast network path.
5
Purpose of the transport layer
  • Transport and regulate the flow of information
    from source to destination, reliably and
    accurately.
  • The end-to-end control
  • Sliding windows.
  • Sequencing numbers.
  • Acknowledgments.
  • Segmentation.
  • Multiplexing.

6
TCP and UDP
  • The emphasis of this curriculum is on TCP/IP
    Ethernet networks.
  • The TCP/IP protocol of the OSI model Layer 4
    (transport layer) has two protocols - TCP and UDP.

7
TCP/IP
8
Port
RFC-1700
  • Both TCP and UDP use port (or socket) numbers to
    pass information to the upper layers.

9
Range of ports
  • 2 bytes 0 65535.
  • Numbers below 255 for public applications.
  • Numbers from 255 - 1023 assigned to companies
    for marketable applications.
  • Numbers above 1023 are unregulated.
  • End systems use port numbers to select proper
    applications.
  • Originating source port numbers are dynamically
    assigned by the source host usually, it is a
    number larger than 1023.

10
Telnet port number
11
TCP AND UDP
12
TCP
  • TCP supplies a virtual circuit between end-user
    applications. These are its characteristics
  • connection-oriented.
  • reliable.
  • divides outgoing messages into segments.
  • reassembles messages at the destination station.
  • re-sends anything not received.
  • reassembles messages from incoming segments.

13
TCP Header format
RFC-761
  • Protocol that provides reliable full-duplex data
    transmission.

14
TCP Header format Port number
  • Source Port 16 bits.
  • Destination Port 16 bits.

15
TCP Header format Sequence
  • Sequence Number 32 bits
  • The sequence number of the first data octet in
    this segment (except when SYN is present).

16
TCP Header format Acknowledgment
  • Acknowledgment Number 32 bits
  • This field contains the value of the next
    sequence number the sender of the segment is
    expecting to receive.

17
TCP Header format Code bits
  • Control Bits 8 bits
  • ACK Acknowledgment field significant
  • RST Reset the connection
  • SYN Synchronize sequence numbers
  • FIN No more data from sender

18
TCP Header format Window
  • Window 16 bits
  • The number of data octets beginning with the one
    indicated in the acknowledgment field which the
    sender of this segment is willing to accept.

19
TCP Three way handshaking
20
TCP Simple acknowledgment
21
TCP Sliding acknowledgment
22
TCP Sequence and acknowledgment
23
UDP
  • UDP transports data unreliably between hosts.
    Following are the characteristics
  • Connectionless.
  • Unreliable.
  • Transmit messages (called user datagrams).
  • Provides no software checking for message
    delivery (unreliable).
  • Does not reassemble incoming messages.
  • Uses no acknowledgements.

24
UDP Header format
RFC-768
  • UDP is a simple protocol that exchanges
    datagrams, without acknowledgments or guaranteed
    delivery.

25
Review
  • Transport layer regulates information flow to
    ensure end-to-end connectivity between host
    applications reliably and accurately.
  • TCP and UDP port numbers.
  • Three way handshaking and sliding windows.

26
SESSION LAYER
27
Functions
28
Process
  • Dialog control
  • In the conversation, each host plays dual roles
    requesting service and replying with service.
    Dialogue control determining which role they are
    playing at any given moment.
  • Agree a set of guidelines to use during the
    communicating with each other.
  • Dialog separation
  • Order to Initiate, terminate and manage of
    communication.
  • Using a checkpoint to synchronize.

29
Dialog control
30
Dialog separation
31
Session layer protocols
32
Review
  • Communication sessions consist of
    mini-conversations that occur between
    applications located in different network
    devices.
  • Dialog control.
  • Dialog separation.

33
PRESENTATION LAYER
34
Functions
35
Three main functions
36
Data formatting
37
Data encryption
38
Data compression
39
Review
  • Determines how graphic images, sound and movies
    are presented. .
  • Provides encryption of data.
  • Compresses text and converts graphic images into
    bit streams so they can be transmitted across a
    network.

40
  • Good Luck on The Test
Write a Comment
User Comments (0)
About PowerShow.com