Computer Networks
Lecture 1
Introduction to
Network
Lecture Outlines
1
 Data communication
Components of a data
communication system
Data flow
Topologies of networks
Categories of networks
Data Communication
 The term telecommunication means communication at a
distance.
 Data communications are the exchange of data between two
devices via some form of transmission medium such as a wire
cable, or microwave.
 A data communications system must transmit data to the
correct destination in an accurate and timely manner
3
Components of Data Communications
 The five components that make up a data communications
system are the message, sender, receiver, medium, and
protocol.
 Text, numbers, images, audio, and video are different forms of
information.
4
5
Elements of Data Communication
1. Sender:
The computer or device that is used for sending data is called
sender, source or transmitter. In modern digital communication
system, the source is usually a computer.
2. Medium:
The means through which data is sent from one location to
another is called transmission medium. If the receiver and
transmitter are within a building, a wire connects them. If they are
located at different locations, they may be connected by telephone
lines, fiber optics or microwaves.
6
Elements of Data Communication
3. Receiver:
The device or computer that receives the data is called receiver.
The receiver can be a computer, printer or a fax machine.
4. Protocols:
There are rules under which data transmission takes place
between sender and receiver. The data communication s/w are
used to transfer data from one computer to another. The s/w
follows same communication protocols can communicate and
exchange data.
7
Elements of Data Communication
 Delivery.
The system must deliver data to the correct destination. Data must
be received by the intended device or user and only by that device
or user.
 Accuracy.
The system must deliver the data accurately. Data that have been
altered in transmission and left uncorrected are unusable.
8
Elements of Data Communication
 Timeliness.
The system must deliver data in a specific time. Data delivered late
are useless.
 In the case of video and audio, timely delivery means delivering
data as they are produced, in the same order that they are
produced, and without significant delay. This kind of delivery is
called real-time transmission.
Data Flow
 Data flow between two devices can occur in one of three
ways:
 simplex,
 half-duplex,
 full-duplex.
9
10
1. Simplex:
 Data is transmitted in only one direction. A terminal can only
send data and cannot receive it.
 Simplex mode is usually used for a remote device that is meant
only to receive data. It is not possible to confirm successful
transmission of data in simplex mode.
 e.g. Speaker, radio and television broadcasting are examples of
simplex transmission, on which the signal is send from the
transmission to your TV antenna. There is no return signal.
Data Flow
11
2. Half duplex:
 In half duplex mode, data can be transmitted in both directions
but only in one direction at a time.
 During any transmission, one is the transmitter and the other is
receiver.
 So each time for sending or receiving data, direction of data
communication is reversed, this slow down data transmission
rate.
Data Flow
12
3. Full duplex.
 In full mode, data can be transmitted in both directions
simultaneously (at the same time).
 It is a faster mode for transmitting data because no time wastes
in switching directions.
Data Flow
Networks
 A network is a set of devices (referred to nodes) connected by
communication links.
 A node can be a computer, printer, or any other device capable
of sending and/or receiving data generated by other nodes on
the network.
13
Connection Types
 point-to-point connection,
 Only two devices are connected by a link.
 Point-to-point networks contains exactly two hosts
(computer or switches or routers or servers) connected back
to back using a single piece of cable.
 The receiving end of one host is connected to sending to the
other end and vice-versa.
14
Connection Types
 Multi-Point connection,
 Three or more devices share a link.
15
Categories of topology
 Topology is the physical or logical arrangement of a network.
 Devices may be arranged in a mesh, star, bus, or ring
topology.
16
A fully Connected - Mesh Topology
17
 A host is connected to one, two or more than two hosts.
 This topology may have hosts having point-to-point connection
to every other hosts or may also have hosts which are having
point to point connection to few hosts only.
18
 Advantages
 Each node has the possibility to transmit data from one node
to many other nodes at the same time.
 The failure of a single node does not cause the entire network
