Top Banner

of 60

data communication network 3

Jun 03, 2018

Download

Documents

cooljsean
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/12/2019 data communication network 3

    1/60

    Data Communications &

    Networking

    An Introduction

  • 8/12/2019 data communication network 3

    2/60

    NETWORK MODELS

    Internet model (TCP/IP)

    ISO-OSI Reference Model

  • 8/12/2019 data communication network 3

    3/60

    Layered structure example

    Organization A Organization B

    Postal department Network

    CEO-A CEO-B

    PA-A

    R&D Clerk-A

    Mail-man-A

    PA-B

    R&D Clerk-B

    Mail-man-B

    Mail-Box-A

    Mail-Box-B

  • 8/12/2019 data communication network 3

    4/60

    Observations from the aboveexample

    communication process is divided into number ofsub functions.

    The distribution of process into more than onefunction is brought about in order to enhance theperformance at each level.

    The function of the level above or above a certainlevel is transparent at each level

    Modification can be performed at each levelimproving or modifying its performance much easily.

    The above example is a 7 Layer Model

  • 8/12/2019 data communication network 3

    5/60

    Peers Each level in organization A is complemented

    by a corresponding level in organization B.These level which perform the complement

    function are called peers. Peers may be defined more generally as

    those parties functioning at the same level

    appearing to communicate each other

  • 8/12/2019 data communication network 3

    6/60

    Service access points

    The CEO-A accesses the PA-A anddictates the letter, this boundarybetween CEO-A Layer & PA-A layer iscalled SAP.

    The SAP is almost two way as in case ofPA-B of organization B handling over the

    letter to CEO-B

  • 8/12/2019 data communication network 3

    7/60

    Hierarchy:-

    according to the analysis there are 6different activities at the sender side and 6at the receiver side. For completing the taskthe activities are performed in the order iein hierarchical manner.

    Services:-

    Each function or layer uses services of thelayers immediately below it.

  • 8/12/2019 data communication network 3

    8/60

    Stack of layers

    The layers which form the model are alsocalled stack of layers or layer stack.

    This stack of layers is also called a protocolstack, since each layer is clearly defined aswhat services it will provide.

    The rules and formats for interaction with itare well defined

    L i

  • 8/12/2019 data communication network 3

    9/60

    Layering A vantages

    Complex problems are broken into an ordered

    sequence of simpler problems. Hence solving ofcomplex problem becomes easier

    The modularization of layers represents the

    simpler problem may be modified and implementedwithout affecting the layer above and below it

    Layering approach provides a broad common

    functionality which enables a wide range ofimplementers to interface to various layers instandard manner

  • 8/12/2019 data communication network 3

    10/60

    Internet Model (TCP/IP protocol suit)

    The layered protocol stack thatdominates data communication andnetworking today is the five layerInternet model

  • 8/12/2019 data communication network 3

    11/60

    Physical

    Data link

    Network

    Transport

    Application

    TCP/IP

    Protocol Stack

  • 8/12/2019 data communication network 3

    12/60

    Key Points

    1. Protocol architecture is the layered structure of H/Wand S/W that supports the exchange of data betweensystems and supports distributed applications such ase.mail & file transfer.

    2. At each layer of protocol architecture one or moreprotocols are implemented in communicating systems.Each protocol provides a set of rules for the exchangeof data between systems.

    3. Within a single machine, each layer calls upon theservices of the layer just below it

  • 8/12/2019 data communication network 3

    13/60

    Physical

    Data link

    Network

    Transport

    Application

    A BIN1 IN2

    5-4 I/f

    4-3 I/f

    3-2 I/f

    2-1 I/f

    Physical

    Data link

    Network

    3-2 I/f

    2-1 I/f

    Physical

    Data link

    Network

    3-2 I/f

    2-1 I/f

    Physical

    Data link

    Network

    Transport

    Application5-4 I/f

    4-3 I/f

    3-2 I/f

    2-1 I/f

    Peer to -Peer

    Peer to -Peer

    Peer to Peer Process

  • 8/12/2019 data communication network 3

    14/60

    Physical Layer

    DLL

    Network Layer IPv4

    ARP RARP

    IGMP ICMP

    SCTP TCP UDP

    SMTP FTP SNMP DNS HTTP

    TransportLayer

    Appln Layer

    802.x

    Wired/Wireless

  • 8/12/2019 data communication network 3

    15/60

    Interfaces between layers

    The passing of the data and network information downthrough the layers of the sending and receiving device ismade possible by an interface between each pair ofadjacent layers

    Each interface defines what information and services alayer must provide for the layer above it

    A well defined interfaces and layer functions providemodularity to a network

  • 8/12/2019 data communication network 3

    16/60

    L5 Data H5

    L4 Data H4

    L3 Data H3

    A B

    T2 L2 Data H2

    10101010110100101010 10101010110100101010

    T2 L2 Data H2

    L3 Data H3

    L4 Data H4

    L5 Data H5

    An exchange using the internet model

  • 8/12/2019 data communication network 3

    17/60

    Physical Layer

  • 8/12/2019 data communication network 3

    18/60

    Physical Layer is responsible fortransmitting individual bits fromone node to the next

  • 8/12/2019 data communication network 3

    19/60

    Functions of Physical Layer

    Physical characteristics of i/fs & media

    Representation of bits

    Data rates (transmission rate)

    Synchronization of bits

    Multiplexing

    Switching

    Transmission media

  • 8/12/2019 data communication network 3

    20/60

    Data Link Layer

    The Data link layer is used for hop to hop deliveryof frames

    Protocols available

    802.x

  • 8/12/2019 data communication network 3

    21/60

  • 8/12/2019 data communication network 3

    22/60

    Data Link Layer is responsiblefor delivery of frames from onenode to the next

  • 8/12/2019 data communication network 3

    23/60

    S

    LAN

    LAN

    R1

    R2

    R3

    Link1

    Link2 Link3 D

    Data Link Layer

  • 8/12/2019 data communication network 3

    24/60

    Node to Node delivery

  • 8/12/2019 data communication network 3

    25/60

    Functions of Data Link Layer

    Physical addressing

    Framing

    Flow control

    Error Control

    Access Control

  • 8/12/2019 data communication network 3

    26/60

    Cableend

    Cableend

    23

    Tap

    DropLine

    Tap

    DropLine

    Tap

    DropLine

    45 71

    T2 Data 23 71

  • 8/12/2019 data communication network 3

    27/60

    Network Layer

    The Network layer is used for the src to destndelivery of a packets possibly across multiple

    ntks. Ntk layer ensures that each packet getsfrom its point of origin to its final dstn

    Only one Protocols is available

    IP

  • 8/12/2019 data communication network 3

    28/60

    S

    LAN

    LAN

    R1

    R2

    R3

    Link1

    Link2 Link3

    Host to Host Path

    D

  • 8/12/2019 data communication network 3

    29/60

    Physical

    Data link

    Network

    Physical

    Data link

    Network

    Physical

    Data link

    Network

    Physical

    Data link

    Network

    S R1 R2 D

    Routing using the TCP/IP Layers

  • 8/12/2019 data communication network 3

    30/60

    Functions of Network Layer

    Logical addressing

    Routing

    Internetworking

    Packetizing

    Fragmenting

  • 8/12/2019 data communication network 3

    31/60

  • 8/12/2019 data communication network 3

    32/60

    Transport Layer

    The transport layer is responsible for process to processdelivery of the entire massage

    Transports appln layer messages between the client &server sides of the appln

    Two Protocols are available

    UDP

    TCP

  • 8/12/2019 data communication network 3

    33/60

    Transport Layer is responsiblefor sending messages (segments)

    from one process to another

  • 8/12/2019 data communication network 3

    34/60

    Application layer

    Application layer enables the user,whether Human or Software, to access the

    network. It provides user interfaces andsupport for services such as e-mail,remote file access and transfer, access tothe world wide web and so on.

  • 8/12/2019 data communication network 3

    35/60

    Functions of the layer

    Mail services.

    File transfer and access

    Remote login Accessing world wide web

  • 8/12/2019 data communication network 3

    36/60

    Messages

    Segment

    Packets

    Frames

    Bits

  • 8/12/2019 data communication network 3

    37/60

    Physical

    Data link

    Network

    Transport

    ApplicationProvides user access tontk resources

    Ensures process toprocess delivery

    Sends pkts from src to

    dst

    Provides hop-to-hopdelivery

    T/fs bits over themedium

  • 8/12/2019 data communication network 3

    38/60

    Addresses in TCP/IP

  • 8/12/2019 data communication network 3

    39/60

    Physical

    Data link

    Network

    Transport

    ApplicationSpecfic addrbits-goa.ac.in

    Port addr-1622

    Logical addr 32

    10.2.1.83

    Physical add- 4800-1A-4B-39-4D-5D

  • 8/12/2019 data communication network 3

    40/60

    Physical addresses

  • 8/12/2019 data communication network 3

    41/60

    As we will see most local-area networks use a 48-bit (6-byte) physical address written as 12hexadecimal digits; every byte (2 hexadecimaldigits) is separated by a colon, as shown below:

    07:01:02:01:2C:4BA 6-byte (12 hexadecimal digits) physical

    address.

  • 8/12/2019 data communication network 3

    42/60

    IP addresses

  • 8/12/2019 data communication network 3

    43/60

    Port addresses

  • 8/12/2019 data communication network 3

    44/60

  • 8/12/2019 data communication network 3

    45/60

    As we will see a port address is a 16-bit addressrepresented by one decimal number as shown.

    753A 16-bit port address representedas one single number.

  • 8/12/2019 data communication network 3

    46/60

    The physical addresses change from hop to hop,but the logical and port addresses usually remain thesame.

    Note

  • 8/12/2019 data communication network 3

    47/60

    Physical Layer

    Position of the physical layer

  • 8/12/2019 data communication network 3

    48/60

    p y y

    Services

  • 8/12/2019 data communication network 3

    49/60

  • 8/12/2019 data communication network 3

    50/60

    SIGNALS

    To be transmitted, data must betransformed to electromagnetic

    signals.

  • 8/12/2019 data communication network 3

    51/60

    Analog and Digital

    Analog and Digital Data

    Analog and Digital Signals

    Periodic and Aperiodic Signals

  • 8/12/2019 data communication network 3

    52/60

    Signals can be analog or digital.Analog signals can have an infinite

    number of values in a range; digitalsignals can have only a limited

    number of values.

    Analog Signals

  • 8/12/2019 data communication network 3

    53/60

    Analog Signals

    Sine Wave

    Characteristics

    Simple signal

    Composite signal

    1) Amplitude

    Characteristics Cont

  • 8/12/2019 data communication network 3

    54/60

    Characteristics ContFrequency/Period

    Frequency and per iod are inverses of each other.

    F requency is the rate of change with respect to time.

    Change in a short span of time means high

    frequency. Change over a long span of time means

    low frequency.

    Characteristics Cont

  • 8/12/2019 data communication network 3

    55/60

    Characteristics Cont

    Phase

    Phase describes the position of the waveform

    relative to time zero.

    E l

  • 8/12/2019 data communication network 3

    56/60

    Example

    A sine wave is offset one-sixth of a cycle with respect

    to time zero. What is its phase in degrees and radians?

    Solution

    One complete cycle is 360 degrees. Therefore, 1/6

    cycle is

    (1/6) 360 = 60 degrees = 60 x 2 /360 rad = 1.046 rad

    Sine wave Plots with different Characteristics

  • 8/12/2019 data communication network 3

    57/60

    Composite Signals

  • 8/12/2019 data communication network 3

    58/60

    Composite Signals

    According to Four ier analysis, any composite

    signal can be represented as a combination ofsimple sine waves with different f requencies,

    phases, and amplitudes.

  • 8/12/2019 data communication network 3

    59/60

    Frequency Spectrum

    The description of a signal usingfrequency domain and containing allits components is called Frequency

    spectrum of that signal

  • 8/12/2019 data communication network 3

    60/60

    Bandwidth

    Signal Bandwidth

    Medium Bandwidth