Switching
Switching
Switching
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. 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.
Routing table in a datagram network
Efficiency
The efficiency of a datagram network is better than that
of a circuit-switched network; resources are allocated
only when there are packets to be transferred.
Delay
There may be greater delay in a datagram network than
in a virtual-circuit network.
Although there are no setup and teardown phases, each
packet may experience a wait at a
switch before it is forwarded.
The packet travels through two switches. There are three transmission times
(3T), three propagation delays (slopes 3't of the lines), and two waiting times
(WI + w2)' We ignore the processing time in each switch.
The total delay is
Total delay =3T + 3t + WI + W2
Switching in the Internet is done by using the datagram approach to packet
switching at the network layer.
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.
The network has switches that allow traffic from sources to destinations. A
source or destination can be a computer, packet switch, bridge, or any
other device that connects other networks.
Virtual-circuit network
Addressing
In a virtual-circuit network, two types of addressing are involved: global and
local (virtual-circuit identifier).
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 virtual-circuit
identifier (VCI). A VCI, unlike a global address, is a small number that has
only switch scope; it is used by a frame between two switches. When a frame
arrives at a switch, it has a VCI; when it leaves, it has a different VCl.
Virtual-circuit identifier
VCI in a data frame changes from one
switch to another. Note that a VCI does
not need to be a large number since
each switch can use its own unique set
of VCls.
Three Phases
In the setup phase, the source and destination use their global addresses to help
switches make table entries for the connection.
In the teardown phase, the source and destination inform the switches to delete
the corresponding entry.
how a frame from source A reaches destination B and how its VCI changes during
the trip. Each switch changes the VCI and routes the frame.
The data transfer phase is active until the source sends all its frames to the
destination. The procedure at the switch is the same for each frame of a message.
The process creates a virtual circuit, not a real circuit, between the source and
destination.
TELEPHONE NETWORK
• Telephone networks use circuit switching.
• The telephone network had its beginnings in the late 1800s. The entire
network, which is referred to as the plain old telephone system (POTS),
was originally an analog system using analog signals to transmit voice.
• The network, in the 1980s, began to carry data in addition to voice. The
telephone network has undergone many technical changes. The network is
now digital as well as analog.
Major Components
Local loop
Trunk Trunk
End Tandem
•
Trunks
Trunks are transmission media that handle the communication between
offices. A trunk normally handles hundreds or thousands of connections
through multiplexing. Transmission is usually through optical fibers or
satellite links.
Switching Offices
To avoid having a permanent physical link between any two subscribers, the
telephone company has switches located in a switching office. A switch
connects several local loops or trunks and allows a connection between
different subscribers.
LATAs
United States was divided into more than 200 local-access transport areas
(LATAs).
A LATA can be a small or large metropolitan area.
A small state may have one single LATA; a large state may have several
LATAs.
A LATA boundary may overlap the boundary of a state; part of a LATA can
be in one state, part in another state.
Intra-LATA Services
The services offered by the common carriers (telephone companies) inside a
LATA are called intra-LATA services. The carrier that handles these
services is called a local exchange carrier (LEC).
The carrier that provided services before 1996 owns the cabling system (local
loops) and is called the incumbent local exchange carrier (ILEC). The new
carriers that can provide services are called competitive local exchange
carriers (CLECs).
Communication inside a LATA is handled by end switches and tandem
switches. A call that can be completed by using only end offices is considered
toll-free. A call that has to go through a tandem office (intra-LATA toll office)
is charged.
Inter-LATA Services
The services between LATAs are handled by interexchange carriers (IXCs).
These carriers, sometimes called long-distance companies, provide
communication services between two customers in different LATAs. After
the act of 1996 these services can be provided by any carrier, including
those involved in intra-LATA services. Carriers providing inter-LATA
services include AT&T, MCI, WorldCom, Sprint, and Verizon.
The IXCs are long-distance carriers that provide general data communications
services including telephone service. A telephone call going through an
IXC is normally digitized, with the carriers using several types of networks
to provide service.