to fail as there are alternate paths for data transmission.
 It can handle heavy traffic.
 Point-to-point contact between every pair of nodes, makes it
easy to identify faults
Advantages and Disadvantages of Mesh Network
19
 Disadvantages
 Every network node is connected to every other node of the
network. This leads to redundancy of many network
connections.
 A lot of cabling is required. Thus, the costs incurred in setup
and maintenance are high.
 The complexity, the administration of a mesh network is
difficult.
Advantages and Disadvantages of Mesh Network
A star Topology
20
 All hosts in star topology are connected to a central device,
known as Hub device, using a point-to-point connection.
 Hosts and Hubs use point to point connection.
21
 Advantages
 Due to its centralization, the topology offers simplicity of
operation and it is easy to detect faults in the network devices.
 It achieves isolation of each device in the network.
 Adding or removing network nodes is easy, and can be done
without affecting the entire network.
 As the analysis of traffic is easy, the security risk can be
discovered.
 Data packets do not have to pass through many nodes.
Advantages and Disadvantages of Star Network
22
 Disadvantages
 Network operation depends on the functioning of the central hub.
Hence, central hub failure leads to failure of the entire network.
 Also, the number of nodes that can be added, depends on the
capacity of the central hub.
 The setup cost is quite high.
Advantages and Disadvantages of Star Network
A bus Topology
23
 In contrast to point-to-point, in bus topology all device share
single communication line or cable.
 All devices are connected to this shared line.
 Bus topology may have problem while more than one hosts
sending data at the same time.
24
Advantages and Disadvantages of Bus Network
 Advantages
 It is easy to set up, handle, and implement.
 It is best-suited for small networks.
 It costs very less.
25
 Disadvantages
 The cable length is limited. This limits the number of network
nodes that can be connected.
 It works well only for a limited number of nodes. When the
number of devices connected to the bus increases, the
efficiency decreases.
 It is heavily dependent on the central bus. A fault in the bus
leads to network failure.
 It is not easy to isolate faults in the network nodes.
 Each device on the network "see" all the data being
transmitted, thus posing a security risk.
A ring Topology
26
 Each host machine connects to exactly two other machines,
creating a circular network structure.
 When one host tries to communicate or send message to a host
which is not adjacent to it, the data travels through all
intermediate hosts.
27
 Advantages
 The data being transmitted between two nodes passes
through all the intermediate nodes.
 The traffic is uni-directional and the data transmission is high-
speed.
 In comparison to a bus, a ring is better at handling load.
 The adding or removing of network nodes is easy, as the
process requires changing only two connections.
 The configuration makes it easy to identify faults in network
nodes.
 Each node has the opportunity to transmit data.
 It is less costly than a star topology.
Advantages and Disadvantages of Ring Network
28
 Disadvantages
 The failure of a single node in the network can cause the entire
network to fail.
 Data sent from one node to another has to pass through all the
intermediate nodes. This makes the transmission slower in
comparison to that in a star topology. The transmission speed
drops with an increase in the number of nodes.
 There is heavy dependency on the wire connecting the
network nodes in the ring.
Advantages and Disadvantages of Ring Network
Categories of networks
 A network can be categorized as :
 A local area network (LAN),
 A metropolitan-area network (MAN),
 A wide area network (WAN).
29
LAN
30
 A LAN is a data communication system within a building,
plant, or campus, or between nearby buildings.
 Covers distance up to 100-1000meters.
31
LAN
WANs: A switched WAN and a point-to-
point WAN
 A WAN is a data communication system spanning states, countries, or the
whole world.
 Covers distance up to 1000 kilo-meters and also goes up to 100km.
32
MAN
33
 A MAN is a data communication system covering an area the size of a town or
city.
 MAN occupies coverage in between LANs and WANs. MAN has distance coverage
and data rate higher than LAN, but less than WAN.
 A typical example of MAN is Local Cable TV system.
34
Thanks
Questions

