SlideShare a Scribd company logo
Physical Layer
CH-03
Transmission Media and Switching
Mettu University
College of Engineering and Technology
Department of Information Technology
July 25, 2022
(Mettu University) 03 Transmission Media and Switching July 25, 2022 1 / 70
Lecture Topics : #
1 Transmission Media
Guided Media
Unguided: Wireless
2 Switching
Circuit-switched Networks
Packet-switched Networks
Message Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 2 / 70
Transmission Media
Outline
1 Transmission Media
Guided Media
Unguided: Wireless
2 Switching
Circuit-switched Networks
Packet-switched Networks
Message Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 3 / 70
Transmission Media
Transmission Media
• A transmission medium can be broadly defined as anything that can
carry information from a source to a destination.
• Transmission media are actually located below the physical layer and
are directly controlled by the physical layer
(Mettu University) 03 Transmission Media and Switching July 25, 2022 4 / 70
Transmission Media
Transmission Media …
• The transmission medium is usually
• Free space
• Metallic cable
• Fiber-optic cable
• The information is usually a signal that is the result of a conversion of
data from another form
(Mettu University) 03 Transmission Media and Switching July 25, 2022 5 / 70
Transmission Media
Transmission Media …
• In telecommunications, transmission media can be divided into two
broad categories:
(Mettu University) 03 Transmission Media and Switching July 25, 2022 6 / 70
Transmission Media Guided Media
Outline
1 Transmission Media
Guided Media
Unguided: Wireless
2 Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 7 / 70
Transmission Media Guided Media
Guided Media
• Guided media, which are those that provide a conduit from one device
to another,
• …include twisted-pair cable, coaxial cable, and fiber-optic cable.
• A signal traveling along any of these media is directed and contained
by the physical limits of the medium.
• Guided Media are also known as bounded media , since the data
signals are bounded by the cabling system.
• Twisted-pair and coaxial cable use metallic (copper) conductors that
accept and transport signals in the form of electric current.
• Optical fiber is a cable that accepts and transports signals in the form
of light.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 8 / 70
Transmission Media Guided Media
Guided Media
• Guided media, which are those that provide a conduit from one device
to another,
• …include twisted-pair cable, coaxial cable, and fiber-optic cable.
• A signal traveling along any of these media is directed and contained
by the physical limits of the medium.
• Guided Media are also known as bounded media , since the data
signals are bounded by the cabling system.
• Twisted-pair and coaxial cable use metallic (copper) conductors that
accept and transport signals in the form of electric current.
• Optical fiber is a cable that accepts and transports signals in the form
of light.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 8 / 70
Transmission Media Guided Media
Twisted-pair cable
• A twisted pair consists of two conductors (normally copper), each
with its own plastic insulation, twisted together
• One of the wires is used to carry signals to the receiver, and
• the other is used only as a ground reference.
• The receiver uses the difference between the two.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 9 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
• the twists between wires is helpful in reducing noise (electro-magnetic
interference) and crosstalk
• 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 (e,g., one is closer and the other is farther).
• This results in a difference at the receiver.
• By twisting the pairs, a balance is maintained.
• There are two types of twisted pair cables available:
1 Shielded Twisted Pair (STP)
2 Unshielded Twisted Pair (UTP)
(Mettu University) 03 Transmission Media and Switching July 25, 2022 10 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
• the twists between wires is helpful in reducing noise (electro-magnetic
interference) and crosstalk
• 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 (e,g., one is closer and the other is farther).
• This results in a difference at the receiver.
• By twisting the pairs, a balance is maintained.
• There are two types of twisted pair cables available:
1 Shielded Twisted Pair (STP)
2 Unshielded Twisted Pair (UTP)
(Mettu University) 03 Transmission Media and Switching July 25, 2022 10 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Shielded Twisted-Pair Cable(STP)
• STP cable has a metal foil or braided mesh covering that encases
each pair of insulated conductors.
• Although metal casing improves the quality of cable by preventing the
penetration of noise or crosstalk,
• …it is bulkier and more expensive.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 11 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Shielded Twisted-Pair Cable(STP) …
• This type of shielding protects cable from external Electromagnetic
Interferences (EMI).
• Therefore these cables can be used in noisy area.
• Shielded twisted pair cable (STP) is the standard cable specified for
IBM Token Ring networks and for Apple’s LocalTalk.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 12 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Unshielded Twisted Pair (UTP)
• most common twisted-pair cable used in communications.
• Unshielded twisted pair ( UTP ) cables contain no shielding.
• The UTP cables in computer networking have resistance rating of 100
ohm.
• UTP cable most commonly includes four pairs of wires enclosed in a
common sheath.
• UTP is a very flexible, low cost media, and can be used for either
voice or data communications.
• It is easy to install and maintain.
• It is widely used for cabling LAN in today’s computer network.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 13 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
• RJ45: Twisted pair cables are connected by RJ45 connectors.
• The RJ45 is a keyed connector, meaning the connector can be
inserted in only one way.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 14 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
• UTP cables are divided into different categories (Cat 1-6/7) which
vary in the number of twists per foot and quality.
• For example, Category 3 cables have 2 twists per foot whereas
Category 5 has 12.
• The higher categories allow transmitting data at higher speeds.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 15 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Table: Categories of unshielded twisted-pair cables
Cate-
gory
Specification Data
Rate
(Mbps
Use
CAT 1 Unshielded twisted-pair
used in telephone
> 0.1 Used for voice only, not
for data.
CAT 2 Unshielded twisted-pair
originally used in T-lines
2-4 Used for carrying data
at rate of 4 Mbps for Lo-
cal Talk
CAT 3 Improved CAT 2 used in
LANs .Contains 4 pair
of wires, with possible
maximum bandwidth of
16 Mbps
10 Used for 10 Mbps Eth-
ernet and 4 Mbps Token
Ring.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 16 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
CAT 4 Improved CAT 3 used in
Token Ring networks
20 Used with 10 Mbps Eth-
ernet and 16 Mbps To-
ken Ring.
Contains 4 pair of wires;
provides more protec-
tion to crosstalk than
CAT 3
CAT 5 Cable wire is normally
24 AWG with a jacket
and outside sheath.
Contains 4 pair of
wires; it has better
protection for crosstalk.
100 Used for 100 Mbps Eth-
ernet (Fast Ethernet)
(Mettu University) 03 Transmission Media and Switching July 25, 2022 17 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
CAT 6 Contains 4 pair of wires;
it can carry data at rate
of 1Gbps.
1000 Used for Gigabit Ether-
net that can carry data
at rate of 1000Mbps
(Mettu University) 03 Transmission Media and Switching July 25, 2022 18 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
• There are three types of UTP cables
1 Straight-through cable
2 Crossover cable
3 Rollover cable
(Mettu University) 03 Transmission Media and Switching July 25, 2022 19 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Straight-Through Cable
• This Ethernet network cable is made of 4 pair high performance cable
that consists twisted pair conductors that used for data transmission.
• Both end of cable is called RJ45 connector.
• they are primarily used to connect unlike devices, like Router to
Hub/Switch, Computer to Hub/Switch
• The cable can be categorized as Cat 5, Cat 5e, Cat 6 UTP cable.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 20 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Straight-Through Cable …
• You usually use straight cable to connect different type of devices.
• This type of cable will be used most of the time and can be used to:
• Connect a computer to a switch/hub’s normal port.
• Connect a computer to a cable/DSL modem’s LAN port.
• Connect a router’s WAN port to a cable/DSL modem’s LAN port.
• Connect a router’s LAN port to a switch/hub’s uplink port. (normally
used for expanding network)
• Connect 2 switches/hubs with one of the switch/hub using an uplink
port and the other one using normal port.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 21 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
(Mettu University) 03 Transmission Media and Switching July 25, 2022 22 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Crossover Cable
• …the only difference is each type will have different wire arrangement
in the cable for serving different purposes.
• in Crossover cable the wires orange-white and green-white, and then
the orange and green are switched
• they are primarily used to connect like devices, like Router to
Router/Computer, Computer to Computer, Hub to Hub, and Switch
to Switch
(Mettu University) 03 Transmission Media and Switching July 25, 2022 23 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Applications
• Twisted-pair cables are used in telephone lines to provide voice and
data channels.
• The local loop-the line that connects subscribers to the central
telephone office—commonly consists of unshielded twisted-pair cables.
• The DSL lines that are used by the telephone companies to provide
high-data-rate connections also use the high-bandwidth capability of
unshielded twisted-pair cables.
• Local-area networks, such as lOBase-T and lOOBase-T, also use
twisted-pair cables.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 24 / 70
Transmission Media Guided Media
Twisted-Pair Cable …
Rollover Cable
• in Rollover cable one end of the cable wired exactly opposite from the
other
• it connects a device to a router or switchs console port.
• it allows a programmer to make a connection to the router or switch,
and program it as needed
(Mettu University) 03 Transmission Media and Switching July 25, 2022 25 / 70
Transmission Media Guided Media
Coaxial Cable
• Coax has a central core conductor of solid or stranded wire (usually
copper) enclosed in an insulating sheath,
• …which is, in turn, encased in an outer conductor of metal foil, braid,
or a combination of the two.
• The outer metallic wrapping serves both as a shield against noise and
as the second conductor, which completes the circuit.
• This outer conductor is also enclosed in an insulating sheath, and the
whole cable is protected by a plastic cover
(Mettu University) 03 Transmission Media and Switching July 25, 2022 26 / 70
Transmission Media Guided Media
Coaxial Cable …
• Coaxial cable (or coax) carries signals of higher frequency ranges than
those in twisted pair cable
• To connect coaxial cable to devices, we need coaxial connectors.
• The most common type of connector used today is the
Bayone-Neill-Concelman (BNe), connector
• Three popular types of BNe connectors
(Mettu University) 03 Transmission Media and Switching July 25, 2022 27 / 70
Transmission Media Guided Media
Coaxial Cable …
• Coaxial cable (or coax) carries signals of higher frequency ranges than
those in twisted pair cable
• To connect coaxial cable to devices, we need coaxial connectors.
• The most common type of connector used today is the
Bayone-Neill-Concelman (BNe), connector
• Three popular types of BNe connectors
(Mettu University) 03 Transmission Media and Switching July 25, 2022 27 / 70
Transmission Media Guided Media
Coaxial Cable …
1 BNC connector
• …used to connect the end of the cable to a device, such as a TV set.
2 BNC T connector
• …used in Ethernet networks to branch out to a connection to a
computer or other device.
3 BNC terminator
• …used at the bend of the cable to prevent the reflection of the signal.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 28 / 70
Transmission Media Guided Media
Coaxial Cable …
Applications
• Coaxial cable was widely used in analog telephone networks where a
single coaxial network could carry 10,000 voice signals.
• it was used in digital telephone networks where a single coaxial cable
could carry digital data up to 600 Mbps.
• However, coaxial cable in telephone networks has largely been
replaced today with fiber-optic cable
• Cable TV networks also use coaxial cables.
• Another common application of coaxial cable is in traditional
Ethernet LANs
(Mettu University) 03 Transmission Media and Switching July 25, 2022 29 / 70
Transmission Media Guided Media
Fiber-Optic Cable
• A fiber-optic cable is made of glass or plastic and transmits signals in
the form of light.
• It transfers data in the form of light rather than electrical signals.
• Optical fibers use reflection to guide light through a channel.
• A glass or plastic core is surrounded by a cladding of less dense glass
or plastic.
• The difference in density of the two materials must be such that a
beam of light moving through the core is reflected off the cladding
instead of being refracted into it.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 30 / 70
Transmission Media Guided Media
Fiber-Optic Cable …
Fiber-Optic Cable Connectors
• There are three types of connectors for fiber-optic cables
1 Subscriber channel (SC) connector
2 Straight-tip (ST) connector
3 MT-RJ
(Mettu University) 03 Transmission Media and Switching July 25, 2022 31 / 70
Transmission Media Guided Media
Fiber-Optic Cable …
• The subscriber channel (SC) connector is used for cable TV.
• …It uses a push/pull locking system.
• The straight-tip (ST) connector is used for connecting cable to
networking devices.
• …It uses a bayonet locking system and is more reliable than SC.
• MT-RJ is a connector that is the same size as RJ45.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 32 / 70
Transmission Media Guided Media
Fiber-Optic Cable …
Applications
• Fiber-optic cable is often found in backbone networks because its
wide bandwidth is cost-effective.
• Today, with wavelength-division multiplexing (WDM), we can transfer
data at a rate of 1600 Gbps.
• The SONET network that provides such a backbone
• Some cable TV companies use a combination of optical fiber and
coaxial cable,
• …thus creating a hybrid network.
• …Optical fiber provides the backbone structure while coaxial cable
provides the connection to the user premises
• Local-area networks such as 100Base-FX network (Fast Ethernet) and
1000Base-X also use fiber-optic cable.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 33 / 70
Transmission Media Guided Media
Fiber-Optic Cable …
• Fiber-optic cable has several advantages over metallic cable
(twisted-pair or coaxial).
• Higher bandwidth.
• Fiber-optic cable can support dramatically higher bandwidths (and
hence data rates) than either twisted-pair or coaxial cable.
• Currently, data rates and bandwidth utilization over fiber-optic cable
are limited not by the medium but by the signal generation and
reception technology available.
• Less signal attenuation
• Fiber-optic transmission distance is significantly greater than that of
other guided media.
• A signal can run for 50 km without requiring regeneration.
• We need repeaters every 5 km for coaxial or twisted-pair cable.
• Immunity to electromagnetic interference.
• Electromagnetic noise cannot affect fiber-optic cables.
• Resistance to corrosive materials
• Glass is more resistant to corrosive materials than copper.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 34 / 70
Transmission Media Guided Media
Fiber-Optic Cable …
• There are some disadvantages in the use of optical fiber
• 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
(Mettu University) 03 Transmission Media and Switching July 25, 2022 35 / 70
Transmission Media Unguided: Wireless
Outline
1 Transmission Media
Guided Media
Unguided: Wireless
2 Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 36 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless
• Unguided media transport electromagnetic waves without using a
physical conductor.
• Signals are normally broadcast through free space and thus are
available to anyone who has a device capable of receiving them.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 37 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
• Unguided signals can travel from the source to destination in several
ways:
1 Ground propagation
2 Sky propagation
3 Line-of-sight propagation
(Mettu University) 03 Transmission Media and Switching July 25, 2022 38 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Ground propagation
• radio waves travel through the lowest portion of the atmosphere,
hugging the earth.
• These low-frequency signals emanate in all directions from the
transmitting antenna and follow the curvature of the planet.
• Distance depends on the amount of power in the signal:
• …The greater the power, the greater the distance.
Sky propagation
• higher-frequency radio waves radiate upward into the ionosphere(the
layer of atmosphere where particles exist as ions)
• …where they are reflected back to earth.
• This type of transmission allows for greater distances with lower
output power.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 39 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Ground propagation
• radio waves travel through the lowest portion of the atmosphere,
hugging the earth.
• These low-frequency signals emanate in all directions from the
transmitting antenna and follow the curvature of the planet.
• Distance depends on the amount of power in the signal:
• …The greater the power, the greater the distance.
Sky propagation
• higher-frequency radio waves radiate upward into the ionosphere(the
layer of atmosphere where particles exist as ions)
• …where they are reflected back to earth.
• This type of transmission allows for greater distances with lower
output power.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 39 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Line-of-sight propagation
• …very high-frequency signals are transmitted in straight lines directly
from antenna to antenna.
• Antennas must be directional, facing each other, and either tall
enough or close enough together not to be affected by the curvature
of the earth.
• Line-of-sight propagation is tricky because radio transmissions cannot
be completely focused.
• The section of the electromagnetic spectrum defined as radio waves
and microwaves is divided into eight ranges, called bands,
• …each regulated by government authorities.
• These bands are rated from very low frequency (VLF) to extremely
high frequency (EHF)
(Mettu University) 03 Transmission Media and Switching July 25, 2022 40 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Line-of-sight propagation
• …very high-frequency signals are transmitted in straight lines directly
from antenna to antenna.
• Antennas must be directional, facing each other, and either tall
enough or close enough together not to be affected by the curvature
of the earth.
• Line-of-sight propagation is tricky because radio transmissions cannot
be completely focused.
• The section of the electromagnetic spectrum defined as radio waves
and microwaves is divided into eight ranges, called bands,
• …each regulated by government authorities.
• These bands are rated from very low frequency (VLF) to extremely
high frequency (EHF)
(Mettu University) 03 Transmission Media and Switching July 25, 2022 40 / 70
Transmission Media Unguided: Wireless
Figure: Bands
(Mettu University) 03 Transmission Media and Switching July 25, 2022 41 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
• We can divide wireless transmission into three broad groups:
(Mettu University) 03 Transmission Media and Switching July 25, 2022 42 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Radio Waves
• Although there is no clear-cut demarcation between radio waves and
microwaves,
• …electromagnetic waves ranging in frequencies between 3 kHz and 1
GHz are normally called radio waves;
• …waves ranging in frequencies between 1 and 300 GHz are called
microwaves.
• Radio waves, for the most part, are omnidirectional.
• When an antenna transmits radio waves, they are propagated in all
directions.
• This means that the sending and receiving antennas do not have to
be aligned.
• A sending antenna sends waves that can be received by any receiving
antenna.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 43 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Radio Waves
• Although there is no clear-cut demarcation between radio waves and
microwaves,
• …electromagnetic waves ranging in frequencies between 3 kHz and 1
GHz are normally called radio waves;
• …waves ranging in frequencies between 1 and 300 GHz are called
microwaves.
• Radio waves, for the most part, are omnidirectional.
• When an antenna transmits radio waves, they are propagated in all
directions.
• This means that the sending and receiving antennas do not have to
be aligned.
• A sending antenna sends waves that can be received by any receiving
antenna.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 43 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Applications
• Radio waves are used for multicast communications
• The omnidirectional characteristics of radio waves make them useful
for multicasting,
• …in which there is one sender but many receivers.
• AM and FM radio, television, maritime radio, cordless phones, and
paging are examples of multicasting.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 44 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Microwaves
• Electromagnetic waves having frequencies between 1 and 300 GHz are
called microwaves.
• Microwaves are unidirectional.
• When an antenna transmits microwave waves, they can be narrowly
focused.
• This means that the sending and receiving antennas need to be
aligned.
• The unidirectional property has an obvious advantage.
• A pair of antennas can be aligned without interfering with another
pair of aligned antennas.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 45 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Microwaves
• Electromagnetic waves having frequencies between 1 and 300 GHz are
called microwaves.
• Microwaves are unidirectional.
• When an antenna transmits microwave waves, they can be narrowly
focused.
• This means that the sending and receiving antennas need to be
aligned.
• The unidirectional property has an obvious advantage.
• A pair of antennas can be aligned without interfering with another
pair of aligned antennas.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 45 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Microwaves
Unidirectional Antenna
• Microwaves need unidirectional antennas that send out signals in one
direction.
• Two types of antennas are used for microwave communications: the
parabolic dish and the horn
(Mettu University) 03 Transmission Media and Switching July 25, 2022 46 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Microwaves
Applications
• Microwaves, due to their unidirectional properties, are very useful
when unicast (one-to-one) communication is needed between the
sender and the receiver.
• They are used in cellular phones , satellite networks , and wireless
LANs
(Mettu University) 03 Transmission Media and Switching July 25, 2022 47 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Infrared
• Infrared waves, with frequencies from 300 GHz to 400 THz
(wavelengths from 1 mm to 770 nm),
• …can be used for short-range communication.
• Infrared waves, having high frequencies, cannot penetrate walls.
• This advantageous characteristic prevents interference between one
system and another;
• …a short-range communication system in one room cannot be affected
by another system in the next room.
• When we use our infrared remote control, we do not interfere with the
use of the remote by our neighbors.
• However, this same characteristic makes infrared signals useless for
long-range communication.
• In addition, we cannot use infrared waves outside a building because
the sun’s rays contain infrared waves that can interfere with the
communication.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 48 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Infrared
• Infrared waves, with frequencies from 300 GHz to 400 THz
(wavelengths from 1 mm to 770 nm),
• …can be used for short-range communication.
• Infrared waves, having high frequencies, cannot penetrate walls.
• This advantageous characteristic prevents interference between one
system and another;
• …a short-range communication system in one room cannot be affected
by another system in the next room.
• When we use our infrared remote control, we do not interfere with the
use of the remote by our neighbors.
• However, this same characteristic makes infrared signals useless for
long-range communication.
• In addition, we cannot use infrared waves outside a building because
the sun’s rays contain infrared waves that can interfere with the
communication.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 48 / 70
Transmission Media Unguided: Wireless
Unguided: Wireless …
Infrared
Applications
• The infrared band, almost 400 THz, has an excellent potential for
data transmission.
• Such a wide bandwidth can be used to transmit digital data with a
very high data rate.
• The Infrared Data Association (IrDA),
• …an association for sponsoring the use of infrared waves,
• …has established standards for using these signals for communication
between devices such as keyboards, mice, PCs, and printers.
• For example, some manufacturers provide a special port called the
IrDA port that allows a wireless keyboard to communicate with a PC.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 49 / 70
Switching
Outline
1 Transmission Media
Guided Media
Unguided: Wireless
2 Switching
Circuit-switched Networks
Packet-switched Networks
Message Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 50 / 70
Switching
Basic Idea
• A network is a set of connected devices
• Whenever we have multiple devices, we have the problem of how to
connect them to make one-to-one communication possible.
• One solution is to make a point-to-point connection between each
pair of devices
• (a mesh topology) or between a central device and every other device
(a star topology).
• These methods, however, are impractical and wasteful when applied to
very large networks.
• The number and length of the links require too much infrastructure to
be cost-efficient,
(Mettu University) 03 Transmission Media and Switching July 25, 2022 51 / 70
Switching
Basic Idea …
• A better solution is switching.
• A switched network consists of a series of interlinked nodes, called
switches.
• Switches are devices capable of creating temporary connections
between two or more devices linked to the switch.
• In a switched network, some of these nodes are connected to the end
systems (computers or telephones, for example).
• Others are used only for routing.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 52 / 70
Switching
Three Methods of Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 53 / 70
Switching Circuit-switched Networks
Outline
1 Transmission Media
2 Switching
Circuit-switched Networks
Packet-switched Networks
Message Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 54 / 70
Switching Circuit-switched Networks
Circuit-switched Networks
• A circuit-switched network consists of a set of switches connected by
physical links.
• A connection between two stations is a dedicated path made of one
or more links.
• However, each connection uses only one dedicated channel on each
link.
• Each link is normally divided into n channels by using FDM or TDM
(Mettu University) 03 Transmission Media and Switching July 25, 2022 55 / 70
Switching Circuit-switched Networks
Circuit-switched Networks …
• Three Phases
1 Setup phase
• Before the two parties (or multiple parties in a conference call) can
communicate,
• …a dedicated circuit (combination of channels in links) needs to be
established.
• The end systems are normally connected through dedicated lines to the
switches,
• …so connection setup means creating dedicated channels between the
switches.
2 Data Transfer Phase
• After the establishment of the dedicated circuit (channels), the two
parties can transfer data.
3 Teardown Phase
• When one of the parties needs to disconnect, a signal is sent to each
switch to release the resources.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 56 / 70
Switching Circuit-switched Networks
Circuit-switched Networks …
• Three Phases
1 Setup phase
• Before the two parties (or multiple parties in a conference call) can
communicate,
• …a dedicated circuit (combination of channels in links) needs to be
established.
• The end systems are normally connected through dedicated lines to the
switches,
• …so connection setup means creating dedicated channels between the
switches.
2 Data Transfer Phase
• After the establishment of the dedicated circuit (channels), the two
parties can transfer data.
3 Teardown Phase
• When one of the parties needs to disconnect, a signal is sent to each
switch to release the resources.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 56 / 70
Switching Circuit-switched Networks
Circuit-switched Networks …
• Three Phases
1 Setup phase
• Before the two parties (or multiple parties in a conference call) can
communicate,
• …a dedicated circuit (combination of channels in links) needs to be
established.
• The end systems are normally connected through dedicated lines to the
switches,
• …so connection setup means creating dedicated channels between the
switches.
2 Data Transfer Phase
• After the establishment of the dedicated circuit (channels), the two
parties can transfer data.
3 Teardown Phase
• When one of the parties needs to disconnect, a signal is sent to each
switch to release the resources.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 56 / 70
Switching Packet-switched Networks
Outline
1 Transmission Media
2 Switching
Circuit-switched Networks
Packet-switched Networks
Message Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 57 / 70
Switching Packet-switched Networks
Packet-switched Networks
• With packet switching, messages are broken into discrete units called
packets that are routed to their destination.
• Each packet contains data and headers.
• Headers contain information such as source and destination address.
• The channel can be shared among many sessions to achieve higher
utilization.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 58 / 70
Switching Packet-switched Networks
Packet-switched Networks …
• In packet switching, there is no resource allocation for a packet.
• This means that there is no reserved bandwidth on the links, and
there is no scheduled processing time for each packet
• Resources are allocated on demand.
• The allocation is done on a first come, first-served basis.
• When a switch receives a packet, no matter what is the source or
destination, the packet must wait if there are other packets being
processed.
• As with other systems in our daily life, this lack of reservation may
create delay.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 59 / 70
Switching Packet-switched Networks
Packet-switched Networks …
• Packet switching is divided into two approaches:
1 Datagram approach – mainly used in the Network Layer
2 Virtual Circuit approach – a Data Link Layer technology
(Mettu University) 03 Transmission Media and Switching July 25, 2022 60 / 70
Switching Packet-switched Networks
Datagram network
• In a datagram network, each packet is treated independently of all
others.
• Even if a packet is part of a multipacket transmission, the network
treats it as though it existed alone.
• Packets in this approach are referred to as datagrams
• Datagram switching is normally done at the network layer.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 61 / 70
Switching Packet-switched Networks
Packet-switched Networks …
(Mettu University) 03 Transmission Media and Switching July 25, 2022 62 / 70
Switching Packet-switched Networks
Datagram network …
• The datagram networks are sometimes referred to as connectionless
networks.
• …connectionless here means that the switch (packet switch) does not
keep information about the connection state.
• There are no setup or teardown phases.
• Each packet is treated the same by a switch regardless of its source or
destination.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 63 / 70
Switching Packet-switched Networks
Datagram network …
Routing Table
• If there are no setup or teardown phases, how are the packets routed
to their destinations in a datagram network?
• In datagram network, each switch (or packet switch) has a routing
table
• …which is based on the destination address.
• The routing tables are dynamic and are updated periodically.
• The destination addresses and the corresponding forwarding output
ports are recorded in the tables.
• This is different from the table of a circuit-switched network
• …in which each entry is created when the setup phase is completed
and deleted when the teardown phase is over.
• A switch in a datagram network uses a routing table that is based on
the destination address
(Mettu University) 03 Transmission Media and Switching July 25, 2022 64 / 70
Switching Packet-switched Networks
Datagram network …
Routing Table
• If there are no setup or teardown phases, how are the packets routed
to their destinations in a datagram network?
• In datagram network, each switch (or packet switch) has a routing
table
• …which is based on the destination address.
• The routing tables are dynamic and are updated periodically.
• The destination addresses and the corresponding forwarding output
ports are recorded in the tables.
• This is different from the table of a circuit-switched network
• …in which each entry is created when the setup phase is completed
and deleted when the teardown phase is over.
• A switch in a datagram network uses a routing table that is based on
the destination address
(Mettu University) 03 Transmission Media and Switching July 25, 2022 64 / 70
Switching Packet-switched Networks
Datagram network …
Destination Address
• Every packet in a datagram network carries a header that contains,
• …among other information, the destination address of the packet.
• When the switch receives the packet, this destination address is
examined;
• …the routing table is consulted to find the corresponding port through
which the packet should be forwarded.
• This address, unlike the address in a virtual-circuit-switched network,
remains the same during the entire journey of the packet.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 65 / 70
Switching Packet-switched Networks
Virtual-Circuit Networks
• A virtual-circuit network is a cross between a circuit-switched network
and a datagram network.
• It has some characteristics of both.
1 As in a circuit-switched network, there are setup and teardown phases
in addition to the data transfer phase
2 Resources can be allocated during the setup phase, as in a
circuit-switched network, or on demand, as in a datagram network.
3 As in a datagram network, data are packetized and each packet carries
an address in the header
4 As in a circuit-switched network, all packets follow the same path
established during the connection.
5 A virtual-circuit network is normally implemented in the data-link layer,
6 while a circuit-switched network is implemented in the physical layer
and a datagram network in the network layer.
(Mettu University) 03 Transmission Media and Switching July 25, 2022 66 / 70
Switching Packet-switched Networks
Virtual-Circuit Networks …
(Mettu University) 03 Transmission Media and Switching July 25, 2022 67 / 70
Switching Message Switching
Outline
1 Transmission Media
2 Switching
Circuit-switched Networks
Packet-switched Networks
Message Switching
(Mettu University) 03 Transmission Media and Switching July 25, 2022 68 / 70
Switching Message Switching
Message Switching
• An alternative switching strategy is message switching.
• In this form of switching, no physical path is established in advance
between sender and receiver.
• Instead, when the sender has a block of data to be sent, it is stored in
the first switching office (i.e., router) and then forwarded later, one
hop at a time.
• Each block is received in its entirety, inspected for errors, and
• …then retransmitted.
• Since messages can be very large, this can cause buffering problems
and high mean delay times
(Mettu University) 03 Transmission Media and Switching July 25, 2022 69 / 70
Switching Message Switching
Switching and TCP/IP Layers
1 Switching at Physical Layer
• At the physical layer, we can have only circuit switching.
• There are no packets exchanged at the physical layer.
• The switches at the physical layer allow signals to travel in one path or
another
2 Switching at Data-Link Layer
• At the data-link layer, we can have packet switching.
• However, the term packet in this case means frames or cells.
• Packet switching at the data-link layer is normally done using a
virtual-circuit approach.
3 Switching at Network Layer
• …either a virtual-circuit approach or a datagram approach can be used.
• Currently the Internet uses a datagram approach,
4 Switching at Application Layer
• At the application layer, we can have only message switching.
• The communication at the application layer occurs by exchanging
messages
(Mettu University) 03 Transmission Media and Switching July 25, 2022 70 / 70

More Related Content

PPTX
lecture_4_-_transmission_media_-_part1.pptx
PPTX
Transmission mediums in computer networks
PDF
computer.pdf
PPTX
chapter 3.1.pptx
PDF
Communication 3
PPTX
IT Infrastructure and Network Technologies - Finals by Mark John Lado
PPT
transmission media.ppt
PPTX
Guided Media.pptx
lecture_4_-_transmission_media_-_part1.pptx
Transmission mediums in computer networks
computer.pdf
chapter 3.1.pptx
Communication 3
IT Infrastructure and Network Technologies - Finals by Mark John Lado
transmission media.ppt
Guided Media.pptx

Similar to Data communication and computer network- Chapter 03.pdf (20)

PDF
COMPUTER NETWORK 27600120018_LOVEKUSH KUMAR _CSE_6TH SEM_3RD YEAR_PCC-CS602.pdf
PPTX
Transmission_media.pptx
PPT
Guided Transmission Media
PPTX
networkmedia presentation1
PPTX
Wired Connection of Telecommunication UTP&STP- Fullo, Dannyver.pptx
PPT
Transmission Media(Computer network and data communication)
PDF
transmissionmedia-160604045901.pdf
PPTX
transmissionmedia-160604045901 (1).pptx
PPTX
Transmission media
PPT
Transmision media ppt
PPT
Transmission Medium
PPTX
Networking
PPT
Medium of Transmitting DATA by marwan inayat
PPT
Medium of transmission data by marwan inayat
PPTX
Types of Cables(Guided Media for Transmisson)
PPTX
transmission media in computer network
PPTX
Guided Transmission Media in Computer Networks
PPTX
Networking
PPTX
Networking
PPT
Ta 104-media-3
COMPUTER NETWORK 27600120018_LOVEKUSH KUMAR _CSE_6TH SEM_3RD YEAR_PCC-CS602.pdf
Transmission_media.pptx
Guided Transmission Media
networkmedia presentation1
Wired Connection of Telecommunication UTP&STP- Fullo, Dannyver.pptx
Transmission Media(Computer network and data communication)
transmissionmedia-160604045901.pdf
transmissionmedia-160604045901 (1).pptx
Transmission media
Transmision media ppt
Transmission Medium
Networking
Medium of Transmitting DATA by marwan inayat
Medium of transmission data by marwan inayat
Types of Cables(Guided Media for Transmisson)
transmission media in computer network
Guided Transmission Media in Computer Networks
Networking
Networking
Ta 104-media-3
Ad

More from fikadumeuedu (19)

PPTX
Chapter 04 Object Oriented programming .pptx
PPTX
Chapter 1 history and overview of Operating system.pptx
PPTX
Operating system Chapter 3 Part-1 process and threads.pptx
PPTX
Data structure chapter 2 Time complexity of known algorithms.pptx
PDF
Information storage and Retrieval-Chapter 2 Updated.pdf
PDF
Advanced programming chapter 2 - Java Applet.pdf
PDF
Information storage and Retrieval-chapter 3.pdf
DOC
chapter 5--Data Communications and Computer Networks.doc
DOC
Chapter 4--Data representation Method.doc
PDF
windows 7 installation guide edit how to install window 7.pdf
PDF
Computer maintenance tool and parts chapter1.pdf
PPTX
Advanced Database System Chapter 2 Transaction.pptx
PDF
Data communication and computer network-Chapter 05.pdf
PDF
Data communication and computer network- chapter 04.pdf
PDF
Chapter seven Laptop and other devices1.pdf
PPTX
ARTIFICICIAL INTELLIGENT LECTURE NOTE Chapter 1.pptx
PPTX
Telecom Technologies lecture note Chapter 1.pptx
PPTX
Artificial Intelligent lecture note chapter 1.pptx
PPTX
1Chapter_ Two_ 2 Data Preparation lecture note.pptx
Chapter 04 Object Oriented programming .pptx
Chapter 1 history and overview of Operating system.pptx
Operating system Chapter 3 Part-1 process and threads.pptx
Data structure chapter 2 Time complexity of known algorithms.pptx
Information storage and Retrieval-Chapter 2 Updated.pdf
Advanced programming chapter 2 - Java Applet.pdf
Information storage and Retrieval-chapter 3.pdf
chapter 5--Data Communications and Computer Networks.doc
Chapter 4--Data representation Method.doc
windows 7 installation guide edit how to install window 7.pdf
Computer maintenance tool and parts chapter1.pdf
Advanced Database System Chapter 2 Transaction.pptx
Data communication and computer network-Chapter 05.pdf
Data communication and computer network- chapter 04.pdf
Chapter seven Laptop and other devices1.pdf
ARTIFICICIAL INTELLIGENT LECTURE NOTE Chapter 1.pptx
Telecom Technologies lecture note Chapter 1.pptx
Artificial Intelligent lecture note chapter 1.pptx
1Chapter_ Two_ 2 Data Preparation lecture note.pptx
Ad

Recently uploaded (20)

PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Classroom Observation Tools for Teachers
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPH.pptx obstetrics and gynecology in nursing
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Classroom Observation Tools for Teachers
human mycosis Human fungal infections are called human mycosis..pptx
O5-L3 Freight Transport Ops (International) V1.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Cell Structure & Organelles in detailed.
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Anesthesia in Laparoscopic Surgery in India
Week 4 Term 3 Study Techniques revisited.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Supply Chain Operations Speaking Notes -ICLT Program
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx

Data communication and computer network- Chapter 03.pdf

  • 1. Physical Layer CH-03 Transmission Media and Switching Mettu University College of Engineering and Technology Department of Information Technology July 25, 2022 (Mettu University) 03 Transmission Media and Switching July 25, 2022 1 / 70
  • 2. Lecture Topics : # 1 Transmission Media Guided Media Unguided: Wireless 2 Switching Circuit-switched Networks Packet-switched Networks Message Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 2 / 70
  • 3. Transmission Media Outline 1 Transmission Media Guided Media Unguided: Wireless 2 Switching Circuit-switched Networks Packet-switched Networks Message Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 3 / 70
  • 4. Transmission Media Transmission Media • A transmission medium can be broadly defined as anything that can carry information from a source to a destination. • Transmission media are actually located below the physical layer and are directly controlled by the physical layer (Mettu University) 03 Transmission Media and Switching July 25, 2022 4 / 70
  • 5. Transmission Media Transmission Media … • The transmission medium is usually • Free space • Metallic cable • Fiber-optic cable • The information is usually a signal that is the result of a conversion of data from another form (Mettu University) 03 Transmission Media and Switching July 25, 2022 5 / 70
  • 6. Transmission Media Transmission Media … • In telecommunications, transmission media can be divided into two broad categories: (Mettu University) 03 Transmission Media and Switching July 25, 2022 6 / 70
  • 7. Transmission Media Guided Media Outline 1 Transmission Media Guided Media Unguided: Wireless 2 Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 7 / 70
  • 8. Transmission Media Guided Media Guided Media • Guided media, which are those that provide a conduit from one device to another, • …include twisted-pair cable, coaxial cable, and fiber-optic cable. • A signal traveling along any of these media is directed and contained by the physical limits of the medium. • Guided Media are also known as bounded media , since the data signals are bounded by the cabling system. • Twisted-pair and coaxial cable use metallic (copper) conductors that accept and transport signals in the form of electric current. • Optical fiber is a cable that accepts and transports signals in the form of light. (Mettu University) 03 Transmission Media and Switching July 25, 2022 8 / 70
  • 9. Transmission Media Guided Media Guided Media • Guided media, which are those that provide a conduit from one device to another, • …include twisted-pair cable, coaxial cable, and fiber-optic cable. • A signal traveling along any of these media is directed and contained by the physical limits of the medium. • Guided Media are also known as bounded media , since the data signals are bounded by the cabling system. • Twisted-pair and coaxial cable use metallic (copper) conductors that accept and transport signals in the form of electric current. • Optical fiber is a cable that accepts and transports signals in the form of light. (Mettu University) 03 Transmission Media and Switching July 25, 2022 8 / 70
  • 10. Transmission Media Guided Media Twisted-pair cable • A twisted pair consists of two conductors (normally copper), each with its own plastic insulation, twisted together • One of the wires is used to carry signals to the receiver, and • the other is used only as a ground reference. • The receiver uses the difference between the two. (Mettu University) 03 Transmission Media and Switching July 25, 2022 9 / 70
  • 11. Transmission Media Guided Media Twisted-Pair Cable … • the twists between wires is helpful in reducing noise (electro-magnetic interference) and crosstalk • 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 (e,g., one is closer and the other is farther). • This results in a difference at the receiver. • By twisting the pairs, a balance is maintained. • There are two types of twisted pair cables available: 1 Shielded Twisted Pair (STP) 2 Unshielded Twisted Pair (UTP) (Mettu University) 03 Transmission Media and Switching July 25, 2022 10 / 70
  • 12. Transmission Media Guided Media Twisted-Pair Cable … • the twists between wires is helpful in reducing noise (electro-magnetic interference) and crosstalk • 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 (e,g., one is closer and the other is farther). • This results in a difference at the receiver. • By twisting the pairs, a balance is maintained. • There are two types of twisted pair cables available: 1 Shielded Twisted Pair (STP) 2 Unshielded Twisted Pair (UTP) (Mettu University) 03 Transmission Media and Switching July 25, 2022 10 / 70
  • 13. Transmission Media Guided Media Twisted-Pair Cable … Shielded Twisted-Pair Cable(STP) • STP cable has a metal foil or braided mesh covering that encases each pair of insulated conductors. • Although metal casing improves the quality of cable by preventing the penetration of noise or crosstalk, • …it is bulkier and more expensive. (Mettu University) 03 Transmission Media and Switching July 25, 2022 11 / 70
  • 14. Transmission Media Guided Media Twisted-Pair Cable … Shielded Twisted-Pair Cable(STP) … • This type of shielding protects cable from external Electromagnetic Interferences (EMI). • Therefore these cables can be used in noisy area. • Shielded twisted pair cable (STP) is the standard cable specified for IBM Token Ring networks and for Apple’s LocalTalk. (Mettu University) 03 Transmission Media and Switching July 25, 2022 12 / 70
  • 15. Transmission Media Guided Media Twisted-Pair Cable … Unshielded Twisted Pair (UTP) • most common twisted-pair cable used in communications. • Unshielded twisted pair ( UTP ) cables contain no shielding. • The UTP cables in computer networking have resistance rating of 100 ohm. • UTP cable most commonly includes four pairs of wires enclosed in a common sheath. • UTP is a very flexible, low cost media, and can be used for either voice or data communications. • It is easy to install and maintain. • It is widely used for cabling LAN in today’s computer network. (Mettu University) 03 Transmission Media and Switching July 25, 2022 13 / 70
  • 16. Transmission Media Guided Media Twisted-Pair Cable … • RJ45: Twisted pair cables are connected by RJ45 connectors. • The RJ45 is a keyed connector, meaning the connector can be inserted in only one way. (Mettu University) 03 Transmission Media and Switching July 25, 2022 14 / 70
  • 17. Transmission Media Guided Media Twisted-Pair Cable … • UTP cables are divided into different categories (Cat 1-6/7) which vary in the number of twists per foot and quality. • For example, Category 3 cables have 2 twists per foot whereas Category 5 has 12. • The higher categories allow transmitting data at higher speeds. (Mettu University) 03 Transmission Media and Switching July 25, 2022 15 / 70
  • 18. Transmission Media Guided Media Twisted-Pair Cable … Table: Categories of unshielded twisted-pair cables Cate- gory Specification Data Rate (Mbps Use CAT 1 Unshielded twisted-pair used in telephone > 0.1 Used for voice only, not for data. CAT 2 Unshielded twisted-pair originally used in T-lines 2-4 Used for carrying data at rate of 4 Mbps for Lo- cal Talk CAT 3 Improved CAT 2 used in LANs .Contains 4 pair of wires, with possible maximum bandwidth of 16 Mbps 10 Used for 10 Mbps Eth- ernet and 4 Mbps Token Ring. (Mettu University) 03 Transmission Media and Switching July 25, 2022 16 / 70
  • 19. Transmission Media Guided Media Twisted-Pair Cable … CAT 4 Improved CAT 3 used in Token Ring networks 20 Used with 10 Mbps Eth- ernet and 16 Mbps To- ken Ring. Contains 4 pair of wires; provides more protec- tion to crosstalk than CAT 3 CAT 5 Cable wire is normally 24 AWG with a jacket and outside sheath. Contains 4 pair of wires; it has better protection for crosstalk. 100 Used for 100 Mbps Eth- ernet (Fast Ethernet) (Mettu University) 03 Transmission Media and Switching July 25, 2022 17 / 70
  • 20. Transmission Media Guided Media Twisted-Pair Cable … CAT 6 Contains 4 pair of wires; it can carry data at rate of 1Gbps. 1000 Used for Gigabit Ether- net that can carry data at rate of 1000Mbps (Mettu University) 03 Transmission Media and Switching July 25, 2022 18 / 70
  • 21. Transmission Media Guided Media Twisted-Pair Cable … • There are three types of UTP cables 1 Straight-through cable 2 Crossover cable 3 Rollover cable (Mettu University) 03 Transmission Media and Switching July 25, 2022 19 / 70
  • 22. Transmission Media Guided Media Twisted-Pair Cable … Straight-Through Cable • This Ethernet network cable is made of 4 pair high performance cable that consists twisted pair conductors that used for data transmission. • Both end of cable is called RJ45 connector. • they are primarily used to connect unlike devices, like Router to Hub/Switch, Computer to Hub/Switch • The cable can be categorized as Cat 5, Cat 5e, Cat 6 UTP cable. (Mettu University) 03 Transmission Media and Switching July 25, 2022 20 / 70
  • 23. Transmission Media Guided Media Twisted-Pair Cable … Straight-Through Cable … • You usually use straight cable to connect different type of devices. • This type of cable will be used most of the time and can be used to: • Connect a computer to a switch/hub’s normal port. • Connect a computer to a cable/DSL modem’s LAN port. • Connect a router’s WAN port to a cable/DSL modem’s LAN port. • Connect a router’s LAN port to a switch/hub’s uplink port. (normally used for expanding network) • Connect 2 switches/hubs with one of the switch/hub using an uplink port and the other one using normal port. (Mettu University) 03 Transmission Media and Switching July 25, 2022 21 / 70
  • 24. Transmission Media Guided Media Twisted-Pair Cable … (Mettu University) 03 Transmission Media and Switching July 25, 2022 22 / 70
  • 25. Transmission Media Guided Media Twisted-Pair Cable … Crossover Cable • …the only difference is each type will have different wire arrangement in the cable for serving different purposes. • in Crossover cable the wires orange-white and green-white, and then the orange and green are switched • they are primarily used to connect like devices, like Router to Router/Computer, Computer to Computer, Hub to Hub, and Switch to Switch (Mettu University) 03 Transmission Media and Switching July 25, 2022 23 / 70
  • 26. Transmission Media Guided Media Twisted-Pair Cable … Applications • Twisted-pair cables are used in telephone lines to provide voice and data channels. • The local loop-the line that connects subscribers to the central telephone office—commonly consists of unshielded twisted-pair cables. • The DSL lines that are used by the telephone companies to provide high-data-rate connections also use the high-bandwidth capability of unshielded twisted-pair cables. • Local-area networks, such as lOBase-T and lOOBase-T, also use twisted-pair cables. (Mettu University) 03 Transmission Media and Switching July 25, 2022 24 / 70
  • 27. Transmission Media Guided Media Twisted-Pair Cable … Rollover Cable • in Rollover cable one end of the cable wired exactly opposite from the other • it connects a device to a router or switchs console port. • it allows a programmer to make a connection to the router or switch, and program it as needed (Mettu University) 03 Transmission Media and Switching July 25, 2022 25 / 70
  • 28. Transmission Media Guided Media Coaxial Cable • Coax has a central core conductor of solid or stranded wire (usually copper) enclosed in an insulating sheath, • …which is, in turn, encased in an outer conductor of metal foil, braid, or a combination of the two. • The outer metallic wrapping serves both as a shield against noise and as the second conductor, which completes the circuit. • This outer conductor is also enclosed in an insulating sheath, and the whole cable is protected by a plastic cover (Mettu University) 03 Transmission Media and Switching July 25, 2022 26 / 70
  • 29. Transmission Media Guided Media Coaxial Cable … • Coaxial cable (or coax) carries signals of higher frequency ranges than those in twisted pair cable • To connect coaxial cable to devices, we need coaxial connectors. • The most common type of connector used today is the Bayone-Neill-Concelman (BNe), connector • Three popular types of BNe connectors (Mettu University) 03 Transmission Media and Switching July 25, 2022 27 / 70
  • 30. Transmission Media Guided Media Coaxial Cable … • Coaxial cable (or coax) carries signals of higher frequency ranges than those in twisted pair cable • To connect coaxial cable to devices, we need coaxial connectors. • The most common type of connector used today is the Bayone-Neill-Concelman (BNe), connector • Three popular types of BNe connectors (Mettu University) 03 Transmission Media and Switching July 25, 2022 27 / 70
  • 31. Transmission Media Guided Media Coaxial Cable … 1 BNC connector • …used to connect the end of the cable to a device, such as a TV set. 2 BNC T connector • …used in Ethernet networks to branch out to a connection to a computer or other device. 3 BNC terminator • …used at the bend of the cable to prevent the reflection of the signal. (Mettu University) 03 Transmission Media and Switching July 25, 2022 28 / 70
  • 32. Transmission Media Guided Media Coaxial Cable … Applications • Coaxial cable was widely used in analog telephone networks where a single coaxial network could carry 10,000 voice signals. • it was used in digital telephone networks where a single coaxial cable could carry digital data up to 600 Mbps. • However, coaxial cable in telephone networks has largely been replaced today with fiber-optic cable • Cable TV networks also use coaxial cables. • Another common application of coaxial cable is in traditional Ethernet LANs (Mettu University) 03 Transmission Media and Switching July 25, 2022 29 / 70
  • 33. Transmission Media Guided Media Fiber-Optic Cable • A fiber-optic cable is made of glass or plastic and transmits signals in the form of light. • It transfers data in the form of light rather than electrical signals. • Optical fibers use reflection to guide light through a channel. • A glass or plastic core is surrounded by a cladding of less dense glass or plastic. • The difference in density of the two materials must be such that a beam of light moving through the core is reflected off the cladding instead of being refracted into it. (Mettu University) 03 Transmission Media and Switching July 25, 2022 30 / 70
  • 34. Transmission Media Guided Media Fiber-Optic Cable … Fiber-Optic Cable Connectors • There are three types of connectors for fiber-optic cables 1 Subscriber channel (SC) connector 2 Straight-tip (ST) connector 3 MT-RJ (Mettu University) 03 Transmission Media and Switching July 25, 2022 31 / 70
  • 35. Transmission Media Guided Media Fiber-Optic Cable … • The subscriber channel (SC) connector is used for cable TV. • …It uses a push/pull locking system. • The straight-tip (ST) connector is used for connecting cable to networking devices. • …It uses a bayonet locking system and is more reliable than SC. • MT-RJ is a connector that is the same size as RJ45. (Mettu University) 03 Transmission Media and Switching July 25, 2022 32 / 70
  • 36. Transmission Media Guided Media Fiber-Optic Cable … Applications • Fiber-optic cable is often found in backbone networks because its wide bandwidth is cost-effective. • Today, with wavelength-division multiplexing (WDM), we can transfer data at a rate of 1600 Gbps. • The SONET network that provides such a backbone • Some cable TV companies use a combination of optical fiber and coaxial cable, • …thus creating a hybrid network. • …Optical fiber provides the backbone structure while coaxial cable provides the connection to the user premises • Local-area networks such as 100Base-FX network (Fast Ethernet) and 1000Base-X also use fiber-optic cable. (Mettu University) 03 Transmission Media and Switching July 25, 2022 33 / 70
  • 37. Transmission Media Guided Media Fiber-Optic Cable … • Fiber-optic cable has several advantages over metallic cable (twisted-pair or coaxial). • Higher bandwidth. • Fiber-optic cable can support dramatically higher bandwidths (and hence data rates) than either twisted-pair or coaxial cable. • Currently, data rates and bandwidth utilization over fiber-optic cable are limited not by the medium but by the signal generation and reception technology available. • Less signal attenuation • Fiber-optic transmission distance is significantly greater than that of other guided media. • A signal can run for 50 km without requiring regeneration. • We need repeaters every 5 km for coaxial or twisted-pair cable. • Immunity to electromagnetic interference. • Electromagnetic noise cannot affect fiber-optic cables. • Resistance to corrosive materials • Glass is more resistant to corrosive materials than copper. (Mettu University) 03 Transmission Media and Switching July 25, 2022 34 / 70
  • 38. Transmission Media Guided Media Fiber-Optic Cable … • There are some disadvantages in the use of optical fiber • 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 (Mettu University) 03 Transmission Media and Switching July 25, 2022 35 / 70
  • 39. Transmission Media Unguided: Wireless Outline 1 Transmission Media Guided Media Unguided: Wireless 2 Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 36 / 70
  • 40. Transmission Media Unguided: Wireless Unguided: Wireless • Unguided media transport electromagnetic waves without using a physical conductor. • Signals are normally broadcast through free space and thus are available to anyone who has a device capable of receiving them. (Mettu University) 03 Transmission Media and Switching July 25, 2022 37 / 70
  • 41. Transmission Media Unguided: Wireless Unguided: Wireless … • Unguided signals can travel from the source to destination in several ways: 1 Ground propagation 2 Sky propagation 3 Line-of-sight propagation (Mettu University) 03 Transmission Media and Switching July 25, 2022 38 / 70
  • 42. Transmission Media Unguided: Wireless Unguided: Wireless … Ground propagation • radio waves travel through the lowest portion of the atmosphere, hugging the earth. • These low-frequency signals emanate in all directions from the transmitting antenna and follow the curvature of the planet. • Distance depends on the amount of power in the signal: • …The greater the power, the greater the distance. Sky propagation • higher-frequency radio waves radiate upward into the ionosphere(the layer of atmosphere where particles exist as ions) • …where they are reflected back to earth. • This type of transmission allows for greater distances with lower output power. (Mettu University) 03 Transmission Media and Switching July 25, 2022 39 / 70
  • 43. Transmission Media Unguided: Wireless Unguided: Wireless … Ground propagation • radio waves travel through the lowest portion of the atmosphere, hugging the earth. • These low-frequency signals emanate in all directions from the transmitting antenna and follow the curvature of the planet. • Distance depends on the amount of power in the signal: • …The greater the power, the greater the distance. Sky propagation • higher-frequency radio waves radiate upward into the ionosphere(the layer of atmosphere where particles exist as ions) • …where they are reflected back to earth. • This type of transmission allows for greater distances with lower output power. (Mettu University) 03 Transmission Media and Switching July 25, 2022 39 / 70
  • 44. Transmission Media Unguided: Wireless Unguided: Wireless … Line-of-sight propagation • …very high-frequency signals are transmitted in straight lines directly from antenna to antenna. • Antennas must be directional, facing each other, and either tall enough or close enough together not to be affected by the curvature of the earth. • Line-of-sight propagation is tricky because radio transmissions cannot be completely focused. • The section of the electromagnetic spectrum defined as radio waves and microwaves is divided into eight ranges, called bands, • …each regulated by government authorities. • These bands are rated from very low frequency (VLF) to extremely high frequency (EHF) (Mettu University) 03 Transmission Media and Switching July 25, 2022 40 / 70
  • 45. Transmission Media Unguided: Wireless Unguided: Wireless … Line-of-sight propagation • …very high-frequency signals are transmitted in straight lines directly from antenna to antenna. • Antennas must be directional, facing each other, and either tall enough or close enough together not to be affected by the curvature of the earth. • Line-of-sight propagation is tricky because radio transmissions cannot be completely focused. • The section of the electromagnetic spectrum defined as radio waves and microwaves is divided into eight ranges, called bands, • …each regulated by government authorities. • These bands are rated from very low frequency (VLF) to extremely high frequency (EHF) (Mettu University) 03 Transmission Media and Switching July 25, 2022 40 / 70
  • 46. Transmission Media Unguided: Wireless Figure: Bands (Mettu University) 03 Transmission Media and Switching July 25, 2022 41 / 70
  • 47. Transmission Media Unguided: Wireless Unguided: Wireless … • We can divide wireless transmission into three broad groups: (Mettu University) 03 Transmission Media and Switching July 25, 2022 42 / 70
  • 48. Transmission Media Unguided: Wireless Unguided: Wireless … Radio Waves • Although there is no clear-cut demarcation between radio waves and microwaves, • …electromagnetic waves ranging in frequencies between 3 kHz and 1 GHz are normally called radio waves; • …waves ranging in frequencies between 1 and 300 GHz are called microwaves. • Radio waves, for the most part, are omnidirectional. • When an antenna transmits radio waves, they are propagated in all directions. • This means that the sending and receiving antennas do not have to be aligned. • A sending antenna sends waves that can be received by any receiving antenna. (Mettu University) 03 Transmission Media and Switching July 25, 2022 43 / 70
  • 49. Transmission Media Unguided: Wireless Unguided: Wireless … Radio Waves • Although there is no clear-cut demarcation between radio waves and microwaves, • …electromagnetic waves ranging in frequencies between 3 kHz and 1 GHz are normally called radio waves; • …waves ranging in frequencies between 1 and 300 GHz are called microwaves. • Radio waves, for the most part, are omnidirectional. • When an antenna transmits radio waves, they are propagated in all directions. • This means that the sending and receiving antennas do not have to be aligned. • A sending antenna sends waves that can be received by any receiving antenna. (Mettu University) 03 Transmission Media and Switching July 25, 2022 43 / 70
  • 50. Transmission Media Unguided: Wireless Unguided: Wireless … Applications • Radio waves are used for multicast communications • The omnidirectional characteristics of radio waves make them useful for multicasting, • …in which there is one sender but many receivers. • AM and FM radio, television, maritime radio, cordless phones, and paging are examples of multicasting. (Mettu University) 03 Transmission Media and Switching July 25, 2022 44 / 70
  • 51. Transmission Media Unguided: Wireless Unguided: Wireless … Microwaves • Electromagnetic waves having frequencies between 1 and 300 GHz are called microwaves. • Microwaves are unidirectional. • When an antenna transmits microwave waves, they can be narrowly focused. • This means that the sending and receiving antennas need to be aligned. • The unidirectional property has an obvious advantage. • A pair of antennas can be aligned without interfering with another pair of aligned antennas. (Mettu University) 03 Transmission Media and Switching July 25, 2022 45 / 70
  • 52. Transmission Media Unguided: Wireless Unguided: Wireless … Microwaves • Electromagnetic waves having frequencies between 1 and 300 GHz are called microwaves. • Microwaves are unidirectional. • When an antenna transmits microwave waves, they can be narrowly focused. • This means that the sending and receiving antennas need to be aligned. • The unidirectional property has an obvious advantage. • A pair of antennas can be aligned without interfering with another pair of aligned antennas. (Mettu University) 03 Transmission Media and Switching July 25, 2022 45 / 70
  • 53. Transmission Media Unguided: Wireless Unguided: Wireless … Microwaves Unidirectional Antenna • Microwaves need unidirectional antennas that send out signals in one direction. • Two types of antennas are used for microwave communications: the parabolic dish and the horn (Mettu University) 03 Transmission Media and Switching July 25, 2022 46 / 70
  • 54. Transmission Media Unguided: Wireless Unguided: Wireless … Microwaves Applications • Microwaves, due to their unidirectional properties, are very useful when unicast (one-to-one) communication is needed between the sender and the receiver. • They are used in cellular phones , satellite networks , and wireless LANs (Mettu University) 03 Transmission Media and Switching July 25, 2022 47 / 70
  • 55. Transmission Media Unguided: Wireless Unguided: Wireless … Infrared • Infrared waves, with frequencies from 300 GHz to 400 THz (wavelengths from 1 mm to 770 nm), • …can be used for short-range communication. • Infrared waves, having high frequencies, cannot penetrate walls. • This advantageous characteristic prevents interference between one system and another; • …a short-range communication system in one room cannot be affected by another system in the next room. • When we use our infrared remote control, we do not interfere with the use of the remote by our neighbors. • However, this same characteristic makes infrared signals useless for long-range communication. • In addition, we cannot use infrared waves outside a building because the sun’s rays contain infrared waves that can interfere with the communication. (Mettu University) 03 Transmission Media and Switching July 25, 2022 48 / 70
  • 56. Transmission Media Unguided: Wireless Unguided: Wireless … Infrared • Infrared waves, with frequencies from 300 GHz to 400 THz (wavelengths from 1 mm to 770 nm), • …can be used for short-range communication. • Infrared waves, having high frequencies, cannot penetrate walls. • This advantageous characteristic prevents interference between one system and another; • …a short-range communication system in one room cannot be affected by another system in the next room. • When we use our infrared remote control, we do not interfere with the use of the remote by our neighbors. • However, this same characteristic makes infrared signals useless for long-range communication. • In addition, we cannot use infrared waves outside a building because the sun’s rays contain infrared waves that can interfere with the communication. (Mettu University) 03 Transmission Media and Switching July 25, 2022 48 / 70
  • 57. Transmission Media Unguided: Wireless Unguided: Wireless … Infrared Applications • The infrared band, almost 400 THz, has an excellent potential for data transmission. • Such a wide bandwidth can be used to transmit digital data with a very high data rate. • The Infrared Data Association (IrDA), • …an association for sponsoring the use of infrared waves, • …has established standards for using these signals for communication between devices such as keyboards, mice, PCs, and printers. • For example, some manufacturers provide a special port called the IrDA port that allows a wireless keyboard to communicate with a PC. (Mettu University) 03 Transmission Media and Switching July 25, 2022 49 / 70
  • 58. Switching Outline 1 Transmission Media Guided Media Unguided: Wireless 2 Switching Circuit-switched Networks Packet-switched Networks Message Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 50 / 70
  • 59. Switching Basic Idea • A network is a set of connected devices • Whenever we have multiple devices, we have the problem of how to connect them to make one-to-one communication possible. • One solution is to make a point-to-point connection between each pair of devices • (a mesh topology) or between a central device and every other device (a star topology). • These methods, however, are impractical and wasteful when applied to very large networks. • The number and length of the links require too much infrastructure to be cost-efficient, (Mettu University) 03 Transmission Media and Switching July 25, 2022 51 / 70
  • 60. Switching Basic Idea … • A better solution is switching. • A switched network consists of a series of interlinked nodes, called switches. • Switches are devices capable of creating temporary connections between two or more devices linked to the switch. • In a switched network, some of these nodes are connected to the end systems (computers or telephones, for example). • Others are used only for routing. (Mettu University) 03 Transmission Media and Switching July 25, 2022 52 / 70
  • 61. Switching Three Methods of Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 53 / 70
  • 62. Switching Circuit-switched Networks Outline 1 Transmission Media 2 Switching Circuit-switched Networks Packet-switched Networks Message Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 54 / 70
  • 63. Switching Circuit-switched Networks Circuit-switched Networks • A circuit-switched network consists of a set of switches connected by physical links. • A connection between two stations is a dedicated path made of one or more links. • However, each connection uses only one dedicated channel on each link. • Each link is normally divided into n channels by using FDM or TDM (Mettu University) 03 Transmission Media and Switching July 25, 2022 55 / 70
  • 64. Switching Circuit-switched Networks Circuit-switched Networks … • Three Phases 1 Setup phase • Before the two parties (or multiple parties in a conference call) can communicate, • …a dedicated circuit (combination of channels in links) needs to be established. • The end systems are normally connected through dedicated lines to the switches, • …so connection setup means creating dedicated channels between the switches. 2 Data Transfer Phase • After the establishment of the dedicated circuit (channels), the two parties can transfer data. 3 Teardown Phase • When one of the parties needs to disconnect, a signal is sent to each switch to release the resources. (Mettu University) 03 Transmission Media and Switching July 25, 2022 56 / 70
  • 65. Switching Circuit-switched Networks Circuit-switched Networks … • Three Phases 1 Setup phase • Before the two parties (or multiple parties in a conference call) can communicate, • …a dedicated circuit (combination of channels in links) needs to be established. • The end systems are normally connected through dedicated lines to the switches, • …so connection setup means creating dedicated channels between the switches. 2 Data Transfer Phase • After the establishment of the dedicated circuit (channels), the two parties can transfer data. 3 Teardown Phase • When one of the parties needs to disconnect, a signal is sent to each switch to release the resources. (Mettu University) 03 Transmission Media and Switching July 25, 2022 56 / 70
  • 66. Switching Circuit-switched Networks Circuit-switched Networks … • Three Phases 1 Setup phase • Before the two parties (or multiple parties in a conference call) can communicate, • …a dedicated circuit (combination of channels in links) needs to be established. • The end systems are normally connected through dedicated lines to the switches, • …so connection setup means creating dedicated channels between the switches. 2 Data Transfer Phase • After the establishment of the dedicated circuit (channels), the two parties can transfer data. 3 Teardown Phase • When one of the parties needs to disconnect, a signal is sent to each switch to release the resources. (Mettu University) 03 Transmission Media and Switching July 25, 2022 56 / 70
  • 67. Switching Packet-switched Networks Outline 1 Transmission Media 2 Switching Circuit-switched Networks Packet-switched Networks Message Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 57 / 70
  • 68. Switching Packet-switched Networks Packet-switched Networks • With packet switching, messages are broken into discrete units called packets that are routed to their destination. • Each packet contains data and headers. • Headers contain information such as source and destination address. • The channel can be shared among many sessions to achieve higher utilization. (Mettu University) 03 Transmission Media and Switching July 25, 2022 58 / 70
  • 69. Switching Packet-switched Networks Packet-switched Networks … • In packet switching, there is no resource allocation for a packet. • This means that there is no reserved bandwidth on the links, and there is no scheduled processing time for each packet • Resources are allocated on demand. • The allocation is done on a first come, first-served basis. • When a switch receives a packet, no matter what is the source or destination, the packet must wait if there are other packets being processed. • As with other systems in our daily life, this lack of reservation may create delay. (Mettu University) 03 Transmission Media and Switching July 25, 2022 59 / 70
  • 70. Switching Packet-switched Networks Packet-switched Networks … • Packet switching is divided into two approaches: 1 Datagram approach – mainly used in the Network Layer 2 Virtual Circuit approach – a Data Link Layer technology (Mettu University) 03 Transmission Media and Switching July 25, 2022 60 / 70
  • 71. Switching Packet-switched Networks Datagram network • In a datagram network, each packet is treated independently of all others. • Even if a packet is part of a multipacket transmission, the network treats it as though it existed alone. • Packets in this approach are referred to as datagrams • Datagram switching is normally done at the network layer. (Mettu University) 03 Transmission Media and Switching July 25, 2022 61 / 70
  • 72. Switching Packet-switched Networks Packet-switched Networks … (Mettu University) 03 Transmission Media and Switching July 25, 2022 62 / 70
  • 73. Switching Packet-switched Networks Datagram network … • The datagram networks are sometimes referred to as connectionless networks. • …connectionless here means that the switch (packet switch) does not keep information about the connection state. • There are no setup or teardown phases. • Each packet is treated the same by a switch regardless of its source or destination. (Mettu University) 03 Transmission Media and Switching July 25, 2022 63 / 70
  • 74. Switching Packet-switched Networks Datagram network … Routing Table • If there are no setup or teardown phases, how are the packets routed to their destinations in a datagram network? • In datagram network, each switch (or packet switch) has a routing table • …which is based on the destination address. • The routing tables are dynamic and are updated periodically. • The destination addresses and the corresponding forwarding output ports are recorded in the tables. • This is different from the table of a circuit-switched network • …in which each entry is created when the setup phase is completed and deleted when the teardown phase is over. • A switch in a datagram network uses a routing table that is based on the destination address (Mettu University) 03 Transmission Media and Switching July 25, 2022 64 / 70
  • 75. Switching Packet-switched Networks Datagram network … Routing Table • If there are no setup or teardown phases, how are the packets routed to their destinations in a datagram network? • In datagram network, each switch (or packet switch) has a routing table • …which is based on the destination address. • The routing tables are dynamic and are updated periodically. • The destination addresses and the corresponding forwarding output ports are recorded in the tables. • This is different from the table of a circuit-switched network • …in which each entry is created when the setup phase is completed and deleted when the teardown phase is over. • A switch in a datagram network uses a routing table that is based on the destination address (Mettu University) 03 Transmission Media and Switching July 25, 2022 64 / 70
  • 76. Switching Packet-switched Networks Datagram network … Destination Address • Every packet in a datagram network carries a header that contains, • …among other information, the destination address of the packet. • When the switch receives the packet, this destination address is examined; • …the routing table is consulted to find the corresponding port through which the packet should be forwarded. • This address, unlike the address in a virtual-circuit-switched network, remains the same during the entire journey of the packet. (Mettu University) 03 Transmission Media and Switching July 25, 2022 65 / 70
  • 77. Switching Packet-switched Networks Virtual-Circuit Networks • A virtual-circuit network is a cross between a circuit-switched network and a datagram network. • It has some characteristics of both. 1 As in a circuit-switched network, there are setup and teardown phases in addition to the data transfer phase 2 Resources can be allocated during the setup phase, as in a circuit-switched network, or on demand, as in a datagram network. 3 As in a datagram network, data are packetized and each packet carries an address in the header 4 As in a circuit-switched network, all packets follow the same path established during the connection. 5 A virtual-circuit network is normally implemented in the data-link layer, 6 while a circuit-switched network is implemented in the physical layer and a datagram network in the network layer. (Mettu University) 03 Transmission Media and Switching July 25, 2022 66 / 70
  • 78. Switching Packet-switched Networks Virtual-Circuit Networks … (Mettu University) 03 Transmission Media and Switching July 25, 2022 67 / 70
  • 79. Switching Message Switching Outline 1 Transmission Media 2 Switching Circuit-switched Networks Packet-switched Networks Message Switching (Mettu University) 03 Transmission Media and Switching July 25, 2022 68 / 70
  • 80. Switching Message Switching Message Switching • An alternative switching strategy is message switching. • In this form of switching, no physical path is established in advance between sender and receiver. • Instead, when the sender has a block of data to be sent, it is stored in the first switching office (i.e., router) and then forwarded later, one hop at a time. • Each block is received in its entirety, inspected for errors, and • …then retransmitted. • Since messages can be very large, this can cause buffering problems and high mean delay times (Mettu University) 03 Transmission Media and Switching July 25, 2022 69 / 70
  • 81. Switching Message Switching Switching and TCP/IP Layers 1 Switching at Physical Layer • At the physical layer, we can have only circuit switching. • There are no packets exchanged at the physical layer. • The switches at the physical layer allow signals to travel in one path or another 2 Switching at Data-Link Layer • At the data-link layer, we can have packet switching. • However, the term packet in this case means frames or cells. • Packet switching at the data-link layer is normally done using a virtual-circuit approach. 3 Switching at Network Layer • …either a virtual-circuit approach or a datagram approach can be used. • Currently the Internet uses a datagram approach, 4 Switching at Application Layer • At the application layer, we can have only message switching. • The communication at the application layer occurs by exchanging messages (Mettu University) 03 Transmission Media and Switching July 25, 2022 70 / 70