Chapter 2
Chapter 2
- Physical layer is a layer of OSI network model which is used to connect one sender with
possibly more receivers.
- It is the only layer that deals with the physical connectivity of two different nodes.
- It defines hardware equipment, cabling, wiring, frequencies and pulses used to represent
binary signals.
- The data link layer provides data frames to physical layer which converts them to electrical
pulses that represent binary data.
Network Monitoring:
Bandwidth:
It is defined as the maximum amount of data that can be carried from one point to
another in a given time period.
Channel Capacity
Bandwidth is expressed in bits per second (bps)
Refers to the range of frequencies in a composite signal or the range of frequencies that
a channel can pass.
Bandwidth is Expressed in cycle per sec OR Hz
Throughput:
Solution:
12000 𝑥 10000
Throughput = = 2 Mbps
60
Bandwidth vs Throughput:
Bandwidth is the theoretical capability of the connection, the throughput is the actual data rate
of a specific application.
When a package is sent from one host (source) to another host (destination), it travels
through a series of nodes and routers. Travelling from one of these nodes/routers and on to a
subsequent node/router, the packet will suffer from different types of delay. The most notable
and important delays are the processing delay, queuing delay, transmission delay, and
propagation delay.
Processing delay:
The time used to examine the packet’s header and determine where to
direct it, and check for bit-level errors in the packet that occurred in transmission is called the
processing delay. There are also several other factors that affects this delay, for example: The
need to check for bit-level errors that has occurred during transmission to the router.
Queuing Delay:
The queuing delay is the time it takes for the packet to be transmitted
onto the link. Naturally; the length of this time is defined by the number of packets that was
added to the queue prior to this packet. It is also very important that the rate of incoming
packets does not exceed the rate of outgoing packets. If this happens, the delay will approach
infinity, and the transmission could suffer packet losses.
Transmission Delay :
As the packet does not magically appear straight away on router B after it
has been pushed into the link from router A, there is of course a propagation delay. This is the
time required to propagate from the beginning of the link and to router B. The speed of the
propagation heavily depends on the physical medium of the link (fiber optics, twisted pair,
copper wire, etc).
Latency:
i.e. latency = Propagation delay + Transmission delay + Queuing delay + processing delay
A network which experiences less overall delay is termed to have low latency while opposite
is termed as high latency.
Jitter:
• Jitter is the variation in the time between packets arriving, caused by network congestion,
timing drift, or route changes.
• causes of jitter are electromagnetic interference (EMI) and crosstalk with other signals.
Packet Loss:
Packet loss occurs when one or more packets of data travelling across a computer
network fail to reach their destination.
In our discussions above, we have assumed that the queue is capable of holding an
infinite number of packets. In reality a queue preceding a link has finite capacity, although the
queuing capacity greatly depends on the switch design and cost. Because the queue capacity is
a finite, packet delays do not really approach infinity as the traffic intensity approaches one.
Instead, a packet can arrive to find a full queue. With no place to store such a packet, a router
will drop that packet; that is, the packet will be lost. From an end-system viewpoint, this will
look like a packet having been transmitted into the network core, but never emerging from the
network at the destination. The fraction of lost packets increases as the traffic intensity
increases. Therefore, performance at a node is often measured not only in terms of delay, but
also in terms of the probability of packet loss.
Causes of impairment:
Attenuation
Attenuation means a loss of energy. When a signal, simple or composite, travels through a
medium, it loses some of its energy in overcoming the resistance of the medium. That is why a
wire carrying electric signals gets warm, if not hot, after a while. Some of the electrical energy
in the signal is converted to heat. To compensate for this loss, amplifiers are used to amplify the
signal. Figure 3.26 shows the effect of attenuation and amplification.
Distortion:
Distortion means that the signal changes its form or shape. Distortion can occur in a composite
signal made of different frequencies. Each signal component has its own propagation speed
through a medium and, therefore, its own delay in arriving at the final destination. Differences
in delay may create a difference in phase if the delay is not exactly the same as the period
duration. In other words, 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 is another cause of impairment. Several types of noise, such as thermal noise, induced
noise, crosstalk, and impulse noise, may corrupt the signal. Thermal noise is the random motion
of electrons in a wire which creates an extra signal not originally sent by the transmitter.
Induced noise comes from sources such as motors and appliances. These devices act as a
sending antenna, and the transmission medium acts as the receiving antenna. Crosstalk is the
effect of one wire on the other. One wire acts as a sending antenna and the other as the
receiving antenna. Impulse noise is a spike (a signal with high energy in a very short time) that
comes from power lines, lightning, and so on.
1. Guided Media : twisted pair cable, coaxial cable and fiber optic cable
Guided (Wired) Media: Guided Media is a communication medium which allows the data to get
guided along it i.e. physical connection is need.
Unguided (Wireless) Media: The wireless media is called unguided media. The signal propagates
in form of wireless electromagnetic waves.
GUIDED MEDIA
UTP contains no shielding and is more susceptible to external noise but is the
most frequently used because it is inexpensive and easier to install. Eg. Cat5e, Cat6,
Cat6a and Cat7
Characteristics:
a. Easy to install
b. Low cost (cheaper than coaxial and optical fiber cable)
c. High speed capacity i.e. data transfer rate of CAT5e is up to 1 Gbps.
Applications:
Characteristics:
Optical Fiber:
Optical fiber is a thin, flexible medium capable of guiding an optical ray. Optical fiber
cable has a cylindrical shape and consists of three sections: core, cladding and jacket.
The core is a inner layer and is made up of fiber or glass. It is surrounded by a glass cladding
which has a lower refractive index than the core. The outer most layer is of plastic which is
called as jacket.
a. The light ray inside the fiber does not escape through the walls because of the total
internal reflection.
b. Very high data transfer rate up to 10 Gbps.
c. It is smaller and light weight but expensive.
d. It is not affected by noise signals
e. These cables have much lower attenuation and can carry signal to longer distances
without using amplifiers and repeaters in between.
f. The installation of fiber optic cables is difficult and tedious.
g. Joining the optical fibers is a difficult job.
Types:
1. Multimode fiber:
Larger Core Diameter
propagate more than one mode of light
Suited for Short distance Transmission
Bending losses should be avoided by using large bending radius
2. Single-mode fiber:
Only One mode of Light will propagate
Suited for Long distance transmission
Bending losses should be avoided by using large bending radius
Unguided Transmission:
1. Ground propagation
2. Sky propagation
3. Line-of-sight propagation
1. Radio Transmission:
3. Satellite Transmission
A satellite is simply a repeater. It consists of several transponders each of which
listens to some portion of the spectrum, amplifies the incoming signal and the
rebroadcasts it at another frequency to avoid interference with the incoming
signal.
Satellite communication system consists of ground stations for transmitting and
receiving signals and a communication satellite in the space. The range of
frequencies used for transmission of signals from ground station to the satellite
is uplink frequency and those used for transmission of signals from satellites to
ground station is downlink frequency. Uplink and downlink frequencies are
different to avoid interference.
Advantages:
Wireless propagation:
3. Line-of-sight propagation
Above 30 MHz, neither ground wave nor sky wave propagation modes operate,
and communication must be by line of sight. For satellite communication, a
Baseband:
A Baseband Network is one in which the cable or other network medium can carry only
a single signal at any one time. It is used in digital transmission of signals. i.e. it uses time
division multiplexing (TDM) which uses entire bandwidth of the channel. Typical example of this
is Ethernet.
Broadband:
A Broadband network on the other hand can carry multiple signals simultaneously,
(using a discrete part of the cable bandwidth for each signal). As analog signals are being
transmitted, frequency division multiplexing (FDM) technique is used to transmit multiple
signals through single channel. This technique is performed for cable lines using copper wires.
For optical fiber broadband services, wavelength division multiplexing (WDM) is used to
transmit different signals through single fiber.
Advantages:
1. More than one signal can be send over a single link.
2. Effective use of bandwidth.
The above figure shows the schematic diagram of an FDM system. The
transmitter end contains multiple transmitters and the receiver end contains
multiple receivers. The communication channel is present between the
transmitter and receiver.
At the receiver end, the multiplexed signals are separated by using a device called
demultiplexer. It then sends the separated signals to the respective receivers. In
Advantages:
Disadvantages:
Application:
3. High security
1. The cost of the system increases with the addition of more optical
components.
2. Wavelength tuning is a difficult job.
At the receiver side, the signals are separated and received. Each signal is
received by a user at a different time.
The various time slots are arranged into frames and each frame consists of one
or more time slots dedicated to each device (transmitter).
Asynchronous/statistical TDM
An asynchronous TDM is a technique in which time slots are not fixed as in the
case of Synchronous TDM. Time slots are allocated to only those devices which
have the data to send. Therefore, we can say that Asynchronous Time Division
multiplexor transmits only the data from active workstations.
The time slots in asynchronous TDM are always less than the number of devices
(transmitter). For example, if we have X devices and Y time slots. Y should always
be less than X (I.e. Y < X).
In asynchronous time division multiplexing, the multiplexer scans all the devices
(transmitters) and accepts input only from the devices that have actual data to
send and fills all the frames, and then sends it to the receiver.
Circuit switching:
In circuit switching network, a communications path between end
devices (nodes) needs to be set up before they can communicate.
There is a need of pre-specified route from which data will travel and
no other data is permitted.
It was designed for voice applications. Telephone is the best suitable
example of circuit switching.
Advantages:
Disadvantages:
Advantages:
Disadvantages:
Packet Switching
– Call request and call accept packets are used to establish the
connection between sender and receiver.
– In this case, the path is fixed for the duration of a logical connection.
– In the above diagram, A and B are the sender and receiver respectively. 1
and 2 are the nodes.
– Call request and call accept packets are used to establish a connection
between the sender and receiver.
– If the user wants to terminate the connection, a clear signal is sent for the
termination.
Bearer services:
Bearer services provide the means to transfer information (voice, data and video)
between users without the network manipulating the content of that
information. The network does not need to process the information and therefore
does not change the content.
Bearer services belong to the first three layers of the OSI model and are well
defined in the ISDN standard. They can be provided using circuit-switched,
packet-switched, frame-switched, or cell-switched networks.
Teleservices:
In teleservices, the network may change or process the contents of the data.
These services correspond to layers 4-7 of the OSI model. Teleservices relay on
the facilities of the bearer services and are designed to accommodate complex
user needs, without the user having to be aware of the details of the process.
Teleservices include telephony, teletex, telefax, videotex, telex and
teleconferencing. Although the ISDN defines these services by name, they have
not yet become standards.
B-channel
64 kbps
basic user channel
can carry digital data, PCM-encoded digital voice, or a mixture of lower-rate
traffic
supports circuit-switched, packet-switched
D-channel
16 or 64 kbps
carries signaling information to control circuit switched calls on B-channel
o who is calling
ISDN Interfaces
Basic Rate Interface(BRI)
2B channels + 1 D channel
2 × 64 + 16= 144 kbps (192 kbps total)
Primary Rate Interface(PRI)
T1 connection:
23B+D American Standards
Data rate 23*64Kbps + 64Kbs + 8bits header
Information = 1544kbs = 1.544Mbps
E1 Connection:
30B+D European Standards
30*64Kbps + 64Kbps +64Kbps
2048Kbps=2.048Mbps
Last D channel for Framing and Synchronization in E1 Connections