Professional Documents
Culture Documents
CO3: Illustrate the process of data link layer and medium access sublayer.
CO4: Analyze the concept and design issue of network , transport and
session layer.
CO5: Evaluate the cryptography and data compression technique .
Introduction
DATA COMMUNICATIONS
The term telecommunication means communication at a
distance.
The word data refers to information presented in whatever
form is agreed upon by the parties creating and using the
data.
Data communications are the exchange of data between
two devices via some form of transmission medium such
as a wire cable.
Topics discussed in this section:
▪ Network Criteria
▪ Physical Structures
▪ Categories of Networks
1.15
Network Criteria
• 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
Physical Structures
• Type of Connection
• Point to Point - single transmitter and receiver
• Multipoint - multiple recipients of single transmission
• Physical Topology
• Connection of devices
• Type of transmission - unicast, multicast, broadcast
1.17
Types of connections: point-to-point and multipoint
Categories of topology
• There are four basic topologies possible: mesh, star, bus, and ring.
A fully connected mesh topology (five devices)
• In mesh topology every device has a dedicated point-to-point link to every other
device.
• The link carries traffic only between the two devices it connects.
• Duplex-mode
• Advantages:
• Guaranteed dedicated links
• Eliminates traffic problems
• Privacy and security
• This makes fault identification easy
• Disadvantages:
• Cabling and number of IO ports required
• wiring is greater than available space
• Hardware is required for each link – expensive
For example: connection between telephone regional offices.
A star topology connecting four stations
• In star topology, each device has a dedicated point-to-point link only to a central
controller called hub.
• The controller acts as an exchange: if one device wants to send data to another , it
sends the data to controller, which then relays the data to the another connected
device.
• Advantages:
• Less expensive
• Robustness – if one link fails, only that link is affected, other links remain
active.
• Disadvantages:
• Dependency of the whole topology on one single point.
• Star requires less cabling than mesh. But each node is linked to the hub, so
more cabling required as compared to other like ring or bus topologies.
A bus topology connecting three stations
• A bus topology is a multipoint .
•One long cable acts as a backbone to link all the devices in the network.
• Nodes are connected by bus cable by drop line and taps.
• A drop line is a connection running between the device and the main cable
• A tap is a connector that either splices or punctures.
• Advantages:
• Easy of installation
• Disadvantages:
• Difficult reconnection
• Addition of new devices require modification or replacement of the
backbone.
• Signal energy getting transformed as heat as signal travel across the
backbone line and taps. That limits the no of taps in a line.
A ring topology connecting six stations
•In ring topology each device has a point-to-point connection with only the two devices
on either side of it.
•A signal is passed along a ring in one direction, from device to device until it reaches
its destination.
•Advantages:
•Easy to install and reconfigure
•To add or delete a device requires changing only two connections. The only
constraints are media and traffic.
•Disadvantages:
•Unidirectional
•A break in a ring can disable the entire network(can be solved by dual ring)
A hybrid topology: a star backbone with three bus networks
Network Models/Hardware
• Local Area Networks
• Metropolitan Area Networks
• Wide Area Networks
Local Area Networks(LANs)
• LANS are privately-owned networks within a single building or
campus of up to few kilometers in size.
• LANS are distinguished based on
– Their size
– Their transmission technology
– Their topology
• LANS are restricted in size
• LANS use a transmission technology consisting of a single cable
to which all machines are attached like telephone company lines
once used in rural areas.
• LANS run at speeds of 10 to 100 Mbps, have low delay and
make very few errors.
Local Area Networks
Client Client
Wide Area Networks
• WANs spans a large geographical area, often a country
or continent.
• It contains collection of machines for running user
applications, called hosts or end user.
• 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
• The first called as a switched WAN and to the
second as a point-to-point WAN
• The hosts are connected by communication subnet or
subnet. The subnet carries message from host to host.
WANs: a switched WAN and a point-to-point WAN
Wide Area Networks
• The switched WAN connects the end systems, which usually
comprise a router (internetworking connecting device) that
connects to another LAN or WAN.
• The point-to-point WAN is normally a line leased from a
telephone or cable TV provider that connects a home
computer or a small LAN to an Internet service provider
(ISP).
• This type of WAN is often used to provide Internet
access.
Metropolitan Area Networks(MAN)
Sender Receiver
data
address address
ii) Semantics
• Refers to 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.
• Eg. Does an address identify the route to be taken or the final of the message?
iii) Timing
Refers to two characteristics:
a. When data to be sent
b. How fast it can be sent
e.g. If a sender produces data at 100 Mbps but the receiver can process
data at only 1 Mbps, the transmission will overload the receiver and data
will be largely lost.
Standards and Organizations For
Communication Standards
• 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.
• Standards are developed by cooperation among standards creation
committees, forums, and government regulatory agencies.
Standards Creation Committees
a) International Standards Organization (ISO)
b) International Telecommunications Union (ITU)
c) American National Standards Institute (ANSI)
d) Institute of Electrical and Electronics Engineers (IEEE)
e) Electronic Industries Association (EIA)
f) Internet Engineering Task Force (IETF)
International Standards Organization (ISO)
2.45
2-1 LAYERED TASKS
2.46
Sender, Receiver, and Carrier
• Framing: The data link layer divides the stream of bits received from the
network layer into manageable data units called frames.
• Physical addressing: If frames are to be distributed to different systems on
the network, the data link layer adds a header to the frame to define the
sender and/or receiver of the frame.
• Error control: The data link layer adds reliability to the physical layer by
adding mechanisms to detect and retransmit damaged or lost frames. Error
control is normally achieved through a trailer added to the end of the frame.
• 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.
• 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.
At the receiving end, this layer packages raw data from the physical layer
into data frames for delivery to the Network layer
At the sending end this layer handles conversion of data into raw formats
that can be handled by the Physical Layer
If the service is reliable, the receiver confirms correct receipt of each
frame by sending back an acknowledgement frame
The physical layer accepts and transmits stream of bits, the data link
layer should create and recognize frame boundaries. This can be
accomplished by attaching special bit patterns to the beginning and
ending of frame.
A duplicate frame could be sent if the acknowledgement frame from
receiver back to the sender were lost.
Network layer
• Congestion: If too many packets are present in the subnet at the same time,
they will get in one another's way, forming bottlenecks. The control of such
congestion also belongs to the network layer.
Transport layer
• The Transport layer is responsible for process-to-process delivery of
the entire message. A process is an application program running on a
host
• It ensures that the whole message arrives intact and in order,
overseeing both error control and flow control at the source-to-
destination level
• Whereas the network layer oversees source-to-destination delivery
of individual packets, it does not recognize any relationship between
those packets.
Other responsibilities of the transport layer
• Service-point addressing: The source-to-destination delivery means
delivery not only from one computer to the next but also from a specific
process (running program) on one computer to a specific process (running
program) on the other. The transport layer header must therefore include a
type of address called a service-point address (or port address).
• Segmentation and reassembly. A message is divided into transmittable
segments, with each segment containing a sequence number. These
numbers enable the transport layer to reassemble the message correctly
upon arriving at the destination and to identify and replace packets that
were lost in transmission.
• Connection control: A connection oriented/ connectionless transport layer
makes a connection with the transport layer at the destination machine
first before delivering the packets. After all the data are transferred, the
connection is terminated.
• Flow & Error control: Like the data link layer, the transport layer is
responsible for flow & Error control. However, flow control at this layer is
performed end to end rather than across a single link.
Transport layer