Network Protocol and Architecture
Network Protocol and Architecture
Mekanisa campus
Department of computer sciences
By: Shewakena G.
Chapter 1
Data Communication and Computer Networking Basics
1.1 Definition of Data Communication
1.2. 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
Con…
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 Data communication:
Sender (source): Creates the message to be transmitted
Media: Carries the message e.g. UTP, Fiber, telephone line
Receiver (sink): Receives the message.
The sender and receiver in data communications are
usually computer terminals, peripheral devices like
printers, plotters, disks etc
Con…
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
In all the three cases, three basic elements can be identified.
The source (the sender)
The media (the channel)
The destination (the receiver)
Con…
Communication = source + transmitter + transmission
system + Receiver + Destination
Con…
Telecommunications:
Telecommunications means communication at a distance.
It refers to all types of data transmission from voice to
video.
Telecommunications technology embraces
radio waves travelling through the air or through space,
electrical waves flowing along a telephone wire, and
laser pulses travelling along optical fiber.
Telecommunications Services:
Telephone,cellular radio, telex, fax, voice mail,
teleconferencing, video conferencing, online digital
communication, etc
Con….
Assume conversation over a telephone line
Source: Data generator (person who talks)
Transmitter: transform + encode information
(telephone apparatus)
Transmission system: system connecting source and
destination (the telephone line)
Receiver: transform back to understandable form by
the destination (telephone apparatus)
Destination: Data receiver (person who listens)
1.1.3 Data Representation techniques
Information today comes in different format such as text,
number, audio and video.
1. Text: is represented as a bit pattern, a sequences of bits
(0s or 1s).
the number of bits in a pattern depends on the number of
symbols in language. For example:
English language uses 26 symbols uppercase (A, B, V….Z) and (a, b,
c…..z) lowercase.
10 symbols (0,1,2,3…..9) to represent numeric character.
Symbols (.., ?, !......%&) to represent sent punctuations.
2. Number: are also represented by using bit pattern.
A code such as ASCII is not represent number? Why?
Con…
3. Image: are also represent by bit pattern.
An image is divided into a matrix of pixel( picture elements),
where each pixel is not a small dot.
4. Audio: is represented of sound.
Audio By nature different form text, number or image.
Even when we use a microphone to change voice or music to
an electronic signal.
5. Video: can produced either as a continuous entity (e.g
by a TV camera, or it ca be a combination of image, each
a discrete entity, arranged to convey the idea of motion).
1.1.4 Digital Data Transmission formats
Data Encoding
Digital vs. Analog signal
In digital data communication (e.g. computer networks), source
data is digital (i.e. made up of 0’s and 1’s)
For the digital data to be transmitted in any transmission
system, it should be represented with an analog signal
Depending on the type of transmission system, data could
be represented in many forms.
Discrete signals: Signal levels restricted to predetermined
values. E.g. 0 & 5V (TTL logic)
Analog signals: Signal levels can attain any value in the
allowed range (voice signal)
Digital Modulation
Different types of representing data in discrete signals
(digital modulation)
Simple(None Return to Zero, NRZ): A high (or low) voltage
level is used to represent one logic level while a low (or high)
voltage level is used to represent the other
Return to Zero (RZ): One logic level is represented by a
voltage level going high and then returning to zero while
another is represented by a zero voltage
Manchester encoding: A self-clocking data encoding
technique. If a '0' is sent, a low to high transition occurs
halfway through the bit period; conversely if a '1' is sent, a high
to low transition occurs. There is at least one signal transition in
every bit.
Data representation in discrete signals
Analog Modulation
Analog carrier could also be made to vary according to the
data to be transmitted
Frequency modulation: the frequency of the carrier varies
according to the magnitude of the data
Amplitude Modulation: the amplitude of the carrier varies
according to the magnitude of the data
Data representation in analog signals
1.1.5 Transmission Impairments
There are 3 main causes of impairments:
1. Attenuation: is loss of energy that is weak of
signal.
2. Distortion: changing content of message
3. Noise: affecting the message due to unwanted
sound
Terminal noise
Intermediation noise
Cross talk
1.1.6 Modes of Data transmission
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
WAN
Is types of network which covers large
geographical area.
WAN is boundless.
It also call Internet(the mother of network).
Example : network among news agency
offices in different region of Ethiopia.
PAN
Wireless technologies have introduced a new term Wireless Personal Area Networks
(WPAN).
WPAN refers to the technologies involved in connecting devices in very close
proximity to exchange data or resources.
An example of this can be seen through connecting a laptop with a PDA to synchronize an
address book.
Because of their small size and the nature of the data exchange, WPAN devices lend
themselves well to ad hoc networking.
Ad hoc networks are those that have devices connect directly to each other and not
through a wireless access point.
Ad hoc wireless networks are discussed later in this chapter.
Because of the close proximity of WPAN networking, short-range wireless technologies are
typically used.
This includes Bluetooth and Infrared.
The key WPAN technology supported in Windows XP Professional, for example, is
Infrared Data Association (IrDA).
In addition, the IEEE wireless standards, including 802.11b/g, can be used to create
a WPAN.
Computer network Architecture Types
1. Peer-to-peer (P2P)
In a peer-to-peer network, there are no dedicated servers, and
there is no hierarchy among the computers.
All the computers are equal and therefore are known as peers.
Each computer functions as both a client and a server, and
there is no administrator responsible for the entire network.
The user at each computer determines what data on that
computer is shared on the network.
Both remote processes are executing at same level and they
exchange data using some shared resource.
Peer to peer network are also called Workgroup
Where a Peer-to-Peer Network Is Appropriate
In a peer-to-peer network, there are no dedicated servers,
and there is no hierarchy among the computers.
All the computers are equal and therefore are known as
peers.
Each computer functions as both a client and a server, and
there is no administrator responsible for the entire
network.
The user at each computer determines what data on that
computer is shared on the network.
Peer to peer network are also called Workgroup
Advantages and Disadvantages of peer to peer network
Sockets process:
In this paradigm, the process acting as Server opens a socket using a well-
known (or known by client) port and waits until some client request comes.
The second process acting as a Client also opens a socket; but instead of
waiting for an incoming request, the client processes ‘requests first’.
Star Topology
All computers are connected to a single hub
Signals are transmitted from the sending computer
through the hub to all computers on the network.
Advantages of of Star Topology
If one computer - or the cable that connects it to the hub -
fails on a star network, only the failed computer will not
be able to send or receive network data.
Easy to setup and modify
Easy to troubleshoot
Disadvantages of Star Topology
If hub fails then entire network will fail
Require more cables
May require a device to rebroadcast signals across the
network
Ring Topology
Every computer is connected to the next computer in the ring and
each transmits what it receives from the previous computer.
The messages flow around the ring in one direction.
Advantages
Transmitting network is not affected by high traffic or by adding
more nodes, as only the node having token can transmitted data
Disadvantages
Failure of one computer disturbs the whole network
Mesh Topology
A mesh topology network offers superior redundancy and
reliability.
In a mesh topology, each computer is connected to every
other computer by separate cabling.
This configuration provides redundant paths throughout
the network so that if one cable fails, another will take
over the traffic.
Mesh Topology Con…
Mesh technology comes into two types:
Full Mesh: All hosts have a point-to-point connection to
every other host in the network.
Thus, for every new host n(n-1)/2 connections are
required.
It provides the most reliable network structure among all
network topologies.
Partially Mesh: Not all hosts have point-to-point
connection to every other host.
Hosts connect to each other in some arbitrarily fashion.
This topology exists where we need to provide reliability
to some hosts out of all.
Advantage and Disadvantage of Mesh topology
An advantage of a mesh topology is its back-up
capabilities by providing multiple paths
through the network.
Disadvantage of Mesh topology
Because redundant paths require more cable
than is needed in other topologies, a mesh
topology can be expensive.
Tree Topology
Also known as Hierarchical Topology, this is the most common form of
network topology in use presently.
This topology imitates as extended Star topology and inherits
properties of Bus topology.
This topology divides the network into multiple levels/layers of
network.
The lowermost is access-layer where computers are attached. The
middle layer is known as distribution layer, which works as mediator
between upper layer and lower layer.
The highest layer is known as core layer, and is central point of the
network, i.e. root of the tree from which all nodes fork.
All neighboring hosts have point-to-
point connection between them.
Every connection serves as point of
failure, failing of which divides the
network into unreachable segment.
Hybrid Topology
It is a combination of two or more standard topologies
Star Bus
The star bus is a combination of the bus and star
topologies. In a star-bus topology, several star topology
networks are linked together with linear bus trunks.
If one computer goes down, it will not affect the rest of
the network.
The other computers can continue to communicate. If a
hub goes down, all computers on that hub are unable to
communicate.
Con…
Star Ring
The star ring (sometimes called a star-wired ring) appears
similar to the star bus. Both the star ring and the star bus are
centered in a hub that contains the actual ring or bus. Linear-
bus trunks connect the hubs in a star bus, while the hubs in a
star ring are connected in a star pattern by the main hub.
Selecting a topology
There are many factors to consider when deciding which
topology best suits the needs of an organization. The
following table provides some guidelines for selecting a
topology.
Network Transmission media
Transmission Medium is the physical path between
transmitter and receiver in a data communication system.
The characteristics and quality of data transmission are
determined both by the characteristics of the medium and
characteristics of the signal.
Classes of transmission media
Con…
Media of data transmission:
Guided Transmission media- Data transmission is through solid medium, cable (wired
system).
Unguided Transmission media– Data transmission through air /space, Antenna, vacuum, or
water (i.e. wireless system)
satellite
transponder
dish
dish
22,300 miles