DCET CCn 3 Internetworking

Embed Size (px)

Citation preview

  • 8/6/2019 DCET CCn 3 Internetworking

    1/33

    Why have Computer Networks?

    Resource sharing

    Communication

    Information sharing

  • 8/6/2019 DCET CCn 3 Internetworking

    2/33

    Different Types of Computer

    Networks Switched Networks and Broadcast

    Networks

    Local Area Networks - LANs Metropolitan Area Networks - MANs

    Wide Area Networks - WANs

  • 8/6/2019 DCET CCn 3 Internetworking

    3/33

    Switched Networks and

    Broadcast Networks In switched networks the message travels

    from one node to another on its path from

    source to destination. The message onlytravels through the nodes that are

    necessary to pass from a given source to

    a destination. Example Telephone

    Network.

    In Broadcast networks the message is

    sent to all the nodes on the network.

    Example Ethernet Local Area Network.

  • 8/6/2019 DCET CCn 3 Internetworking

    4/33

    Local Area Networks

    Small geographical area. Less than 1 km.

    A floor or a building.

    Owned by a department or anorganization.

    Very high speeds and low latency.

  • 8/6/2019 DCET CCn 3 Internetworking

    5/33

    Metropolitan Area Networks

    Medium size geographical area. 10 km.

    A campus or a city.

    Owned by a large organization or a groupof organizations.

    High speeds and medium latency.

  • 8/6/2019 DCET CCn 3 Internetworking

    6/33

    Wide Area Networks

    Long distances. 100 km.

    Owned by very large organizations,

    governments, telcos. Low to high speed and high latency.

    Two Types Of WAN

    Circuit Switching Packet Switching

  • 8/6/2019 DCET CCn 3 Internetworking

    7/33

    Circuit-Switching

    Definition: Communication in which a dedicatedcommunications path is established between two

    devices through one or more intermediate switching

    nodes Oldest Networking Technology - more than a

    hundred years old

    Dominant in both voice and data communications

    today

    e.g. PSTN is a circuit-switched network

    Relatively inefficient (100% dedication even without

    100% utilization)

  • 8/6/2019 DCET CCn 3 Internetworking

    8/33

    Circuit Switching

    In circuit switching network any two

    stations wishing to communicate first

    establish a connection by requesting to the

    network.

    The network responds by arranging a

    connection in such a way that a

    dedicated/physical path is establishedbetween the two parties

  • 8/6/2019 DCET CCn 3 Internetworking

    9/33

    Circuit Switching Networks

  • 8/6/2019 DCET CCn 3 Internetworking

    10/33

    Packet Switching

    Packet Switching refers to protocols in which

    messages are divided into packets before they

    are sent. Each packet is then transmitted

    individually and can even follow different routesto its destination. Once all the packets forming a

    message arrive at the destination, they are

    recompiled into the original message.

    Examples X.25, and Frame Relay, are based on

    packet-switching technologies

  • 8/6/2019 DCET CCn 3 Internetworking

    11/33

    Packet Switching Networks

  • 8/6/2019 DCET CCn 3 Internetworking

    12/33

    What is the Internet?

    A world-wide network of networks.

    The whole thing started in the late 1960s when the

    US Government through its Advanced Research

    Project Agency (ARPA) decided to set up contractwork with universities and corporate research

    community representatives to interconnect world-

    wide computers in a single network.

    In 1969 the first internetwork (ARPANET) occurredwith 4 nodes using routing devices that allowed data

    packet deliveries between otherwise incompatible

    computers.

  • 8/6/2019 DCET CCn 3 Internetworking

    13/33

    OSI Reference Model

    Application

    Presentation

    Session

    Transport

    Network

    Datalink

    Physical

  • 8/6/2019 DCET CCn 3 Internetworking

    14/33

    Open Systems Interconnection

    (OSI) Reference Model

    y The Open Systems Interconnection ( OSI ) reference

    model describes how information from a software

    application in one computer moves through a network

    medium to a software application in another computer.

    y The OSI reference model is a conceptual model

    composed of seven layers, each specifying particular

    network functions.

    y The model was developed by the International

    Organization for Standardization (ISO) in 1984, and it is

    now considered the primary architectural model for

    intercomputer communications.

  • 8/6/2019 DCET CCn 3 Internetworking

    15/33

    Protocols

    y The OSI model provides a conceptual framework

    for communication between computers, but the

    model itself is not a method of communication.

    Actual communication is made possible by using

    communication protocols.

    yA protocol is a formal set of rules and conventions

    that governs how computers exchange information

    over a network medium.

    y A protocol implements the functions of one or

    more of the OSI layers.

  • 8/6/2019 DCET CCn 3 Internetworking

    16/33

    Headers and data can be

    encapsulated during information

    exchange.

  • 8/6/2019 DCET CCn 3 Internetworking

    17/33

    Physical Layer

    The Physical Layerdescribes the physical

    properties of the various communications media,

    as well as the electrical properties and

    interpretation of the exchanged signals. Ex: thislayer defines the size of Ethernet coaxial cable,

    the type of BNC connector used, and the

    termination method.

    Electrical - Signals specifications and properties,

    Electrical Properties (impedance)

    Mechanical - Physical Media dimensions,

    Connectors

  • 8/6/2019 DCET CCn 3 Internetworking

    18/33

    Datalink Layer

    y The data link layer provides

    y physical addressing

    Physical addressing as opposed to network addressing defines how

    devices are addressed at the data link layer.,

    y network topology,

    Network topology consists of the data-link layer specifications that

    often define how devices are to be physically connected, such as in

    a bus or a ring topology

    y error notification, Error notification alerts upper-layer protocols that a transmission

    error has occurred

  • 8/6/2019 DCET CCn 3 Internetworking

    19/33

    sequencing of frames

    The sequencing of data frames reorders frames that are

    transmitted out of sequence

    flow control.

    flow control moderates the transmission of data so that the

    receiving device is not overwhelmed with more traffic than it can

    handle at one time.

    The Institute of Electrical and Electronics Engineers (IEEE) hassubdivided the data-link layer into two sublayers: Logical Link

    Control (LLC) and Media Access Control (MAC)

  • 8/6/2019 DCET CCn 3 Internetworking

    20/33

    Network Layer

    y The network layer provides routing and related

    functions that enable multiple data links to be

    combined into an internetwork. This is

    accomplished by the logical addressing as

    opposed to the physical addressing of devices.

    y The network layer supports both connection-

    oriented and connectionless service from higher-

    layer protocols.

    y Some Examples include Border Gateway Protocol(BGP); Open Shortest Path First (OSPF); and

    Routing Information Protocol (RIP),

  • 8/6/2019 DCET CCn 3 Internetworking

    21/33

    Transport Layer

    y The transport layer implements reliable

    internetwork data transport services that are

    transparent to upper layers.

    y

    Transport-layer functions typically includey flow control

    Flow control manages data transmission between

    devices so that the transmitting device does not send

    more data than the receiving device can process.

  • 8/6/2019 DCET CCn 3 Internetworking

    22/33

    ymultiplexing,

    Multiplexing enables data from several applications tobe transmitted onto a single physical link.

    y virtual circuit management,

    Virtual circuits are established, maintained, and

    terminated by the transport layer.

    y error checking and recovery.

    Error checking involves creating various mechanisms

    for detecting transmission errors, while error recovery

    involves taking an action, such as requesting thatdata be retransmitted, to resolve any errors that

    occur.

  • 8/6/2019 DCET CCn 3 Internetworking

    23/33

    Basic difference between this layer and lower

    layers is that it provides an end-to-end reliable

    transfer of data packet

    Some examples are Transmission Control

    Protocol,(TCP) is the protocol in the TCP/IP suite

    that provides reliable transmission of data.

    UDP Connectionless protocol

  • 8/6/2019 DCET CCn 3 Internetworking

    24/33

    Session Layer

    Establishes, manages, and terminatesconnections (sessions) between applicationprocesses

    Gives a session service by tokenmanagement

    Responsible for check pointing recovery bysynchronization

    The Session Layer provides the means fortwo application layer entities to synchronizeand manage their data exchange.

  • 8/6/2019 DCET CCn 3 Internetworking

    25/33

    y Some examples of session-layer implementations

    include Zone Information Protocol (ZIP), the

    AppleTalk protocol; and Session Control Protocol

    (SCP),

  • 8/6/2019 DCET CCn 3 Internetworking

    26/33

    Presentation Layer

    y The presentation layer provides a variety of coding

    and conversion functions that are applied to

    application layer data.

    y . Some examples of presentation-layer coding andconversion schemes include

    y common data representation formats,

    y conversion of character representation

    formats ,such as EBCDIC and ASCII

  • 8/6/2019 DCET CCn 3 Internetworking

    27/33

    y common data compression schemes, ,such as Some well-known standards for video

    include QuickTime and Motion (MPEG). For the

    graphic image formatsar

    e Graphics InterchangeFormat (GIF), Joint Photographic Experts Group

    (JPEG), and Tagged Image File Format (TIFF).

    y common data encryption schemes.

  • 8/6/2019 DCET CCn 3 Internetworking

    28/33

    Application Layer

    y The application layer is the OSI layer closest to the

    end user, which means that both the OSI

    application layer and the user interact directly with

    the software application.

    Two key types of application-layer implementations are

    y TCP/IP applications

    TCP/IP applications are protocols, such as Telnet, File

    Transfer Protocol (FTP), and Simple Mail TransferProtocol (SMTP)

  • 8/6/2019 DCET CCn 3 Internetworking

    29/33

    Networking Devices

    Hubs, Repeaters, Concentrators

    Switches, Bridges

    Routers

  • 8/6/2019 DCET CCn 3 Internetworking

    30/33

    Repeaters ,Bridges, Switches

    and Routers

  • 8/6/2019 DCET CCn 3 Internetworking

    31/33

    Repeaters

    Operate at the Physical Layer

    Attempt to forward all Frames

    Error Frames will be forwarded

    Collision domains are not isolated Broadcast domains are not isolated

    A repeater receives and then immediatelyretransmits each bit.

    A repeater has no memory and does not dependon any particular protocol. It duplicateseverything, including the collisions.

  • 8/6/2019 DCET CCn 3 Internetworking

    32/33

    Bridges

    A bridge is a device which has two or more

    ports which can be connected to a variety of

    media types, and provides a mechanism for

    the filtering and forwarding of data framesamong the ports while building one large

    logical network.

    Operate at the Data Link Layer

    Selectively forwards frames Error Frames will not be forwarded

    Collision domains are isolated

    Broadcast domains are not isolated

  • 8/6/2019 DCET CCn 3 Internetworking

    33/33

    Routers

    Operate at the Network Layer

    Selectively forwards frames

    Error Frames will not be forwarded Collision domains are isolated

    Broadcast domains are isolated

    Protocols can be Filtered Has an effect on MAC Addresses but no

    effect on Network Addresses