CCN Module I
CCN Module I
COMPUTER COMMUNICATION
AND NETWORKS
MODULE - I
DATA
COMMUNICATIONS
■ Performance
■ Depends on Network Elements
■ Measured in terms of Delay and Throughput
■ Reliability
■ Failure rate of network components
■ Measured in terms of availability/robustness
■ Security
■ Data protection against corruption/loss of data due to:
■ Errors
■ Malicious users
1.7
■ Point-to-Point
■ A point-to-point connection provides a dedicated link between
two devices.
■ The entire capacity of the link is reserved for transmission
between those two devices.
■ Most point-to-point connections use an actual length of wire or
cable to connect the two ends, but other options, such as
microwave or satellite links, are also possible.
■ When you change television channels by infrared remote
control, you are establishing a point-to-point connection
between the remote control and the television's control
system.
■ Multipoint
■ A multipoint connection is one in which more
than two specific devices share a single link.
■ In a multipoint environment, the capacity of the channel is
shared, either spatially or temporally.
■ If several devices can use the link simultaneously, it is a
spatially shared connection.
Types of connections: point-to-point and multipoint
Physical Topology
■The term physical topology refers to
the way in which a network is laid
out physically.
■The topology of a network is the
geometric representation of the
relationship of all the links and
linking devices to one another.
■There are four basic topologies
possible: mesh, star, bus, and ring
Categories of topology
Mesh Topology
■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.
■In a mesh topology, we need n(n -1) /2
duplex-mode links.
A fully connected mesh topology (five devices)
■ A mesh offers several advantages over other
network topologies.
■ First, the use of dedicated links guarantees that each
connection can carry its own data load, thus eliminating
the traffic problems that can occur when links must be
shared by multiple devices.
■ Second, a mesh topology is robust. If one link becomes
unusable, it does not incapacitate the entire system.
■ Third, there is the advantage of privacy or security.
When every message travels along a dedicated line,
only the intended recipient sees it.
■ Finally, point-to-point links make fault identification and
fault isolation easy. Traffic can be routed to avoid
links with suspected problems. This facility enables the
network manager to discover the precise location of the
fault and aids in finding its cause and solution.
■ The main disadvantages of a mesh are related to
the amount of cabling and the number of I/O
ports required.
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.
A star topology connecting four stations
■ A star topology is less expensive than a mesh
topology.
■ In a star, each device needs only one link and one
I/O port to connect it to any number of others.
■ This factor also makes it easy to install and
reconfigure.
■ Far less cabling needs to be housed, and
additions, moves, and deletions involve only one
connection: between that device and the hub.
■ Other advantages include robustness. If one link
fails, only that link is affected. All other links
remain active.
■ One big disadvantage of a star topology is the
dependency of the whole topology on one single
point, the hub. If the hub goes down, the whole
system is dead.
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.
A bus topology connecting three stations
■ As a signal travels along the backbone, some of its energy
is transformed into heat.
■ Therefore, it becomes weaker and weaker as it travels
farther and farther.
■ For this reason there is a limit on the number of taps a bus
can support and on the distance between those taps.
■ Advantages of a bus topology include ease of installation.
Backbone cable can be laid along the most efficient path,
then connected to the nodes by drop lines of various
lengths.
■ Disadvantages include difficult reconnection and fault
isolation.
■ In addition, a fault or break in the bus cable stops all
transmission, even between devices on the same side of
the problem.
Ring Topology
■ In a ring topology, each device has a dedicated
point-to-point connection with only the two
devices on either side of it.
■ A signal is passed along the ring in one direction,
from device to device, until it reaches its
destination.
■ Each device in the ring incorporates a repeater.
■ When a device receives a signal intended for
another device, its repeater regenerates the bits
and passes them along.
■ A ring is relatively easy to install and reconfigure.
Each device is linked to only its immediate
neighbors.
■ To add or delete a device requires changing only
two connections.
A ring topology connecting six stations
■However, unidirectional traffic can be
a disadvantage.
■In a simple ring, a break in the ring
can disable the entire network.
■This weakness can be solved by
using a dual ring or a switch capable
of closing off the break.
Hybrid Topology
■A network can be hybrid.
■A hybrid topology is a type of
network topology that uses two or
more other network topologies,
including bus topology, mesh
topology, ring topology, star
topology, and tree topology.
A hybrid topology: a star backbone with three bus networks
Categories of Networks
■Local Area Network
■A local area network (LAN) is usually
privately owned and links the devices in a
single
office, building, or campus.
■Depending on the needs of an
organization
and the type of technology used, a LAN
can be as simple as two PCs and a printer
in
someone's home office; or it can extend
throughout a company and include audio
and
Wide Area Network
■ A wide area network (WAN) provides long-
distance transmission of data, image, audio, and
video information over large geographic areas
that may comprise a country, a continent, or even
the whole world.
■ A WAN can be as complex as the backbones that
connect the Internet or as simple as a dial-up line
that connects a home computer to the Internet.
Metropolitan Area Networks
■A metropolitan area network (MAN) is a
network with a size between a LAN and a
WAN.
■It normally covers the area inside a town
or a city.
■It is designed for customers who need a
high-speed connectivity, normally to the
Internet, and have endpoints spread over
a city or part of city.
■A good example of a MAN is the part of the
telephone company network that can
provide a high-speed DSL line to the
customer.
PROTOCOLS
■ 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
syntax, semantics, and timing.
Elements of a Protocol
■ Syntax
■ Structure or format of the data
■ Indicates how to read the bits - field delineation
■ Semantics
■ Interprets the meaning of the bits
■ Knows which fields define what action
■ Timing
■ When data should be sent and what
■ Speed at which data should be sent or speed at which it is
being received.
1.30
2-1 LAYERED TASKS
2.31
Figure 2.1 Tasks involved in sending a letter
2.32
The OSI Model
■An ISO standard that covers all
aspects of network communications
is the Open Systems Interconnection
(OSI) model.
■An open system is a set of protocol
that allows any two different systems
to communicate regardless of their
underlying architecture (H/W and
S/W). ISO is the organization.
OSI is the model.
The OSI Model
■The OSI model is a layered framework
for the design of network systems
that allows for communication
between all types of computer
systems.
■It consists of seven separate but
related layers, each of which defines
a part of the process of moving
information across a network.
Figure 2.2 Seven layers of the OSI model
The interaction between layers in the OSI model
2-3 LAYERS IN THE OSI MODEL
2.37
Physical Layer
2.39
Hop-to-hop delivery
Network layer
Networ IP
k ARP RARP
Data link
Physical
■Transport Layer
■In this layer, the protocol is
responsible for delivery of message
from a process to another process.
Protocols at The Transport Layer
■User Datagram Protocol (UDP)
⮚ It adds port addresses, checksum
error control, and length information
to the data from the upper layer.
■Application Layer
■The application layer in TCP/IP is
equivalent to the combined
session, presentation, and
application.