Chapter 1
Chapter 1
1
Outline
ꙮ Introduction
ꙮ Need of Computer Network
ꙮ Communications model
ꙮ Categories of Networks and
Internetworks
ꙮ Network Topologies
ꙮ Networks, Protocols and Standards
2
Introduction
Data communication
Deals with the transmission of signals in a reliable and
efficient manner.
Are the exchange of data between two devices via some form
of transmission medium such as a wire cable.
• When we communicate, we are sharing information. This
sharing can be local or remote. Between individuals, local
communication usually occurs face to face, while remote
communication takes place over distance.
3
Cont…
The effectiveness of a data communications system depends on
the following fundamental characteristics
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.
Timeliness : The system must deliver data in a timely manner.
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.
Jitter: Jitter refers to the variation in the packet arrival time. It
is the uneven delay in the delivery of audio or video packets.
4
Cont…
Data Flow
Communication between two devices
can be simplex, half-duplex, or full-duplex
as shown in below.
Simplex: the communication is
unidirectional as on a one-way street.
Only one of the two devices on a link can
transmit the other can only receive.
Monitor
Half-Duplex: each station can both
transmit and receive but not at the same
time. When one device is sending the
other can only receive and vice versa.
Walkie-talkies
Full-Duplex: it is also called duplex both
stations can transmit and receive
simultaneously. Telephone 5
Cont…
What is a computer network?
Computer network is a system in which a number of independent
computers are linked together to share data.
A collection of computing devices that are connected in various
ways in order to communicate and share resources.
Usually, the connections between computers in a network are
made using physical wires or cables
However, some connections are wireless, using radio waves or
infrared signals.
6
Why Networking?
• Sharing information — i.e. data communication
• Or this?
7
• Sharing hardware or software
8
Need of computer networks
1. Resource sharing
2. Means of communication
• E-mail
• Videoconferencing
• Chatting
• E-commerce
• Game
3. Centralizing administration and support
• Database
• Banks
9
Communications model
Message
Information or data to be communicated
Can be text, numbers video or any combination of
these
In short anything that can be represented using
binary bits
Sender
Device that sends the data message
Can be computer, work station, video camera etc
10
Cont…
Receiver
Medium
12
Categories of Networks and Internetworks
There are three types of network:
1. Local Area Network (LAN)
2. Wide Area Network (WAN)
3. Metropolitan Area Network (MAN)
13
Contd.
• Local-area network (LAN) A network that
connects a relatively small number of machines
in a relatively close geographical area.
• Small network, short distance
• A room, a floor, a building
• Limited by no. of computers and distance covered
• Usually one kind of technology throughout the LAN
• Serve a department within an organization
• Examples:
• Network inside the Student Computer Room
• Network inside your home
14
LAN (cont)
Client Client
Client Client
Client Client
15
LAN(contd. )
• A LAN covers a
small area
such as one
site or building,
• eg a school or
a college.
16
Contd.
• Wide-area network (WAN) A network that connects two or more
local-area networks over a potentially large geographic distance
-Often one particular node on a LAN is set up to serve as a gateway to
handle all communication going between that LAN and other networks
• Wide Area Network (WAN) is a computer network that covers a
broad area (i.e., any network whose communications links cross
metropolitan, regional, or national boundaries). Or, less formally,
a network that uses routers and public communications links
• The largest and most well-known example of a WAN is the
Internet.
17
WAN (cont)
18
WAN(contd. )
• A WAN covers a large
geographical area. Most
WANs are made from
several LANs connected
together.
21
Peer-to-Peer Networks
• Peer-to-peer network is also called workgroup
• No hierarchy among computers all are equal
• No administrator responsible for the network
Peer-to-peer
22
• Advantages of peer-to-peer networks:
• Low cost
• Simple to configure
• User has full accessibility of the computer
25
Network topology(contd.)
• Bus topology All nodes are connected to a single
communication line that carries messages in both
directions
• Simple and low-cost
• A single cable called a trunk (backbone, segment)
• Only one computer can send messages at a time
• This topology uses the least amount of cabling, but
also covers the shortest amount of distance.
26
Contd.
The Bus (or line) Network:
Computers are
connected like bus
stops on a main road.
None of them is
more important than
any of the others.
27
Contd.
28
Contd.(Network topology)
• Star topology A configuration that centers around
one node to which all others are connected and
through which all messages are sent.
• Each computer has a cable connected to a
single point
• More cabling, hence higher cost
• All signals transmission through the hub; if
down, entire network down
• Depending on the intelligence of hub, two or
more computers may send message at the
same time
29
Contd.
The Star Network:
Computers are
connected like a
star to a central
computer such as
a mainframe. This
is also called the
“host” computer.
30
• Star Topology
31
The Star Network:
Advantages: Disadvantages:
•If a cable fails, it will only •It is more expensive as it
affect one workstation. uses the most cabling.
•More computers can be •Failure of the central
added without disruption. computer will stop the
network from working.
32
Contd.
• Ring topology A configuration that connects all
nodes in a closed loop on which messages travel in
one direction.
• Each entity participating in the ring reads a message,
then regenerates it and hands it to its neighbor on a
different network cable.
• Token passing
• only the computer who gets the token can send
data
33
Contd.
34
• Ring Topology
35
The Ring Network:
Advantages: Disadvantages:
•They are cheap to expand. •If there are a lot of users on the
network, it could slow down as
•The data flows around the
all the data is sent along a
network in one direction so it is
single line.
fast.
•If one computer in the ring
•There is no reliance on a
stops working, the whole
central computer.
network stops.
36
Contd.
Mesh topology
• The mesh topology is the simplest logical topology in
terms of data flow, but it is the most complex in terms
of physical design.
• In this physical topology, each device is connected to
every other device.
• This topology is rarely found in LANs, mainly because
of the complexity of the cabling.
37
Network topology (cont.)
• Mesh Topology
38
Advantage and Disadvantage
• Advantages of Mesh topology
1) Data can be transmitted from different devices
simultaneously. This topology can withstand high traffic.
2) Even if one of the components fails there is always an
alternative present. So data transfer doesn’t get affected.
3) Expansion and modification in topology can be done
without disrupting other nodes.
39
• Disadvantages of Mesh topology
1) There are high chances of redundancy in many of the
network connections.
2) Overall cost of this network is too high as compared to
other network topologies.
3) Set-up and maintenance of this topology is very difficult.
Even administration of the network is tough.
40
Protocols
• In computer networks, communication occurs between entities in
different systems. An entity is anything capable of sending or
receiving information. However, two entities can not simply send bit
streams to each other and expect to be understood. For
communication to occur, the entities must agree on a protocol.
• A protocol is a set of rules that govern data communications.
• A protocol defines what is communicated, how it is communicated,
and when it is communicated.
• The key elements of a protocol are:
• o Syntax. is the structure or format of the data
• o Semantics. Is the meaning of each section of bits. How is a
particular pattern to be interpreted, and what action is to be taken
based on that interpretation?
• o Timing. Is when data should be sent and how fast they can be sent.
41
Standards
• Standards are agreed-upon rules
• Standards are essential in creating and maintaining an open and
competitive market for equipment manufacturers and in guaranteeing
national and international interoperability of data and
telecommunications technology and processes.
Data communication standards fall into two categories:
De facto (by fact or by convention):standards that have not been approved
by an organized body but have been adopted as a standard through
widespread use.De jure (by law or by regulation):standards that have
legislated by an officially recognized body.
42
Standards organizations
1. American National Standards Institute (ANSI)
Official Standards organization in the United States
It is completely private, nonprofit corporation
2. Electronic Industries Association(EIA)
It is nonprofit organization developed to the promotion of electronics
manufacturing concerns
Made significant contributions on information technology by defining
physical connection
3. Institute of Electrical and Electronic Engineering(IEEE)
Very active in the development of data communications standards
Publishes several key networking standards in particular IEEE 802.3
IEEE is pronounced eye-tripe-E 43
Review questions
1. What are the characteristics of data communication?
2. What are the components of a data communication system?
3. Define computer network and categorize.
4. Explain protocols in details
44
End of chapter 1
45