Chap 8 Suppl Logical

download Chap 8 Suppl Logical

of 55

Transcript of Chap 8 Suppl Logical

  • 8/7/2019 Chap 8 Suppl Logical

    1/55

    A Logical Explanation

    The Business/IT Highway:

    How Does IT Work?

  • 8/7/2019 Chap 8 Suppl Logical

    2/55

    Objectives

    Analyze the layered models

    Review common protocols

    Logical addressing

    Understand the encapsulation process

    Reliability issues How does my data get to its destination?

  • 8/7/2019 Chap 8 Suppl Logical

    3/55

    Part 1 Overview of theOSI Model

  • 8/7/2019 Chap 8 Suppl Logical

    4/55

    Benefits ofOSI Model

    Reduce complexity

    Standardize interfaces

    Facilitate modular engineering

    Ensure interoperable technologies

    Accelerate evolution

    Simplify teaching and learning

  • 8/7/2019 Chap 8 Suppl Logical

    5/55

    What isOSI Model ?

    Open System Interconnection (OSI) model is a set of

    protocols that define and standardize the datacommunications process

    The OSI model is set by the International Standards

    Organization (ISO)

    The OSI model has the support of most major

    computer and network vendors

    OSI model divides the process into seven groups,

    called layers which are fitted with protocol standards

  • 8/7/2019 Chap 8 Suppl Logical

    6/55

    OSI Layers

  • 8/7/2019 Chap 8 Suppl Logical

    7/55

    TheOSI Model

    Physical Layer (L1 or Layer 1) Connections and connector types

    Cables

    Wireless

    Fiber

    Signaling standards

    Voltages, attenuation, noise, etc

  • 8/7/2019 Chap 8 Suppl Logical

    8/55

    OSI Layers

  • 8/7/2019 Chap 8 Suppl Logical

    9/55

    OSI Layers

    Data Link Layer (L2 or Layer 2)

    Physical addressing MAC Framing

    Network topology

    Error detection

    Access to media

    Sub-Layers MAC and LLC

    Ethernet

    LAN Switches are L2 devices

  • 8/7/2019 Chap 8 Suppl Logical

    10/55

    OSI Layers

    Data Link LayerProtocols

    SLIP Serial Line Internet Protocol PPP Point to Point Protocol

    HDLC High Level data link control

  • 8/7/2019 Chap 8 Suppl Logical

    11/55

    OSI Layers

    Provides connectivity and path selection between two host

    Provides Logical address

    No error correction, best effort delivery.

  • 8/7/2019 Chap 8 Suppl Logical

    12/55

    OSI Layers

    Network Layer (L3 or Layer 3)

    Logical addressing IP address Packets

    Connection-less, best effort

    Best path selection

    Routers are Layer 3 devices

  • 8/7/2019 Chap 8 Suppl Logical

    13/55

    OSI Layers

  • 8/7/2019 Chap 8 Suppl Logical

    14/55

    OSI Layers

    Transport Layer (L4 or Layer 4)

    Segmentation of Data Error correction

    Reliability

    End-to-end communication

    Windowing

    TCP and UDP

  • 8/7/2019 Chap 8 Suppl Logical

    15/55

    OSI Layers

  • 8/7/2019 Chap 8 Suppl Logical

    16/55

    OSI Layers

    Session Layer

    Two way alternate vs. two way simultaneous Synchronization between applications

    Some protocols: NFS & SQL

    This layer is part of the TCP/IP models Application layer

  • 8/7/2019 Chap 8 Suppl Logical

    17/55

    OSI Layers

  • 8/7/2019 Chap 8 Suppl Logical

    18/55

  • 8/7/2019 Chap 8 Suppl Logical

    19/55

    OSI Layers

  • 8/7/2019 Chap 8 Suppl Logical

    20/55

    OSI Layers

    Application Layer (L7 or Layer 7)

    Closest to the user This is NOT the application you interact with

    This is the underlying protocol of the application

    HTML for web browsers

    SMTP and POP3 for email

    This layer is part of the TCP/IP models Application layer

  • 8/7/2019 Chap 8 Suppl Logical

    21/55

    Peer-to-Peer Communication

  • 8/7/2019 Chap 8 Suppl Logical

    22/55

    Compare:OSI and TCP/IP models

  • 8/7/2019 Chap 8 Suppl Logical

    23/55

    PART 2 The Details

    Lets look at these layers a bit closer but lets

    turn it around.

  • 8/7/2019 Chap 8 Suppl Logical

    24/55

    Layer 7 Application Layer

    Identifying and establishing the availability of

    intended communication partners Synchronizing cooperating applications

    Establishing agreement on procedures for

    error recovery

    Controlling data integrity

  • 8/7/2019 Chap 8 Suppl Logical

    25/55

    Layer 7 Application Layer

    Common Application layer protocols

    HTTP Telnet

    FTP

    SNMP

    DNS FTP and TFTP

    SMTP

  • 8/7/2019 Chap 8 Suppl Logical

    26/55

    DNS

    The Domain Name System (DNS) is a systemused for translating names into IP addresses.

    There are more than 200 top-level domainson the Internet

    Uses port 53

    .us United States.uk United Kingdom

    .edu educational sites

    .com commercial sites

    .gov government sites.org non-profit sites

    .net network service

  • 8/7/2019 Chap 8 Suppl Logical

    27/55

    FTP and TFTP

    FTP is a reliable, connection-oriented

    service that uses TCP to transfer filesbetween systems that support FTP. Uses ports 20 and 21

    TFTP is a connectionless service that uses

    User DatagramP

    rotocol (UDP

    ). TFTP is designed to be small and easy to

    implement.

    Use port 69

  • 8/7/2019 Chap 8 Suppl Logical

    28/55

    HTTP

    Hypertext TransferProtocol

    Uses port 80

  • 8/7/2019 Chap 8 Suppl Logical

    29/55

    SMTP

    E-mail servers communicate with each otherusing the Simple Mail Transport Protocol(SMTP) to send and receive mail (POP3).

    Uses port 25, 110

  • 8/7/2019 Chap 8 Suppl Logical

    30/55

    SNMP

    The Simple Network Management Protocol (SNMP) is anapplication layer protocol that facilitates the exchange of

    management information between network devices.

  • 8/7/2019 Chap 8 Suppl Logical

    31/55

    Telnet

    Telnet client software provides the ability to log

    in to a remote Internet host that is running aTelnet server application and then to executecommands from the command line.

  • 8/7/2019 Chap 8 Suppl Logical

    32/55

    Layer 6 Presentation Layer

    Responsible for

    Data format - ASCII, jpeg, mp3, etc. Compression

    Encryption

  • 8/7/2019 Chap 8 Suppl Logical

    33/55

    Layer 5 Session Layer

    Establish, maintain and terminate sessions

    between applications. Dialog control - the session layer decides whether

    to use two-way simultaneous communication or

    two-way alternate communication.

    Dialog separation - orderly initiate, terminate, andmanage transactions

  • 8/7/2019 Chap 8 Suppl Logical

    34/55

    Layer 4 Transport Layer

    Segments data

    Adds a logical identifier (port number) Provides for reliability by ensuring segments

    delivered are acknowledged

    Provides for retransmission of segments no

    acknowledged Reassembles segments at destination

    Provides for congestion avoidance andcontrol

  • 8/7/2019 Chap 8 Suppl Logical

    35/55

    Layer 4 Transport Layer

    Primary Transport LayerProtocols

    TCP Connection oriented

    Reliable

    UDP

    Connection-less

    Unreliable

    Best effort like IP

  • 8/7/2019 Chap 8 Suppl Logical

    36/55

    Layer 4 Transport Layer

    Both TCP and UDP use port (socket) numbers to passinformation to the upper layers.

    Port numbers identify specific

    Application layerprotocols.

    Numbers below 1024 are considered well-knownports numbers.

    Numbers above 1024 are dynamically assignedports numbers.

    Registered port numbers are those registered forvendor-specific applications. Most of these areabove 1024.

    Well known ports: 80 = HTTP, 23 = telnet

  • 8/7/2019 Chap 8 Suppl Logical

    37/55

    Layer 3 Network Layer

    Layer 3 is responsible for:

    Logical addressing (IP and others) Routing

    Path selection

    Packet switching

    Encapsulation of Segments intoPA

    CKETS

  • 8/7/2019 Chap 8 Suppl Logical

    38/55

    Layer 3 Network Layer

    Internet Protocol

    IP is a connectionless, best-effort protocol Unreliable

    It relies on TCP for reliability

    It provides the ability for a logical address

    Network (and subnetwork) Node

    A mask is used to distinguish between net & node

  • 8/7/2019 Chap 8 Suppl Logical

    39/55

    Layer 3 Network Layer

    What is an IP address?

    Logical address Two parts: network id and host id

    32 bit address

    Written in dotted decimal notation

    4 sets of 8 bits written as decimal numbers192.168.1.1

    205.200.3.24

    10.3.5.254

  • 8/7/2019 Chap 8 Suppl Logical

    40/55

    Layer 3 Network Layer

    Private and reserved IP addresses

    Some addresses are reserved for specialpurposes.

    Some identify the Network ID and some Identify the

    broadcast address for the entire network.

    Some are considered Private and do not traverse the

    internet

  • 8/7/2019 Chap 8 Suppl Logical

    41/55

    Layer 3 Network Layer

    Private and reserved IP addresses (cont.)

    Some are for multicasting 224.0.0.0 through 239.255.255.255

    Some are for testing purposes

    127.0.0.0

    Some are link-local

    169.254.0.0 Some are reserved for no good reason

    240.0.0.0 255.255.255.255

  • 8/7/2019 Chap 8 Suppl Logical

    42/55

    Layer 3 Network Layer

    IP version 6

    Do I need to know this? Be aware of it. An IPv6 address is a 128 bit address

    Written in hexadecimal notation2001:1234:0000:fb5d:0000:0000:0abc:def0/64

    Can be shortened to:2001:1234:0:fb5d::abc:def0/64

  • 8/7/2019 Chap 8 Suppl Logical

    43/55

    Layer 3 Network Layer

    Ah.the IPPACKET

  • 8/7/2019 Chap 8 Suppl Logical

    44/55

    Layer 3 Network Layer

    The Router

  • 8/7/2019 Chap 8 Suppl Logical

    45/55

    Layer 3 Network Layer

    The Router a network layer device

    Used to connect different logical networks Determines best path (routing protocols)

    Switches packets (routed protocols) from

    incoming interface to outgoing interfaces

  • 8/7/2019 Chap 8 Suppl Logical

    46/55

    Layer 3 Network Layer

    The router is responsible for determining bets path

  • 8/7/2019 Chap 8 Suppl Logical

    47/55

  • 8/7/2019 Chap 8 Suppl Logical

    48/55

    Layer 2 Data Link

    LLC Logical Link Control

    LLC is specified in IEEE 802.2 It is the upper sub-layer of layer 2.

    It provides a logical service to the Network layer

    It is independent of topology

    It is independent of technology

  • 8/7/2019 Chap 8 Suppl Logical

    49/55

    Layer 2 Data Link

    MAC Media Access Control

    This is the lower sub-layer of Layer 2 Topology dependent

    Media dependent

    Technology dependent

    Physical addressing (naming) Encapsulating Packets into FRAMES

  • 8/7/2019 Chap 8 Suppl Logical

    50/55

    Layer 2 Data Link

    The LAN switch a layer 2 device*

  • 8/7/2019 Chap 8 Suppl Logical

    51/55

    L3 vs. L2

    Comparing layer 3 and layer 2 devices

  • 8/7/2019 Chap 8 Suppl Logical

    52/55

    Layer 1

    Layer 1 (We spoke in detail about layer one in the Lets Get Physical workshop)

    Bits and signaling Cabling

    Connectors and connection standards

    Electricity

  • 8/7/2019 Chap 8 Suppl Logical

    53/55

    Putting it together

    Each layer accepts whatever is passed into it

    from the upper layer. It then encapsulates that information.

    Each layers encapsulation has a name, this

    is called a Protocol Data Unit orPDU.

  • 8/7/2019 Chap 8 Suppl Logical

    54/55

    Putting it together

    Data flow example

  • 8/7/2019 Chap 8 Suppl Logical

    55/55

    Summary

    We use layers to simplify learning andunderstanding of data flow

    Data is encapsulated into packets thenframes before being transmitted as bits

    Routing protocols are used to determine thebest path to a destination

    TCP/IP is the protocol suite of the internet IP is connectionless and unreliable

    TCP provides connection-oriented service andreliability