dc-lec-03 & 04 (physical structure of network)

Upload: tabby919

Post on 06-Apr-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    1/44

    DATA

    COMMUNICATION

    Lecture-3 & 4

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    2/44

    Recap of Lecture 2

    Key Data Communication Terminology

    Data Representation

    Data Flow/ Transmission Modes

    Networks and Why we need Them?

    Distributed Processing

    Network Criteria

    Network Applications

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    3/44

    Overview of Lecture 4 & 5

    Physical Structure of Network

    Line Configuration/ Type of Connection

    Topologies Categories of Topologies

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    4/44

    Physical Structures

    Type of Connection

    Topology

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    5/44

    Physical Structures

    Type of Connection Also refer as Line Configuration. Line Configuration refers to the way two or more devices

    attach to a link In a network two or more devices are connected through

    links. A link is a communications pathway that transfers data

    from one device to another. For communication to occur, two devices must be

    connected in some way to the same link at the same time. There are two possible types of connections:

    point-to-point and multipoint.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    6/44

    LINE CONFIGURATION

    SpatiallyShared TimeShared

    MultipointPoint-to-Point

    LineConfiguration

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    7/44

    Point-to-Point A point-to-point connection provides a dedicated link

    between two devices. Dedicated link between two devices. The entire capacity of the link is reserved for transmission

    between those two devices.

    Most point-to-point connections use an actual length ofwire or cable to connect the two ends, but other options,such as microwave or satellite links, are also possible.

    Data and control information pass directly between entitieswith no intervening agent. e.g. TV Remote Control, mobile phone when talking, Base station

    (Antenna)

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    8/44

    Point-to-Point Line Configuration

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    9/44

    Multipoint

    A multipoint (also called multi-drop) connectionis one in which more than two specific devicesshare a single link.

    Capacity (bandwidth) of the link is shared.

    Spatial sharing Multiple devices share the link simultaneously.

    Temporal (Time) sharing User uses the link only at their time slot.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    10/44

    Multipoint Line Configuration

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    11/44

    Topology

    The Topology is the geometric

    representation of the relationship of

    the links and linking devicesOR

    Topology defines physical or logical

    arrangement of links in a Network

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    12/44

    Topology (Cont.)

    The ways in which the wires can be

    run in the network to link with the

    computer.The ways in which the connections

    are made in the network.

    Simply The physical layout of the

    network.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    13/44

    Categories of Topology

    Topology

    Mesh Star Tree Bus Ring

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    14/44

    Bus Topology

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    15/44

    Bus Topology (Cont.)

    STRUCTURE

    A bus topology, is multipoint.

    One long cable acts as a backbone to link all the devices in anetwork.

    Nodes are connected to the bus cable by drop lines and taps.

    A drop line is a connection running between the device and themain cable.

    A tap is a connector that either splices into the main cable orpunctures the sheathing of a cable to create a contact with themetallic core.

    As a signal travels along the backbone, some of its energy istransformed into heat. Therefore, it becomes weaker and weakeras it travels farther and farther. For this reason there is a limit onthe number of taps a bus can support and on the distancebetween those taps.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    16/44

    Bus Topology (Cont.)

    In a bus network every workstation needs

    BNC Barrel Connectors

    T-Connectors

    Terminators

    NIC.

    T-Connectors are used to provide connection from the bus link to a

    workstation.

    NIC (Network Interface Card) is used to link a workstation with the

    network.

    Barrel Connectors are used to connect two parts of a cable either broken

    or when additional wire is required.

    Terminators are used for Termination purpose.

    Basically Thin Coaxial Cable is used in this topology.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    17/44

    Bus Topology (Cont.)

    USES

    It is often used when network installation is small,

    simply or temporary.

    Bus is apassive topology, i.e. no active electron is used to amplify the signal.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    18/44

    Bus Topology (Cont.)

    WORKING

    Broadcast network

    all the computers on the network receive the information, butonly one computer (the one with the address that matches

    the one encoded in the message) accepts the information.The rest disregards the message.

    Protocol used is CSMA/CD (Carrier Sense MultipleAccess with Collision Detection),

    i.e. only one device can transmit the data at a time. Morethan one signal introduces collision. It means if one computersends a signal over the bus; the other computer must wait forsome time.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    19/44

    Bus Topology (Cont.)

    Another important issue in bus network is

    termination. Without termination, when the

    signal reaches the end of the wire, it bounces back

    and travels back up the wire which makes thenetwork busy. To stop the bouncing signal, we

    attach terminators at either end of segment. The

    terminator absorbs the electrical energy and stops

    the reflection. Example

    Ethernet 10Base2, 10Base5,andARC Net.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    20/44

    Bus Topology (Cont.)

    ADVANTAGES

    popular because its working requirements are

    comparatively simple, and growth is accomplished

    easily and quickly.

    Easy to use and understand.

    It is reliable in small networks.

    Repeater can be used to extend the network. It requires least amount of cable.

    It is less expensive in cost.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    21/44

    Bus Topology (Cont.)

    DISADVANTAGES

    Heavy network traffic can slow the Bus, considerably(more collision, more waiting time).

    Each BNC Barrel connecter weakens the signals as itabsorbs energy for its own charge.

    Difficult to troubleshoot and maintain because ofcable break, loose connector, and malfunctioningcomputer.

    Single computer failure disturbs the whole network.

    Not a good choice for large organizations, because ofslow data traffic.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    22/44

    Mesh Topology

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    23/44

    Mesh Topology (Cont.)

    In a mesh topology, every device has a dedicatedpoint-to-point link to

    every other device.

    The term dedicated means that the link carries traffic only between the

    two devices it connects.

    Primarily used in networks that are mostly not LANs.

    Made up of multiple point to point connections.

    Mesh networks can get complicated very quickly, because many

    connections must be managed in a network of any size.

    Mesh topology have redundant links between devices.

    Each workstation is connected with a multi-port device like HUB thatbroadcasts the data.

    There are two types of Mesh, i.e.

    True Mesh

    Hybrid Mesh

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    24/44

    Mesh Topology (Cont.)

    TRUE MESH

    A true Mesh has a link between each device in thenetwork.

    It means that network is fully connected. A true mesh of six devices requires fifteen

    connections (5 x 6)/2 = 15 links and that for sevendevices requires 21 links.

    The formula for finding total links in a true mesh is[n * (n 1)] / 2, where n is total number ofworkstations.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    25/44

    Mesh Topology (Cont.)

    HYBRID MESH

    Hybrid Mesh has extra links but not fully

    connected. Most Mesh topology networks are

    Hybrid Mesh networks.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    26/44

    Links and Ports in Mesh

    Topology

    Number of Links required to connect n devices: n(n-1)/2

    Number of I/O Ports: n-1

    In figure above, we have 5 Nodes, therefore:

    No. of Links= 5(5-1)/2 = 10

    No. of I/O Ports= 5-1 = 4

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    27/44

    Mesh Topology (Cont.)

    ADVANTAGES

    Each dedicated connection can carry its own data

    load, thus eliminating the traffic problems.

    It is robust. If one link becomes unusable, it does

    not incapacitate the entire system.

    privacy or security. Physical boundaries prevent

    other users from gaining access to messages. Point-to-point links make fault identification and

    fault isolation easy.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    28/44

    Mesh Topology (Cont.)

    DISADVANTAGES

    Amount of cabling and the number of I/O ports

    required

    Installation and reconnection are difficult.

    The sheer bulk of the wiring can be greater than

    the available space (in walls, ceilings, or floors) can

    accommodate. The hardware required to connect each link (I/O

    ports and cable) can be prohibitively expensive.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    29/44

    Star Topology

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    30/44

    Star Topology (Cont.)

    Most commonly used network topology

    STRUCTURE

    Each device has a dedicated point-to-point link only to a

    central controller, usually called a hub or switch. The devices are not directly linked to one another.

    Unlike a mesh topology, a star topology does not allowdirect traffic between devices.

    The controller acts as an exchange: If one device wantsto send data to another, it sends the data to thecontroller, which then relays the data to the otherconnected device.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    31/44

    Star Topology (Cont.)

    WORKING

    Each computer on star network communicates

    with a Hub, that resend the message either to all

    computers which is called Broadcasting Star oronly to the destination node which is called

    Switched Star.

    Now-a-days most of Switched Star networks use

    Switches instead of Intelligent Hubs because

    switches are less expensive than Intelligent hubs.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    32/44

    Star Topology (Cont.)

    ADVANTAGES: Easy modification and expansion, without disturbing rest of the

    network.

    Single computer failure does not affect the whole network.

    Support of several cables types in the same network.

    Most flexible of the three topologies and easiest to diagnose.

    It is less expensive than a mesh topology.

    Each device needs only one link and one I/O port to connect itto any number of others.

    This factor also makes it easy to install and reconfigure.

    Far less cabling needed as compare to mesh topology.

    Robustness. If one link fails, only that link is affected. All otherlinks remain active. This factor also lends itself to easy faultidentification and fault isolation.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    33/44

    Star Topology (Cont.)

    DISADVANTAGES:

    Dependency of the whole topology on one single point, the hub. If thehub goes down, the whole system is dead.

    More cables are required as compare to Bus and Ring topology and alsoHub is expensive.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    34/44

    RING TOPOLOGY

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    35/44

    RING TOPOLOGY

    Each device has a dedicated point-to-point connectionwith only the two devices on either side of it.

    A signal is passed along the ring in one direction, fromdevice to device, until it reaches its destination.

    Each device in the ring incorporates a repeater. When adevice receives a signal intended for another device, itsrepeater regenerates the bits and passes them along

    Cable may be Coaxial with connectors or may be twistedpair with a HUB. Commonly Twisted Pair cable is used.

    There is no termination because there is no end to thering.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    36/44

    1.36

    RING TOPOLOGY

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    37/44

    RING TOPOLOGY

    Working For data transmission, medium access is required that is done by

    Token and the technique is known as Token Passing.

    Token is a short message that is passed around the ring until acomputer wishes to sends information to another computer, That

    computer modifies the token, adds an electronic address & data,and sends it around the ring.

    Each computer in sequence receives the token and theinformation and passes them to the next computer until either theelectronic address matches the address of a computer or the tokenreturns to its origin. The receiving computer returns a message tothe originator indicating that the message has been received. Thesending computer then creates the token and begins transmitting.The token circulates until a station is ready to send and capturesthe token.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    38/44

    RING TOPOLOGY

    This all happens very quickly, a token cancircle a ring 200 meters in diameter at about10,000 times a second. Some faster networks

    circulate several tokens at once. Transmitteddata moves in clockwise direction thereforethere is no chance of collision.

    Example: FDDIis a fast fiber-optic

    network based on the ring topology. Tokenring is another ring based network.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    39/44

    RING TOPOLOGY

    ADVANTAGES:

    It eliminates LANs depending on a centralcomputer by distributing some of the central

    systems responsibility to all the other connectedworkstation.

    Every workstation on the ring listens to see if thenetwork is clear before sending a message. This

    helps avoiding collision between the messages. The network degrades gracefully as more users we

    added i.e. the network doesnt failed.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    40/44

    RING TOPOLOGY

    DISADVANTAGES:

    Failure of one computer on the ring can affect the

    whole network.

    Also difficult to troubleshoot.

    Adding or removing nodes disturb the network.

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    41/44

    Tree Topology

    y y

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    42/44

    hybrid topology:a star backbone with three bus networks

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    43/44

    Summary

    Physical Structure of Network

    Line Configuration/ Type of Connection Topologies

    Categories of Topologies

  • 8/3/2019 DC-Lec-03 & 04 (Physical Structure of Network)

    44/44

    Suggested Reading

    Section

    1.2

    Data Communications and Networking 4th Edition byBehrouz A. Forouzan