Professional Documents
Culture Documents
UNIT3
UNIT3
3
Link Layer
Topics to be Covered
Transmission Media
Classes of transmission media
• Transmission Medium: Physical path between
transmitter and receiver.
– Guided Media
• Waves are guided along a solid medium.
• E.g., copper twisted pair, copper coaxial cable, optical fiber.
– Unguided Media
• Provides means of transmission but does not guide
electromagnetic signals.
• Usually referred to as wireless transmission.
• E.g., atmosphere, outer space.
Computer Communication
Network
Coaxial cable
• Better shielding than twisted pair ->travels longer distances at higher
speeds
• 2 types of Coax cables:
– 50-ohm- digital transmission.
– 75-ohm- analog transmission and cable TV.
• Consists of:
– Stiff copper wire as core
– Surrounded by an insulating material
– Cylindrical conductor as braided mesh
– Protective plastic sheath
• Gives high bandwidth and excellent noise immunity
• Bandwidth depends on:
– Cable quality, Length, Signal to noise ratio of the data signal
• Bandwidth close to 1GHz, used for cable TV and MAN
Computer Communication
Network
Coaxial cable
Category Use
RG-59 Cable TV
Computer Communication
Network
Computer Communication
Network
Coaxial Cable Connectors
• BNC connectors
• Bayonet Neill – Concelman is a miniature quick connect/disconnect radio
frequency connector used for coaxial cable.
• The most common type of connector used today is the Bayone-Neill-Concelman
(BNe), connector. The figure shows three popular types of these connectors: the
BNC connector, the BNC T connector, and the BNC terminator.
• The BNC connector is used to connect the end of the cable to a device, such as a
TV set.
• The BNC T connector is used in Ethernet networks to branch out to a connection
to a computer or other device.
• The BNC terminator is used at the end of the cable to prevent the reflection of the
signal.
Computer Communication
Network
Coaxial Cable Applications
• Television distribution
• Long distance telephone transmission
– Can carry 10,000 voice calls simultaneously.
– Being replaced by fiber optic.
• Short distance computer systems links.
• Local area networks
• Traditional cable TV network, being replaced by fiber
optic cables
Computer Communication
Network
Twisted-pair cable
Computer Communication
Network
Twisted-pair cable
• If the two wires are parallel, the effect of these unwanted signals is not
the same in both wires because they are at different locations relative to
the noise or crosstalk sources
• Twisting makes it probable that both wires are equally affected by external
influences. The unwanted signals are mostly canceled out
• Bandwidth (the amount of data that can be carried from one point to
another in a given time period, usually a second). Usually expressed
in bits per second (bps);
• Used widely because
– Adequate performance
– Low cost
Computer Communication
Network
Unshielded vs Shielded Twisted Pair
Computer Communication
Network
UTP Categories
Categories by quality lowest-1 and 5 -highest
• Category 1:
– In telephone systems-> fine for voice communication
• Category 2:
– For voice and data of up to 4Mbps
• Category 3:
– At least 3 twists per foot. Upto 10 Mbps. Standard for most
telephone systems.
• Category 4:
– Like cat 3. up to 16 Mbps
• Category 5:
– Up to 100 Mbps
Computer Communication
Network
Twisted pair cables
This image cannot currently be displayed.
Computer Communication
Network
UTP connector
Computer Communication
Network
UTP connector RJ45 and twisted pair cable
Computer Communication
Network
Twisted Pair - Applications
• Telephone lines to provide voice and data channels
• The DSL lines used by the telephone companies to
provide high-data-rate connections also use the high-
bandwidth capability of unshielded twisted-pair
cables.
• Within buildings
– To private branch exchange (PBX).
• For local area networks (LAN)
– 10Mbps or 100Mbps.
Computer Communication
Network
Twisted Pair - Transmission Characteristics
• Limited distance
• Limited bandwidth (16MHz - cat 3).
• Limited data rate (10Mbps – cat 3).
• Susceptible to interference and noise.
Computer Communication
Network
Fibre Optic Cable
• A fibre-optic cable is made of glass or plastic and transmits
signals in the form of light
• Optical transmission medium:
– Light source, transmission medium, detector
• Pulse of light: 1, absence of light: 0
• Detector generates electric pulse when light falls on it.
• Light source----optical fiber------detector
• Unidirectional data transmission system:
– Accepts electrical signal, converts and
Transmits it by light pulses and then
Reconverts the o/p to an electrical
Signal at the receiving end.
Optical Transmission :
Total Internal reflection (Bending of light ray)
Computer Communication
Network
Optical Transmission :
Total Internal reflection (Bending of light ray)
Computer Communication
Network
Optical fibre
Computer Communication
Network
Optical fibre
Fibre-optic cable connectors
Subscriber Connector Straight Tip
Computer Communication
Network
Fibre cables
• Similar to coax, except without the braid.
• Centre glass core- through which light propagates
• Multimode- core is 50 microns (thickness of human hair)
• Single mode- 8-10 microns
• Core surrounded by glass cladding of low Refractive Index (RI)
than the core to keep the light inside the core
• Plastic sheath helps protect the cladding
• Fibres are grouped in bundles, protected by outer sheath
Computer Communication
Network
Fibre cables
• Terrestrial fibre sheaths laid in ground within
meter of the surface
• Near the shore, transoceanic fibre sheaths are
buried in trenches
• Deep water-> just lie on the bottom
• 2 types of light sources used to do signalling
– LEDs (Light Emitting Diodes)
– Semiconductor laser
Computer Communication
Network
Computer Communication
Network
Propagation Modes
• Multimode – multiple beams move through
the core in different paths- depends on the
structure of the core.
• Single Mode-limits the beams to small range
of angles all close to the horizontal.
Computer Communication
Network
Propagation Modes
Computer Communication
Network
4
5
Fiber types
Multimode, graded-
50/125 50 125
index
Multimode, graded-
62.5/125 62.5 125
index
Multimode, graded-
100/125 100 125
index
7/125 7 125 Single-mode
Computer Communication
Network
Optical Fiber - Disadvantages
• Installation and maintenance: Fiber-optic cable is a relatively
new technology. Its installation and maintenance require
expertise that is not yet available everywhere.
• Unidirectional light propagation: Propagation of light is
unidirectional. If we need bidirectional communication, two
fibers are needed.
• Cost: The cable and the interfaces are relatively more
expensive than those of other guided media. If the demand for
bandwidth is not high, often the use of optical fiber cannot be
justified
• Fragile: fibre optic cables are delicate and can easily get
damaged
Fiber Optics verses Copper
Fiber Copper
Mainly used in Ethernet LAN networks Mainly used in cable and telephone
networks
Line Encoding Schemes
• Refers to technique used to translate bits to
signal for transmissions over a data channel.
• Digital data may be transferred using either
analog or digital signals.
• Here we look at how digital data is
transmitted using digital signals.
• Two basic approaches
– Line encoding – Stream of Bits
– Block encoding – Blocks of Bits
Line encoding
Computer Communication
Network
Block Encoding
Manchester and Differential Manchester
• Manchester and differential Manchester Coding are the two common Bi-phase
techniques in use.
• Bi-phase technique:
– The signal level is checked twice for every bit time, both initially and in the middle. Hence, the clock
rate is double the data transfer rate and thus the modulation rate is also doubled.
– The bandwidth required for this coding is greater.
• The duration of the bit is divided into two halves. The voltage remains at one level
during the first half and moves to the other level in the second half.
• In Manchester coding the transition at the middle of the bit provides
synchronization
• In the standard Manchester encoding there is a transition at the middle of each bit
period. A binary 1 corresponds to a low-to-high transition and a binary 0 to a
high-to-low transition in the middle.
• In Differential Manchester, There is always a transition at the middle of the bit,
but the bit values are determined at the beginning of the bit.
• If the next bit is 0, there is a transition; if the next bit is 1, there is none.
Computer Communication
Network
Manchester and differential
Manchester
Computer Communication
Network
• Manchester
– Transition in middle of each bit period. Transition serves as clock and data.
– Low to high represents one.
– High to low represents zero.
– Used by IEEE 802.3 (Ethernet).
• Differential Manchester
– Mid-bit transition is clocking only. Transition at start of a bit period represents
zero.
– No transition at start of a bit period represents one.
– Transition at the start at middle indicates a zero.
– Used by IEEE 802.5 (Token Ring).
Computer Communication
Network
Wireless LAN: IEEE 802.11 (Wi-Fi)
• Need to connect wirelessly.
• Different companies with different wireless LANs
can lead to compatibility issue.
• IEEE committee given task to come up with
wireless LAN standard.
• Issues:
– Name-> based on other LANs like 802.3 , 802.4 etc.
hence called 802.11
– Finding frequency band that was available worldwide.
Computer Communication
Network
Introduction
• Unlike mobile phone networks, 802.11 used unlicensed band.
• All devices are allowed to use this spectrum provided that they
limit their transmit power to let different devices coexist.
• Instead of expensive, licensed spectrum, 802.11 systems
operate in unlicensed bands such as the ISM (Industrial,
Scientific, and Medical) bands defined by ITU-R (International
Telecommunication Union- Radiocommunicaiton sector) (e.g.,
902-928 MHz, 2.4-2.5 GHz, and 5.725-5.825 GHz).
Computer Communication
Network
Arrangement
• 802.11 networks are made up of clients, such as laptops and
mobile phones, and infrastructure called APs (access points)
that is installed in buildings.
• Access points are sometimes called base stations.
• The access points connect to the wired network, and all
communication between clients goes through an access point.
• It is also possible for clients that are in radio range to talk
directly, such as two computers in an office without an access
point.
• This arrangement is called an ad hoc network. It is used much
less often than the access point mode.
Computer Communication
Network
IEEE 802.11 Architecture - BSS
Computer Communication
Network
BSS and ESS Configurations
Computer Communication
Network
Computer Communication
Network
Bluetooth
• Bluetooth was originally started as a project by
the Ericsson Company.
• It is named for Harald Blaatand, the king of
Denmark (940-981) who united Denmark and
Norway.
– Blaatand translates to Bluetooth in English.
• Today, Bluetooth technology is the
implementation of a protocol defined by the IEEE
802.15 standard.
• The standard defines a wireless personal-area
network (PAN) operable in an area the size of a
room or a hall.
Bluetooth
• Bluetooth is a wireless LAN technology designed to
connect devices of different functions such as
telephones, notebooks, computers (desktop and
laptop), cameras, printers, coffee makers, and so on.
• A Bluetooth LAN is an ad hoc network, which means
that the network is formed spontaneously; the devices,
sometimes called gadgets, find each other and make a
network called a piconet.
• A Bluetooth LAN can even be connected to the Internet
if one of the gadgets has this capability.
• A Bluetooth LAN, by nature, cannot be large. If there
are many gadgets that try to connect, there is chaos.
Bluetooth Applications
• Peripheral devices such as a wireless mouse or
keyboard can communicate with the computer
through this technology.
• Monitoring devices can communicate with sensor
devices in a small health care center.
• Home security devices can use this technology to
connect different sensors to the main security
controller.
• Conference attendees can synchronize their
laptop computers at a conference.
Bluetooth Architecture
Bluetooth defines two types of networks: piconet and
scatternet.
Piconets
• A Bluetooth network is called a piconet, or a small net.
• A piconet can have up to eight stations, one of which is
called the primary; t the rest are called secondaries.
• All the secondary stations synchronize their clocks and
hopping sequence with the primary.
• Note that a piconet can have only one primary station.
• The communication between the primary and the
secondary can be one-to-one or one-to-many.
Scatternet
• Piconets can be combined to form what is
called a scatternet. A secondary station in one
piconet can be the primary in another piconet.
• This station can receive messages from the
primary in the first piconet (as a secondary)
and, acting as a primary, deliver them to
secondaries in the second piconet.
• A station can be a member of two piconets.
Local Area Networks: IEEE 802.3
(Ethernet)
• The original Ethernet was created in 1976 at Xerox's
Palo Alto Research Center (PARC).
• Since then, it has gone through four generations:
Standard Ethernet (10 Mbps), Fast Ethernet (100
Mbps), Gigabit Ethernet (1 Gbps), and Ten-Gigabit
Ethernet (l0 Gbps).
Computer Communication
Network
Categories of Traditional Ethernet
Computer Communication
Network
10Base5: Thick Ethernet
• The first implementation is called 10Base5,
thick Ethernet, or Thicknet.
• The nickname derives from the size of the
cable, which is roughly the size of a garden
hose and too stiff to bend with your hands.
• 10Base5 was the first Ethernet specification to
use a bus topology with an external
transceiver (transmitter/receiver) connected
via a tap to a thick coaxial cable.
Computer Communication
Network
Connection of a Station to the Medium using
10Base5
Computer Communication
Network
• The transceiver is responsible for transmitting, receiving,
and detecting collisions.
• The transceiver is connected to the station via a transceiver
cable that provides separate paths for sending and
receiving.
• This means that collision can only happen in the coaxial
cable.
• The maximum length of the coaxial cable must not exceed
500 m, otherwise, there is excessive degradation of the
signal.
• If a length of more than 500 m is needed, up to five
segments, each a maximum of 500-meter, can be
connected using repeaters.
Computer Communication
Network
10Base2: Thin Ethernet
Computer Communication
Network
• Note that the collision here occurs in the thin coaxial cable.
• This implementation is more cost effective than 10Base5
because thin coaxial cable is less expensive than thick coaxial
and the connections are much cheaper than taps.
• Installation is simpler because the thin coaxial cable is very
flexible.
• However, the length of each segment cannot exceed 185 m
(close to 200 m) due to the high level of attenuation in thin
coaxial cable.
Connection of Stations to the Medium using
10Base2
Computer Communication
Network
10Base-T: Twisted-Pair Ethernet
• The third implementation is called 10Base-T or twisted-pair
Ethernet.
• 10Base-T uses a physical star topology.
• The stations are connected to a hub via two pairs of twisted
cable.
• Note that two pairs of twisted cable create two paths (one
for sending and one for receiving) between the station and
the hub. Any collision here happens in the hub.
• Compared to 10Base5 or 10Base2, the hub actually
replaces the coaxial cable as far as a collision is concerned.
• The maximum length of the twisted cable here is defined as
100 m, to minimize the effect of attenuation in the twisted
cable.
Connection of Stations to the Medium using
10Base-T