Chapter One-introduction to Data communication and computer Networking
Chapter One-introduction to Data communication and computer Networking
04/25/25 1
1.1 What is a computer network?
04/25/25 4
Basics of Data Communication
Data transmission is the process of conveying data
between two points by way of a communication
medium. A wide variety of media are available :
Bounded media confine the data to specific physical
pathways. Common examples of bounded media are wire
and optical fiber cables.
unbounded media transmit the data-carrying signal through
space, independent of a cable. Broadcast radio and
television are examples of unbounded media
04/25/25 5
NOTE : Electrical cable types are frequently referred
to as “copper" because that metal is the most
frequently used conductor. You may hear fiber
optic cables called simply "fiber" or "glass".
Three Basic elements of any
communication Process:
Sender (source): Creates the message to be
transmitted
Media: Carries the message e.g. UTP, Fiber,
telephone line
Receiver (sink): Receives the message.
04/25/25 6
• The sender and receiver in data
communications are usually computer
terminals, peripheral devices like
printers, plotters, disks etc
04/25/25 7
The term communication can be defined as the
process of transferring messages between
entities. Based on what these two entities are,
there are three basic types of communication:
I. Human-to-Human
II. Computer-to-computer
III. Human-to-Computer
04/25/25 8
• In all the three cases, three basic
elements can be identified.
The source (the sender)
The media (the channel)
The destination (the receiver)
04/25/25 9
1.3 Fundamentals of Information
Transmission media and coding
• A message should first be encoded in such
a way that it can be transmitted through a
channel (medium), it is then transmitted,
and finally, it is decoded into a form that
can be understood by the destination at
the other end. This holds true for voice
communication, or data communication
04/25/25 10
Cont…
n
t i natio
Des
ding
Deco
n
sm issio
Tran
ding
Enco
d er
Se n
04/25/25 11
• Data communication involves transporting
data from one point to another. This is an
instance of computer-to-computer
communication, i.e., both the source and
the destination are computer devices, and
the transmission media may be telephone
lines, satellite links, microwave links, etc.
04/25/25 12
Transmission mode
Simplex :
Communication can take place in only one
direction like one-way traffic. Devices
connected to such a circuit are either a
send-only or a receive only device e.g., a
line printer. This is very inadequate
because the sender needs an
acknowledgement, control or error signal.
04/25/25 13
• HALF-DUPLEX: transmits data in both
directions but only in one direction at a
time. It can alternatively send and
receive data. It requires two wires. It is
good for voice communication because
only one person is supposed to speak at
a time.
04/25/25 14
Simplex
Sender Receiver
Half-duplex
Sender Receiver
(Sender )
(Receiver)
04/25/25 15
FULL DUPLEX:
It allows information to flow simultaneously in
both directions on the transmission path. It is
an advantage over half-duplex which requires
the lines to be turned-around each time the
direction is reversed and half duplex is
unacceptable in some applications which
require simultaneous transmission in both
directions.
Sender Receiver
and and
Receiver Sender
04/25/25 16
1.4: Network Topologies
04/25/25 17
• The following four types of physical topologies
are frequently used in computer networking:
1.Star 2. Bus 3. Ring 4. Hybrid
A LAN is a high-speed communications system
designed to link computers and other data
processing devices together within a small
geographic area such as a workgroup, department,
or a single floor of a multistory building. Several
LANs can also be interconnected within a building
or campus of buildings to extend connectivity.
04/25/25 18
1. Bus Topology
04/25/25 20
04/25/25 21
Benefits of Bus topology
04/25/25 22
2. Star Topology
In a star topology all stations are wired to
a central wiring concentrator called a
hub.
Similar to a bus topology, packets sent
from one station to another are
repeated to all ports on the hub. This
allows all stations to see each packet
sent on the network, but only the station
a packet is addressed to pays attention
to it.
04/25/25 23
The diagram illustrates a star topology LAN --
which is a more robust topology than the bus
topology. In a star topology, each station is
connected to a central wiring concentrator, or
hub, by an individual length of twisted pair
cable. The cable is connected to the station's NIC
at one end and to a port on the hub at the other.
The hubs are placed in wiring closets centrally
located in a building.
04/25/25 24
04/25/25 25
Advantages of Stars topology
04/25/25 26
Advantage cont…
The hub or switch is slightly more expensive
All data goes through the central point, which
can be equipped with diagnostic devices that
make it easy to trouble shoot and manage the
network.
Hierarchical organization allows isolation of
traffic on the channel.
04/25/25 27
Disadvantages of Star topology
04/25/25 28
3. Ring Topology
The ring topology is a physical, closed
loop consisting of point-to-point links.
In the diagram, you can see how each
node on the ring acts as a repeater. It
receives a transmission from the
previous node and amplifies it before
passing it on.
04/25/25 29
Benefits of Ring topology
Ring topology has the following advantage:
Each repeater duplicates the data signals so
that very little signal degradation occurs.
04/25/25 30
Disadvantages of Ring topology
Ring topology has the following disadvantages:
A break in the ring can disable the entire network.
Many ring designs incorporate extra cabling that
can be switched in if a primary cable fails.
Because each node must have the capability of
functioning as a repeater, the networking devices
tend to be more expensive.
04/25/25 31
4. Hybrid Topology
04/25/25 32
• The hybrid topology scheme combines multiple
topologies into one large topology. The hybrid
network is common in large wide-area
networks. Because each topology has its own
strengths and weaknesses, several different
types can be combined for maximum
effectiveness.
04/25/25 33
Benefits of Hybrid topology
04/25/25 34
Disadvantages of Hybrid topology
04/25/25 35
Host connectivity
A. Peer-to-Peer Networks
• This section covers peer-to-peer networks.
When LAN and WAN technologies are used,
many computers are interconnected to
provide services to their users. To accomplish
this, networked computers take on different
roles or functions in relation to each other.
Some types of applications require computers
to function as equal partners. Other types of
applications distribute their work so that one
computer functions to serve a number of
others in an unequal relationship.
04/25/25 36
• Two computers generally use request and
response protocols to communicate with each
other.
04/25/25 37
• One computer issues a request for a service, and a second
computer receives and responds to that request.
04/25/25 38
• In a peer-to-peer network:
• individual users control their own resources.
• The users may decide to share certain files with other
users.
• The users may also require passwords before they allow
others to access their resources. Since individual users
make these decisions, there is no central point of control
or administration in the network.
04/25/25 39
• Peer-to-peer networks are relatively easy to install and operate. No
additional equipment is necessary beyond a suitable operating
system installed on each computer. Since users control their own
resources, no dedicated administrators are needed.
04/25/25 41
04/25/25 42
-
04/25/25 43
04/25/25 44
• Servers are designed to handle requests from many
clients simultaneously.
• Before a client can access the server resources, the
client must be identified and be authorized to use the
resource.
• Each client is assigned an account name and password
that is verified by an authentication service.
• The authentication service guards access to the
network. With the centralization of user accounts,
security, and access control, server-based networks
simplify the administration of large networks.
04/25/25 45
• The concentration of network resources such as files, printers, and
applications on servers also makes it easier to back-up and maintain
the data.
• Resources can be located on specialized, dedicated servers for
easier access. Most client/server systems also include ways to
enhance the network with new services that extend the usefulness
of the network.
• The centralized functions in a client/server network has substantial
advantages and some disadvantages. Although a centralized server
enhances security, ease of access, and control
• it introduces a single point of failure into the network. Without an
operational server, the network cannot function at all.
• Servers require a trained, expert staff member to administer and
maintain. Server systems also require additional hardware and
specialized software that add to the cost
04/25/25 46
Advantages and Disadvantages of Peer-to-Peer and
Client/Server Networks
04/25/25 47
Advantage and disadvantage cont…
04/25/25 48
1.6: Basic Data Communication Hardware Devices
04/25/25 49
1.6: Basic Data Communication Hardware Devices
04/25/25 50
Devices cont…
04/25/25 51
1.6.1. NIC /Network Interface
Card/Adapter Card:
04/25/25 52
NIC cont…
• A NIC, or LAN adapter, provides network
communication capabilities to and from a PC.
• On desktop computer systems, it is a printed circuit
board that resides in a slot on the motherboard and
provides an interface connection to the network media.
• On laptop computer systems, it is commonly integrated
into the laptop or available on a small, credit card-sized
PCMCIA card.
– PCMCIA stands for Personal Computer Memory Card
International Association.
04/25/25 53
NIC cont…
• The function of a NIC is to connect a host
device to the network medium. A NIC is a
printed circuit board that fits into the
expansion slot on the motherboard or
peripheral device of a computer. The NIC is
also referred to as a network adapter. On
laptop or notebook computers a NIC is the
size of a credit card.
04/25/25 54
NIC and Modem Installation
• Modem – Modulator/Demodulator
– Used to convert data from digital to analog and vice versa
– Modems could be internal or external
– For dialup networking we use modems
• NICs must be installed before a PC can communicate with other
PCs on a network
• Situations that require NIC installation include the following:
– Installation of a NIC on a PC that does not already have one
– Replacement of a malfunctioning or damaged NIC
– Upgrade from a 10-Mbps NIC to a 10/100/1000-Mbps NIC
– Change to a different type of NIC, such as wireless
– Installation of a secondary, or backup, NIC for network security reasons
04/25/25 55
1.6.2. Hub
• Hubs are actually multi port repeaters
• Change the network topology from a linear bus
to a star
Three basic types:
1. Passive – no boost, no clean and no power
2. Active - needs power to amplify the incoming
signal
3. Intelligent - microprocessor chip and diagnostic
capabilities
04/25/25 56
1.6.3. Repeaters
57
04/25/25
1.6.4: Bridges
04/25/25 60
1.6.6: Router
A router is a special type of computer. It has the
same basic components as a standard desktop
PC.
It has a CPU, memory, a system bus, and various
input/output interfaces.
However, routers are designed to perform some
very specific functions that are not typically
performed by desktop computers. For example,
routers connect and allow communication
between two networks and determine the best
path for data to travel through the connected
networks. How does it achieve this task?
04/25/25 61
Router cont…
04/25/25 62