Network
Network
Most networks use distributed processing, in which a task is divided among multiple
computers. Instead of one single large machine being responsible for all aspects of a
process, separate computers (usually a personal computer or workstation) handle a
subset.
Network Criteria
A network must be able to meet a certain number of criteria. The most important of
these are performance, reliability, and security.
Performance
Performance can be measured in many ways, including transit time and response time.
Transit time is the amount of time required for a message to travel from one device to
another. Response time is the elapsed time between an inquiry and a response. The
performance of a network depends on a number of factors, including the number of users,
the type of transmission medium, the capabilities of the connected hardware, and the
efficiency of the software.
Reliability
In addition to accuracy of delivery, network reliability is measured by the frequency of
failure, the time it takes a link to recover from a failure, and the network's robustness in
a catastrophe.
Security
Network security issues include protecting data from unauthorized access, protecting
data from damage and development, and implementing policies and procedures for
recovery from breaches and data losses.
GOALS OF NETWORK
Resource Sharing :
This is the main aim of a computer network. It means to make all programs peripherals and
data available to any one computer on the network to all other computers in the network
without regard to the physical locations of them. Thus a user at a large distances can share
the resources or can see data of a computer in the same way that a local user uses them.
Another aspect of resource sharing is load sharing. That is if required, a job can be performed
using various computers in network by portioning it which reduces time consumption and load
both for a particular computer.
Cost Reduction :
Another goal of networking is reduction of cost. Resource sharing automatically reduces cost
and hence money can be saved. One more aspect is that the price of small computers is very
less as compared to main frames. Though main frames are roughly ten times faster as
compared to micro computers but even then the price to performance ration is much better for
small computers as compared to large computers. The large computer cost thousand times
more than small computers. Because of this imbalances more powerful personal computers
are developed and are able to share data and other resources kept on one or more shared file
server machines. Thus one goal of network is to do same job in minimum cost in terms of
money when is possible on large computers only which are very expansive.
Communication Medium :
The goal of a computer network is to provide a powerful communication medium among
widely separated people. It is easy for two or more people living far apart to work on same
project by portioning it using a network. They can make programs, can discuss or can even
write a report using a network while they are far off. Some times a change is required in some
data file or document. It is done on fine, others can see them immediately which is possible
only through network, otherwise they can have to wait for this several days through letter or
some other media. Thus it makes speedy co-operations and enhances human to human
communication.
Improve Performance :
The goal of a network is to improve accessibility as well as performance of a system. The
performance of a computer can be improved by adding one or more processors to it as the
work load on it grows. For example if the system is full instead of replacing it buy a larger one
at large expansive it is better to add more processors to it on less cost and less disruption to
the user. This improve both accessibility as well as performance of a system.
The Model
A widely accepted structuring technique, and the one chosen by ISO, is layering.
The communications functions are partitioned into a hierarchical set of layers.
Each layer performs a related subset of the functions required to communicate with
another system, relying on the next-lower layer to perform more primitive functions,
and to conceal the details of those functions, as it provides services to the
next higher layer. Ideally, the layers should be defined so that changes in one layer
do not require changes in the other layers. Thus, we have decomposed one problem into a
number of more manageable subproblems.
LAYERS IN THE OSI MODEL
Physical Layer
The physical layer coordinates the functions required to carry a bit stream over a physical
medium. It deals with the mechanical and electrical specifications of the interface and
transmission medium. It also defines the procedures and functions that physical devices
and interfaces have to perform for transmission to occur.
1. Physical characteristics of interfaces and medium. The physical layer defines the
characteristics of the interface between the devices and the transmission medium. It also
defines the type of transmission medium.
3. Data rate. The transmission rate-the number of bits sent each second-is also defined by
the physical layer. In other words, the physical layer defines the duration of a bit, which
is how long it lasts.
4. Synchronization of bits. The sender and receiver not only must use the same bit rate
but also must be synchronized at the bit level. In other words, the sender and
the receiver clocks must be synchronized.
2. Electrical. Relates to the representation of bits (e.g., in terms of voltage levels) and
the data transmission rate of bits.
Framing. The data link layer divides the stream of bits received from the network layer
into manageable data units called frames.
Flow control. If the rate at which the data are absorbed by the receiver is less than
the rate at which data are produced in the sender, the data link layer imposes a flow
control mechanism to avoid overwhelming the receiver.
Error control. The data link layer adds reliability to the physical layer by adding
mechanisms to detect and retransmit damaged or lost frames. It also uses a mechanism to
recognize duplicate frames. Error control is normally achieved through a
trailer added to the end of the frame.
Access control. When two or more devices are connected to the same link, data
link layer protocols are necessary to determine which device has control over the
link at any given time.
Network Layer
The network layer is responsible for the source-to-destination delivery of a packet,
possibly across multiple networks (links). Whereas the data link layer oversees the
delivery of the packet between two systems on the same network (links), the network
layer ensures that each packet gets from its point of origin to its final destination.
Transport Layer
The transport layer is responsible for process-to-process delivery of the entire mes-
sage. A process is an application program running on a host. Whereas the network layer
oversees source-to-destination delivery of individual packets, it does not recognize
any relationship between those packets. It treats each one independently, as though
each piece belonged to a separate message, whether or not it does. The transport layer,
on the other hand, ensures that the whole message arrives intact and in order, overseeing
both error control and flow control at the source-to-destination level.
In the TCPIIP protocol suite, there are two common transport-layer protocols: the
connection-oriented TCP (transmission control protocol) and the connectionless UDP
(user datagram protocol).
The lowest four layers of the OSI model provide the means for the reliable
exchange of data and provide an expedited data service. For many applications, this
basic service is insufficient. For example, a remote terminal access application might
require a half-duplex dialogue. A transaction-processing application might require
checkpoints in the data-transfer stream to permit backup and recovery. A message
processing application might require the ability to interrupt a dialogue in order to prepare
a new portion of a message and later to resume the dialogue where it was left off.
The session layer provides the mechanism for controlling the dialogue
between applications in end systems. In many cases, there will be little or no need for
session-layer services, but for some applications, such services are used.
Dialog control. The session layer allows two systems to enter into a dialog. It
allows the communication between two processes to take place in either half-
duplex (one way at a time) or full-duplex (two ways at a time) mode.
Translation The processes (running programs) in two systems are usually exchanging
information in the form of character strings, numbers, and so on. The information must
be changed to bit streams before being transmitted. Because different computers use
different encoding systems, the presentation layer is responsible for interoperability
between these different encoding methods. The presentation layer at the sender changes
the information from its sender-dependent format into a common format. The
presentation layer at the receiving machine changes the common format into its receiver
dependent format.
Compression Data compression reduces the number of bits contained in the information.
Data compression becomes particularly important in the transmission of multimedia such
as text, audio, and video.
Application Layer
The application layer enables the user, whether human or software, to access the network.
It provides user interfaces and support for services such as electronic mail, remote file
access and transfer, shared database management, and other types of distributed
information services.
This layer contains management functions and generally useful mechanisms that support
distributed applications.
File transfer, access, and management. This application allows a user to access files in
a remote host (to make changes or read data), to retrieve files from a remote computer for
use in the local computer, and to manage or control files in a remote computer locally.
Mail services This application provides the basis for e-mail forwarding and storage.
Directory services This application provides distributed database sources and access for
global information about various objects and services.
Physical Topology
The term physical topology refers to the way in which a network is laid out physically.
Two or more devices connect to a link and two or more links form a topology.
The Topology of a network is the geometric representation of the relationship of all the
links and linking devices (usually called nodes) to one another.
Mesh
In a mesh topology, every device has a dedicated point-to-point link to every other
device. The term dedicated means that the link carries traffic only between the two
devices it connects. To find the number of physical links in a fully connected mesh
network with n nodes, we first consider that each node must be connected to every other
node. Node 1must be connected to n - I nodes, node 2 must be connected to n – 1 nodes,
and finally node n must be connected to n - 1 nodes. We need n(n - 1) physical links.
However, if each physical link allows communication in both directions (duplex mode),
we can divide the number of links by 2. In other words, we can say that in a mesh
topology, we need n(n-1)/2 duplex-mode links.
STAR TOPOLOGY
In a star topology, each device has a dedicated point-to-point link only to a central
controller, usually called a hub. The devices are not directly linked to one another.
Unlike a mesh topology, a star topology does not allow direct traffic between devices.
The controller acts as an exchange: If one device wants to send data to another, it sends
the data to the controller, which then relays the data to the other connected device.
ADVANTAGES
Single computer failure doesn’t bring down whole network
Adding new devices to a Star network is very simple compared to any of the other
topologies
No disruptions to the network when connecting or removing devices.
Centralized control
Centralized network/hub monitoring
Easy to troubleshoot
DISADVANTAGES
If central device fails, the whole network fails
Compared to the bus topology, a star network generally requires more cable
More expensive than linear bus topologies because of the cost of the central
device
Bus Topology
A bus topology is multipoint. One long cable acts as a backbone to link all
the devices in a network. Nodes are connected to the bus cable by drop lines
and taps. A drop line is a connection running between the device and the
main cable. A tap is a connector that either splices into the main cable or
punctures the sheathing of a cable to create a contact with the metallic core.
Features -
The backbone functions as a shared communication medium
Device wanting to communicate with another device on the network
sends a message onto the backbone
The message is heard by all stations, but only the intended recipient
actually accepts and processes the message.
Terminator absorbs frames at end of medium.
Advantages
Simple, easy to use and construct
Requires least amount of cable (less expensive)
Disadvantages
A faulty cable will take the entire LAN down
Difficult to troubleshoot
Heavy network traffic can slow bus considerably
RING TOPOLOGY
Advantages
Equal access for all users
Perform well under heavy traffic
Fault isolation is simplified. Generally in a ring, a signal is
circulating at all times. If one device does not receive a signal
within a specified period, it can issue an alarm. The alarm alerts
the network operator to the problem and its location.
Disadvantages
If one device/cable fails then the whole network goes down.
Adding/Removing computers disrupts the whole network
Hybrid Topology A network can be hybrid. For example, we can have a
main star topology with each branch connecting several stations in a bus
topology.
Hybrid means that there is more than one topology exist.
NETWORK CATEGORIES
Center
conductor
Dielectric
Material Braided Outer
outer cover
conductor
Coaxial cable, like twisted pair, consists of two conductors, but is constructed
differently to permit it to operate over a wider range of frequencies. It consists of a
hollow outer cylindrical conductor that surrounds a single inner wire conductor
The inner conductor is held in place by either regularly spaced insulating rings or a
solid dielectric material. The outer conductor is covered with a jacket or shield. A
single coaxial cable has a diameter of from 0.4 to about 1 in.
Because of its shielded, concentric construction, coaxial cable is much less
susceptible to interference and crosstalk than is twisted pair. Coaxial cable can be
used over longer distances and supports more stations on a shared line than twisted
pair.
Application
Television distribution
Long-distance telephone transmission
Short-run computer system links
Local area networks
Coaxial cable is spreading rapidly as a means of distributing TV signals
to individual homes-cable TV. From its modest beginnings as
Community Antenna Television (CATV), designed to provide service to
remote areas, cable TV will eventually reach almost as many homes and
offices as the telephone.
OPTICAL FIBER
ligh
t claddin jacket
g
cor
e
(b) Reflection in optical fiber
c
Single-Mode uses step-index fiber and a highly focused source of light that
limits beams to a small range of angles, all close to the horizontal.
UNGUIDED MEDIA: WIRELESS
Unguided media transport electromagnetic waves without using a physical
conductor. This type of communication is often referred to as wireless
communication. Signals are normally broadcast through free space and thus
are available to anyone who has a device capable of receiving them. The
section of the electromagnetic spectrum defined as radio waves and
microwavesis divided into eight ranges, called bands, each regulated by
government authorities. These bands are rated from very low frequency
(VLF) to extremely high frequency (EHF).
Radio Waves
Although there is no clear-cut demarcation between radio waves and
microwaves, electromagnetic waves ranging in frequencies between 3 kHz
and 1 GHz are normally called radio waves.
Omni directional Antenna
Radio waves use omni directional antennas that send out signals in all
directions.
Applications
The omni directional characteristics of radio waves make them useful for
multicasting, in which there is one sender but many receivers. AM and FM
radio.
Microwaves
Electromagnetic waves having frequencies between I and 300 GHz are
called microwaves.
Very high-frequency microwaves cannot penetrate walls. This characteristic
can be a disadvantage if receivers are inside buildings.
The microwave band is relatively wide, almost 299 GHz. Therefore wider
sub bands can be assigned, and a high data rate is possible.
Unidirectional Antenna
Microwaves need unidirectional antennas that send out signals in one
direction.
Switching Methods
In order for systems to communicate on a network, there has
to be a communication path or multiple paths between which
the data can travel. To communicate with another entity,
these paths move the information from one location to
another and back. This is the function of switching.
Switching provides communication pathways between two
endpoints and manages how data is to flow between these
endpoints. Two of the more common switching methods used
today include:
Packet switching
Circuit switching
Message switched Network
Packet Switching
Circuit Switching
In contrast to the packet-switching method, circuit
switching requires a dedicated physical connection between
the sending and receiving devices. The most commonly used
analogy to represent circuit switching is a telephone
conversation in which the parties involved have a dedicated
link between them for the duration of the conversation. When
either party disconnects, the circuit is broken and the data
path is lost. This is an accurate representation of how
circuit switching works with network and data transmissions.
The sending system establishes a physical connection, the
data is transmitted between the two, and when the
transmission is complete, the channel is closed.
Some clear advantages to the circuit-switching technology
make it well suited for certain applications. The primary
advantage is that after a connection is established, there
is a consistent and reliable connection between the sending
and receiving device. This allows for transmissions at a
guaranteed rate of transfer.
Like all technologies, circuit switching has downsides. As
you might imagine, a dedicated communication line can be
very inefficient. After the physical connection is
established, it is unavailable to any other sessions until
the transmission is complete. Again, using the phone call
analogy, this would be like a caller trying to reach another
caller and getting a busy signal. Circuit switching can
therefore be fraught with long connection delays.