Internet Protocols - Data Communications - Lecture Slides, Slides of Data Communication Systems and Computer Networks

These lecture slides are very easy to understand the data communication system. The major points in these lecture slides are:Internet Protocols, Small Set of Functions, Functions, Reduce Duplication, Effort, Encapsulation, Fragmentation and Reassembly, Connection Control, Ordered Delivery, Flow Control

Typology: Slides

2012/2013

Uploaded on 04/25/2013

baidehi
baidehi 🇮🇳

4.4

(14)

101 documents

1 / 82

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Chapter 18
Internet Protocols
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52

Partial preview of the text

Download Internet Protocols - Data Communications - Lecture Slides and more Slides Data Communication Systems and Computer Networks in PDF only on Docsity!

Chapter 18

Internet Protocols

Protocol Functions

  • Small set of functions that form basis of all protocols
  • Not all protocols have all functions — Reduce duplication of effort — May have same type of function in protocols at different levels
  • Encapsulation
  • Fragmentation and reassembly
  • Connection control
  • Ordered delivery
  • Flow control
  • Error control
  • Addressing
  • Multiplexing
  • Transmission services

Fragmentation and Reassembly

(Segmentation – OSI)

  • Exchange data between two entities
  • Characterized as sequence of PDUs of some bounded size — Application level message
  • Lower-level protocols may need to break data up into smaller blocks
  • Communications network may only accept blocks of up to a certain size — ATM 53 octets — Ethernet 1526 octets
  • More efficient error control — Smaller retransmission
  • Fairer — Prevent station monopolizing medium
  • Smaller buffers
  • Provision of checkpoint and restart/recovery operations

Disadvantages of

Fragmentation

  • Make PDUs as large as possible because — PDU contains some control information — Smaller block, larger overhead
  • PDU arrival generates interrupt — Smaller blocks, more interrupts
  • More time processing smaller, more numerous PDUs

PDUS and Fragmentation

(Copied from chapter 2 fig 2.4)

Connection Control

  • Connectionless data transfer — Each PDU treated independently — E.g. datagram
  • Connection-oriented data transfer — E.g. virtual circuit
  • Connection-oriented preferred (even required) for

lengthy exchange of data

  • Or if protocol details must be worked out dynamically
  • Logical association, or connection, established between

entities

  • Three phases occur — Connection establishment — Data transfer — Connection termination — May be interrupt and recovery phases to handle errors Docsity.com

Connection Establishment

  • Entities agree to exchange data
  • Typically, one station issues connection request — In connectionless fashion
  • May involve central authority
  • Receiving entity accepts or rejects (simple)
  • May include negotiation
  • Syntax, semantics, and timing
  • Both entities must use same protocol
  • May allow optional features
  • Must be agreed
  • E.g. protocol may specify max PDU size 8000 octets;

one station may wish to restrict to 1000 octets

Data Transfer and Termination

• Both data and control information exchanged

—e.g. flow control, error control

• Data flow and acknowledgements may be in one

or both directions

• One side may send termination request

• Or central authority might terminate

Ordered Delivery

  • PDUs may arrive out of order — Different paths through network
  • PDU order must be maintained
  • Number PDUs sequentially
  • Easy to reorder received PDUs
  • Finite sequence number field — Numbers repeat modulo maximum number — Maximum sequence number greater than maximum number of PDUs that could be outstanding — In fact, maximum number may need to be twice maximum number of PDUs that could be outstanding - e.g. selective-repeat ARQ

Flow Control

  • Performed by receiving entity to limit amount or rate of

data sent

  • Stop-and-wait — Each PDU must be acknowledged before next sent
  • Credit — Amount of data that can be sent without acknowledgment — E.g. HDLC sliding-window
  • Must be implemented in several protocols — Network traffic control — Buffer space — Application overflow - E.g. waiting for disk access

Addressing

• Addressing level

• Addressing scope

• Connection identifiers

• Addressing mode

TCP/IP Concepts

Addressing Scope

  • Global address — Global nonambiguity — Identifies unique system — Synonyms permitted — System may have more than one global address — Global applicability — Possible at any global address to identify any other global address, in any system, by means of global address of other system — Enables internet to route data between any two systems
  • Need unique address for each device interface on network — MAC address on IEEE 802 network and ATM host address — Enables network to route data units through network and deliver to intended system — Network attachment point address
  • Addressing scope only relevant for network-level addresses
  • Port or SAP above network level is unique within system — Need not be globally unique — E.g port 80 web server listening port in TCP/IP Docsity.com

Connection Identifiers

  • Entity 1 on system A requests connection to entity 2 on system B, using global address B.2.
  • B.2 accepts connection
  • Connection identifier used by both entities for future transmissions
  • Reduced overhead — Generally shorter than global identifiers
  • Routing — Fixed route may be defined — Connection identifier identifies route to intermediate systems
  • Multiplexing — Entity may wish more than one connection simultaneously — PDUs must be identified by connection identifier
  • Use of state information
  • Once connection established, end systems can maintain state information about connection — Flow and error control using sequence numbers