CIS 456 Open Systems Networking - PowerPoint PPT Presentation

1 / 33
About This Presentation
Title:

CIS 456 Open Systems Networking

Description:

There is an analogy between the layering of network protocols and the languages ... For example: The IP layer provides an abstraction for the lower level network ... – PowerPoint PPT presentation

Number of Views:47
Avg rating:3.0/5.0
Slides: 34
Provided by: theodorel9
Category:

less

Transcript and Presenter's Notes

Title: CIS 456 Open Systems Networking


1
CIS 456 Open Systems Networking
  • Theodore L. Nicholson
  • Fall Semester 2001

2
Protocol Layering
  • Lecture 10

3
Protocol Layering
  • There is an analogy between the layering of
    network protocols and the languages used to write
    computer programs
  • Protocols are to networking what languages are to
    computation
  • Abstraction is used in both situations to divide
    a large problem into subproblems

4
Protocol Layering
  • For example The IP layer provides an abstraction
    for the lower level network details in the same
    way a high level programming language provides an
    abstraction for the low level details of the
    machine architecture and instruction set

5
Protocol Layering
  • Taken as a whole, networking is a complicated
    task which must address a number of problems
  • Hardware failure
  • Network Congestion
  • Packet delay or loss
  • Data corruption
  • Data duplication or inverted arrivals

6
Protocol Layering
  • Conceptual Layers

7
Protocol Layering
  • Keep in mind the distinction between the
    conceptual organization of a protocol and the
    implementation details
  • For example, the simple protocol diagram shown
    does not reveal the multiple protocols or
    interfaces at a particular level

8
Protocol Layering
9
Protocol Layering
  • A message traversing the network will make use of
    only those layers necessary for the processing of
    the message at that node
  • Only the sender and receiver will make use of the
    entire protocol stack intermediate nodes
    (routers) will use only the lower levels

10
Protocol Layering
11
Protocol Layering
  • What functionality should reside in each layer?
  • There are two well known approaches
  • ISO 7-layer Reference Model
  • TCP/IP 5-layer Reference Model

12
Protocol Layering
  • The ISO 7-layer Model is the older of the two and
    was developed by the International Organization
    for Standardization
  • Implemented as X.25 in public data networks and
    used extensively in Europe

13
ISO Model
14
ISO Model
  • Note Each host attaches to a packet switch using
    a serial connection
  • The packet switches are connected to form the
    network

15
ISO Model
  • Application application programs
  • Presentation shared i.e., data compression
  • Session shared i.e., remote terminal access
  • Transport end-to-end reliability
  • Network destination addressing and routing
  • Data Link frames
  • Physical i.e., voltage and current

16
ISO Model
  • Note the ISO model was designed to describe
    protocols for a single network and thus, does not
    contain a specific layer for internetwork routing
    in the same way TCP/IP protocols do

17
TCP/IP Model
  • TCP/IP is used for most networking
  • The Internet
  • Also used for extensively for local networks in
    the U.S.

18
TCP/IP Model
19
TCP/IP Model
  • Application Applications
  • Transport End-to-end communication
  • Internet Datagram routing
  • Network e.g., device driver
  • Hardware e.g. NIC card

20
Protocol Layering
  • Differences between ISO and Internet
  • Link Level v. End-to-End Reliability
  • Where are errors detected?
  • ISO All lower levels (below Transport) have
    various error checking schemes
  • TCP/IP Only the Transport level ensures reliable
    communication

21
Protocol Layering
  • Differences between ISO and Internet
  • ISO Network is a service which host computers
    use
  • Naïve hosts, smart network
  • TCP/IP Requires hosts to participate in almost
    all network protocols error detection, routing,
    network control (i.e., ICMP)
  • Simple packet delivery system, smart hosts

22
Protocol Layering Principle
  • Layered protocols are designed so that layer n at
    the destination receives exactly the same object
    sent by layer n at the source

23
Protocol Layering Principle
24
TCP/IP Layering
  • TCP/IP layering does not adhere strictly to the
    protocol layering principle
  • The protocol layering principle does apply to the
    Transport and Application layers
  • i.e., packets received are identical to those
    sent
  • However, the protocol layering principle does not
    apply, technically, to the Internet and Network
    layers

25
TCP/IP Layering
26
Two Important Boundaries
  • The conceptual protocol layering creates two
    important boundaries
  • A protocol address boundary that separates the
    use of high level (IP) addresses and low level
    (physical) addresses
  • An operating system boundary that separates
    applications from the rest of the TCP/IP stack

27
Two Important Boundaries
28
Multiplexing/Demultiplexing
  • Multiplexing and Demultiplexing occur at almost
    every protocol layer
  • Each layer typically contains many modules the
    data for which must be standardized for the next
    lower level

29
Multiplexing/Demultiplexing
  • For outgoing data, the message must be packed up
    into a form that is standard for the next lower
    level
  • This means adding a new wrapper around the data
    as it proceeds down each layer
  • Header
  • For incoming data, the reverse is true

30
Multiplexing/Demultiplexing Frames
31
Multiplexing/Demultiplexing Datagrams
32
Disadvantages of Layering
  • Inherently Inefficient
  • However, abstraction benefits are great
  • Adherence to strict layering scheme does not
    allow for optimization
  • i.e., if connected directly to the destination
    network, packet size may be optimized for that
    network
  • A relaxed layering scheme allows information like
    route selection and MTU to propagate upward

33
Midterm Exam
  • This Monday!!
Write a Comment
User Comments (0)
About PowerShow.com