Unit 1
Unit 1
Syllabus
• Introduction to Networks,
• Data and signals-analog and digital,
• periodic analog signals, digital signals,
• bit rate, baud rate, bandwidth.
• Transmission impairments- attenuation, distortion and noise.
• Data communication protocols and standards,
• Network models - OSI model-layers and their functions.
• TCP/IP protocol suite.
Computer Networks?
• A computer network is a group of interconnected nodes or computing
devices that exchange data and resources with each other.
Generally, the data (audio, video, text, images)that we are using are
not in a form that can be transmitted over a network.
To be transmitted, data must be transformed to electromagnetic
signals.
Data can be either analog or digital in form
Data
Analog Digital
Analog Data
• For example, an analog clock that has hour, minute, and second hands
gives information in a continuous form; the movements of the hands
are continuous.
• Digital data refers to information that has discrete states and take
discrete values..
• Digital Clock- a digital clock that reports the hours and the minutes
will change suddenly from 8:05 to 8:06
Signals can be either analog or digital in form
Signals
Analog Digital
Periodic Signal and Non-Periodic Signal
called a period, and repeats that pattern over subsequent identical periods.
• Bitrate, as the name implies, describes the rate at which bits are
transferred from one location to another.
• Bitrate is commonly measured in bits per second (bps), kilobits per second
(Kbps), or megabits per second (Mbps).
Baud Rate
• For example, the 500 baud rate indicates that the channel state can
change up to 500 times per second.
• Baud rate= Bit rate / the number of bits per signal unit.
Difference between bit rate and baud rate
Bandwidth
• This means that the signal at the beginning of the medium is not the
Impairment
causes
• That is why a wire carrying electric signals gets warm, Some of the
electrical energy in the signal is converted to heat.
• To compensate for this loss, amplifiers are used to amplify the signal.
• Attenuation is measured in decibels(dB).
• It measures the relative strengths of two signals or one signal at two
different point.
• The decibel is negative if a signal is attenuated and positive if a signal
is amplified
• Each frequency component has its own propagation speed travelling through a
medium.
• Therefore, Signal components at the receiver have phases different from what they
had at the sender. The shape of the composite signal is therefore not the same
Noise
• The random or unwanted signal that mixes up with the original signal
is called noise
• Thermal noise is the random motion of electrons in a wire which
• The term syntax refers to the structure or format of the data, meaning
the order in which they are presented.
• For example, a simple protocol might expect the first 8 bits of data to
be the address of the sender, the second 8 bits to be the address of the
receiver, and the rest of the stream to be the message itself.
Semantics
• The word 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?
Timing
• The term timing refers to two characteristics: when data should be sent
and how fast they can be sent.
• For example, 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 some data will be lost
Standards
• Standards that have not been approved by an organized body but have been
adopted as standards through widespread use are de facto standards.
• Those standards that have been legislated by an officially recognized body are
de jure standards. Example-TCP/IP
• Standards are developed through the cooperation of standards creation
committees, forums, and government regulatory agencies.
• The two best-known standards are the OSI model and the Internet
model.
THE OSI MODEL
• OSI stands for Open Systems Interconnection.
• It was the first standard model for network communications, adopted by all major
computer and telecommunication companies.
• OSI consists of seven layers, and each layer performs a particular network
function.
• layered framework
What is the purpose of the OSI model?
• The purpose of the OSI model is to show how
to facilitate communication between different
systems without requiring changes to the
logic of the underlying hardware and
software.
• The passing of the data and network information down through the layers of the
sending device and back up through the layers of the receiving device is made possible
by an interface between each pair of adjacent layers.
information into another form and sends the resulting message out over the
network. whereas on the receiver side Decryption (receiver side)reverses the
original process to transform the message back to its original form.
Compression reduces the number of bits in the information for fast transmission.
Session Layer
• 5th Layer-Receives input from the
Presentation layer.
• Main Functions
Session Management
Authorization
Authentication
• Synchronization. The session layer allows a process to add
checkpoints, or synchronization points, to a stream of data,
• Functions
• Service-point addressing,
• Reassembly 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.
• The transport layer header must therefore include a type of address called a service-point
address (or port address).
• The transport layer gets the entire message to the correct process on that computer
• Connection control. The transport layer can be either connectionless or
connection-oriented.
called Frames
• Flow control
• Framing: The data link layer divides the stream of bits received from
the network layer into manageable data units called frames.
• Error control. The data link layer adds reliability by detecting and
retransmitting 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
network, data link layer protocols are necessary to determine which
device has control over the network at any given time.
Physical Layer
• 1st Layer-responsible for movements of bits
from one node to another.
• Synchronization of bits. The sender and receiver not only must use the
same bit rate but also must be synchronized at the bit level.
ICMP,IGMP,RARP,ARP
Internetworking Protocol (IP)
• IP is the transmission mechanism used by the TCP/IP protocols.
• IP assumes the unreliability of the underlying layers and does its best to get a
transmission through to its destination, but with no guarantees.
• Datagrams can travel along different routes and can arrive out of sequence or be
duplicated.
• ARP-Address Resolution Protocol -used to associate a logical address with
a physical address. ARP is used to find the physical address(MAC address of
the node when its Internet address(IP address) is known.
program to another.