Switching & Transmission Media
Switching & Transmission Media
Switching & Transmission Media
Network Performance
Switching
Transmission Media
AGENDA
1. Bandwidth Example:
The amount of data that can be sent from one point A network with bandwidth of 10 Mbps can pass only an
to another in a certain period of time is called average of 12,000 frames per minute with each frame
bandwidth. carrying an average of 10,000 bits. What is the
It is measured as a bit rate expressed in bits per throughput of this network?
second (bits/s) or bandwidth in hertz. Solution
2. Throughput We can calculate the throughput as
Throughput is a measure of how many units of
information a system can process in a given amount
of time.
The throughput is a measure of how fast we can
actually send data through a network. The throughput is almost one-fifth of the bandwidth in
this case.
PHYSICAL LAYER: PERFORMANCE
3. Latency (Delay)
Propagation time =Distance / (Propagation Speed)
The latency or delay defines how long it takes for an entire
The propagation speed of electromagnetic signals
message to completely arrive at the destination from the
depends on the medium and on the frequency of the
time the first bit is sent out from the source.
signal. 3 × 108 m/s.
Latency is made of four components: propagation time,
Example: 2
transmission time, queuing time and processing delay.
What is the propagation time if the distance between the two
Latency =propagation time + transmission time + queuing
points is 12,000 km? Assume the propagation speed to be
time + processing delay
2.4 × 108 m/s in cable.
3.1 Propagationn Time
Solution
Propagation time measures the time required for a bit to
We can calculate the propagation time as
travel from the source to the destination.
The propagation time is calculated by dividing the distance
by the propagation speed.
PHYSICAL LAYER: PERFORMANCE
ROUTING TABLE
If there are no setup or teardown phases.
How are the packets routed to their destinations in a datagram
network?
In this type of 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.
Each entry is created when the setup phase is completed and
deleted when the teardown phase is over. Figure shows the
routing table for a switch.
Virtual-Circuit
Networks(Connection Oriented)
A virtual-circuit network is a cross between a circuit-switched Data is divided into small units and all these small
network and a datagram network. units are appended with help of sequence number.
Overall, three phases takes place here- Setup, data
Characteristics
transfer and tear down phase.
A virtual-circuit network is normally implemented in the data-
link layer, while a circuit-switched network is implemented in
the physical layer and a datagram network in the network layer.
Before starting the transmission, it establishes a logical path or
virtual connection using signaling protocol, between sender
and receiver and all packets belongs to this flow will follow
this predefined route.
Virtual Circuit ID is provided by switches/routers to uniquely
identify this virtual connection.
Virtual-Circuit Networks(Connection
Oriented)
The network has switches that allow traffic from sources to A VCI, unlike a global address, is a small number that
destinations. has only switch scope; it is used by a frame between
A source or destination can be a computer, packet switch, two switches. When a frame arrives at a switch, it has a
bridge, or any other device that connects other networks. VCI; when it leaves, it has a different VCI.
Addressing Figure shows how the VCI in a data frame changes
In a virtual-circuit network, two types of addressing are from one switch to another. Note that a VCI does not
involved: global and local (virtual-circuit identifier). need to be a large number since each switch can use its
own unique set of VCIs.
Global Addressing
A source or a destination needs to have a global address—
an address that can be unique in the scope of the network
or internationally if the network is part of an international
network.
Virtual-Circuit Identifier
The identifier that is actually used for data transfer is called the
Three Phases
1. Data-Transfer Phase
• To transfer a frame from a source to its destination, all
switches need to have a table entry for this virtual
circuit.
• The table, in its simplest form, has four columns.
• This means that the switch holds four pieces of
information for each virtual circuit that is already set
up.
• Figure shows such a switch and its corresponding
table.
Three Phases
2. Setup Phase
In the setup phase, a switch creates an entry for a virtual circuit.
For example, suppose source A needs to create a virtual circuit to B.
Two steps are required: the setup request and the acknowledgment.
Setup Request A setup request frame is sent from the source to the destination.
Acknowledgment A special frame, called the acknowledgment frame, completes the entries
in
the switching tables.
3. Teardown Phase
In this phase, source A, after sending all frames to B, sends a special frame called a teardown
BASIS FOR COMPARISON CIRCUIT SWITCH PACKET SWITCH
Orientation Connection oriented. Connectionless.
Flexibility Inflexible, because once a path is set Flexible, because a route is created
all parts of a transmission follows the for each packet to travel to the
same path. destination.
Definition :
Unguided medium transport
electromagnetic waves without using a
physical conductor. This type of
communication is often referred to as
wireless communication.
Unguided signals can travel
from the source to the destination in
several ways: ground propagation, sky
propagation, and line-of-sight
propagation.
Types of Unguided Media
Microwaves
Electromagnetic waves having frequencies Repeaters are often needed for long distance
between 1 and 300 GHz are called microwaves. communication.
Microwaves are unidirectional. This means that the
sending and receiving antennas need to be aligned. Very high-frequency microwaves cannot penetrate
A pair of antennas can be aligned without interfering walls. This characteristic can be a disadvantage if
with another pair of aligned antennas. receivers are inside buildings.
The microwave band is relatively wide, almost 299
Characteristics
GHz. Therefore wider sub bands can be assigned,
Microwave propagation is line-of-sight. Since the and a high data rate is possible.
towers with the mounted antennas need to be in
direct sight of each other, towers that are far apart
need to be very tall.
Unidirectional Antenna
The infrared band, almost 400 THz, has an excellent potential for data transmission. 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.
The standard originally defined a data rate of 75 kbps for a distance up to8 m. The recent standard
defines a data rate of 4 Mbps.