1-Lect_1.pptxLecture 5 array in PHP.pptx

  • 1.
  • 2.
    Lecture Outlines 1  Datacommunication Components of a data communication system Data flow Topologies of networks Categories of networks
  • 3.
    Data Communication  Theterm telecommunication means communication at a distance.  Data communications are the exchange of data between two devices via some form of transmission medium such as a wire cable, or microwave.  A data communications system must transmit data to the correct destination in an accurate and timely manner 3
  • 4.
    Components of DataCommunications  The five components that make up a data communications system are the message, sender, receiver, medium, and protocol.  Text, numbers, images, audio, and video are different forms of information. 4
  • 5.
    5 Elements of DataCommunication 1. Sender: The computer or device that is used for sending data is called sender, source or transmitter. In modern digital communication system, the source is usually a computer. 2. Medium: The means through which data is sent from one location to another is called transmission medium. If the receiver and transmitter are within a building, a wire connects them. If they are located at different locations, they may be connected by telephone lines, fiber optics or microwaves.
  • 6.
    6 Elements of DataCommunication 3. Receiver: The device or computer that receives the data is called receiver. The receiver can be a computer, printer or a fax machine. 4. Protocols: There are rules under which data transmission takes place between sender and receiver. The data communication s/w are used to transfer data from one computer to another. The s/w follows same communication protocols can communicate and exchange data.
  • 7.
    7 Elements of DataCommunication  Delivery. The system must deliver data to the correct destination. Data must be received by the intended device or user and only by that device or user.  Accuracy. The system must deliver the data accurately. Data that have been altered in transmission and left uncorrected are unusable.
  • 8.
    8 Elements of DataCommunication  Timeliness. The system must deliver data in a specific time. Data delivered late are useless.  In the case of video and audio, timely delivery means delivering data as they are produced, in the same order that they are produced, and without significant delay. This kind of delivery is called real-time transmission.
  • 9.
    Data Flow  Dataflow between two devices can occur in one of three ways:  simplex,  half-duplex,  full-duplex. 9
  • 10.
    10 1. Simplex:  Datais transmitted in only one direction. A terminal can only send data and cannot receive it.  Simplex mode is usually used for a remote device that is meant only to receive data. It is not possible to confirm successful transmission of data in simplex mode.  e.g. Speaker, radio and television broadcasting are examples of simplex transmission, on which the signal is send from the transmission to your TV antenna. There is no return signal. Data Flow
  • 11.
    11 2. Half duplex: In half duplex mode, data can be transmitted in both directions but only in one direction at a time.  During any transmission, one is the transmitter and the other is receiver.  So each time for sending or receiving data, direction of data communication is reversed, this slow down data transmission rate. Data Flow
  • 12.
    12 3. Full duplex. In full mode, data can be transmitted in both directions simultaneously (at the same time).  It is a faster mode for transmitting data because no time wastes in switching directions. Data Flow
  • 13.
    Networks  A networkis a set of devices (referred to nodes) connected by communication links.  A node can be a computer, printer, or any other device capable of sending and/or receiving data generated by other nodes on the network. 13
  • 14.
    Connection Types  point-to-pointconnection,  Only two devices are connected by a link.  Point-to-point networks contains exactly two hosts (computer or switches or routers or servers) connected back to back using a single piece of cable.  The receiving end of one host is connected to sending to the other end and vice-versa. 14
  • 15.
    Connection Types  Multi-Pointconnection,  Three or more devices share a link. 15
  • 16.
    Categories of topology Topology is the physical or logical arrangement of a network.  Devices may be arranged in a mesh, star, bus, or ring topology. 16
  • 17.
    A fully Connected- Mesh Topology 17  A host is connected to one, two or more than two hosts.  This topology may have hosts having point-to-point connection to every other hosts or may also have hosts which are having point to point connection to few hosts only.
  • 18.
    18  Advantages  Eachnode has the possibility to transmit data from one node to many other nodes at the same time.  The failure of a single node does not cause the entire network to fail as there are alternate paths for data transmission.  It can handle heavy traffic.  Point-to-point contact between every pair of nodes, makes it easy to identify faults Advantages and Disadvantages of Mesh Network
  • 19.
    19  Disadvantages  Everynetwork node is connected to every other node of the network. This leads to redundancy of many network connections.  A lot of cabling is required. Thus, the costs incurred in setup and maintenance are high.  The complexity, the administration of a mesh network is difficult. Advantages and Disadvantages of Mesh Network
  • 20.
    A star Topology 20 All hosts in star topology are connected to a central device, known as Hub device, using a point-to-point connection.  Hosts and Hubs use point to point connection.
  • 21.
    21  Advantages  Dueto its centralization, the topology offers simplicity of operation and it is easy to detect faults in the network devices.  It achieves isolation of each device in the network.  Adding or removing network nodes is easy, and can be done without affecting the entire network.  As the analysis of traffic is easy, the security risk can be discovered.  Data packets do not have to pass through many nodes. Advantages and Disadvantages of Star Network
  • 22.
    22  Disadvantages  Networkoperation depends on the functioning of the central hub. Hence, central hub failure leads to failure of the entire network.  Also, the number of nodes that can be added, depends on the capacity of the central hub.  The setup cost is quite high. Advantages and Disadvantages of Star Network
  • 23.
    A bus Topology 23 In contrast to point-to-point, in bus topology all device share single communication line or cable.  All devices are connected to this shared line.  Bus topology may have problem while more than one hosts sending data at the same time.
  • 24.
    24 Advantages and Disadvantagesof Bus Network  Advantages  It is easy to set up, handle, and implement.  It is best-suited for small networks.  It costs very less.
  • 25.
    25  Disadvantages  Thecable length is limited. This limits the number of network nodes that can be connected.  It works well only for a limited number of nodes. When the number of devices connected to the bus increases, the efficiency decreases.  It is heavily dependent on the central bus. A fault in the bus leads to network failure.  It is not easy to isolate faults in the network nodes.  Each device on the network "see" all the data being transmitted, thus posing a security risk.
  • 26.
    A ring Topology 26 Each host machine connects to exactly two other machines, creating a circular network structure.  When one host tries to communicate or send message to a host which is not adjacent to it, the data travels through all intermediate hosts.
  • 27.
    27  Advantages  Thedata being transmitted between two nodes passes through all the intermediate nodes.  The traffic is uni-directional and the data transmission is high- speed.  In comparison to a bus, a ring is better at handling load.  The adding or removing of network nodes is easy, as the process requires changing only two connections.  The configuration makes it easy to identify faults in network nodes.  Each node has the opportunity to transmit data.  It is less costly than a star topology. Advantages and Disadvantages of Ring Network
  • 28.
    28  Disadvantages  Thefailure of a single node in the network can cause the entire network to fail.  Data sent from one node to another has to pass through all the intermediate nodes. This makes the transmission slower in comparison to that in a star topology. The transmission speed drops with an increase in the number of nodes.  There is heavy dependency on the wire connecting the network nodes in the ring. Advantages and Disadvantages of Ring Network
  • 29.
    Categories of networks A network can be categorized as :  A local area network (LAN),  A metropolitan-area network (MAN),  A wide area network (WAN). 29
  • 30.
    LAN 30  A LANis a data communication system within a building, plant, or campus, or between nearby buildings.  Covers distance up to 100-1000meters.
  • 31.
  • 32.
    WANs: A switchedWAN and a point-to- point WAN  A WAN is a data communication system spanning states, countries, or the whole world.  Covers distance up to 1000 kilo-meters and also goes up to 100km. 32
  • 33.
    MAN 33  A MANis a data communication system covering an area the size of a town or city.  MAN occupies coverage in between LANs and WANs. MAN has distance coverage and data rate higher than LAN, but less than WAN.  A typical example of MAN is Local Cable TV system.
  • 34.