Академический Документы
Профессиональный Документы
Культура Документы
COMPUTER
NETWORKS
Networks Topologies
Ethernet Token-ring
Hub
3
Mesh Topology
Question
Solution
The Physical link required is n (n-1) for unidirectional links
n (n-1) = 8(8-1)
= 56 links
The Physical link required is n (n-1)/2 for bidirectional
links
n(n-1)/2 = 8(8-1)/2= 56/2
= 28 links only
7
Star Topology
Bus Topology
Ring Topology
Hub
15
16
Switching
Switched Network
18
Circuit-switched Networks
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.
Each connection uses only one dedicated channel on
each link.
Each link is divided into n channels by using FDM or
TDM.
Circuit switching takes place at the physical layer.
The resources need to be reserved during the setup
phase.
The resources remain dedicated for the entire duration of
data transfer until the teardown phase.
Data are not packetized.
No addressing involved
20
Circuit-switched Networks
Three phases
Setup phase
Establish a dedicated circuit.
An acknowledgement is sent from the destination
system.
Data transfer phase
Teardown phase
A signal is sent to each switch to release the resources.
Not resource efficient
Low delay
Switching at the physical layer in the traditional telephone
network uses the circuit-switching approach
Public Circuit Switched Network
Circuit Establishment
Blocking or Non-blocking
blocking network
may be unable to connect stations because all paths are in use
used on voice systems
non-blocking network
permits all stations to connect at once
used for some data connections
24
Datagram Networks
In packet-switched network, there is no resource reservation.
Resource are allocated on demand.
Datagram switching at the network layer.
Packets belonging to same message may travel different paths
Connectionless transmission
Every packet carries a header that contains the destination
address.
The destination address remains the same during the
transmission.
Better efficiency than circuit-switched network.
Greater delay than virtual-circuit network.
Switching in the Internet is done by using the datagram approach
to packet switching at the network layer.
Datagram
Diagram
31
A switch in a
datagram network
uses a routing table
that is based on the
destination address.
Virtual-Circuit Networks
There are setup, teardown phases, and data
transfer phase.
Resources can be allocated during the setup
phase or on demand.
Data are packetized and each packet carries
an address in the header.
All packets follow the same path.
Normally implemented in the data link layer.
Virtual
Circuit
Diagram
36
Virtual-Circuit Networks
Addressing
Global addressing create virtual-circuit identifier
Virtual-circuit Identifier used by a frame between
2 switches
Virtual-circuit identifier
Virtual-Circuit Networks
Three phases
Data transfer phase
To transfer a frame, all switches need a table entry
for this virtual circuit.
Each table has four columns
Incoming port, VCI
Outgoing port, VCI
Each switch changes the VCI of an outgoing frame
and routes the frame.
38
Virtual-Circuit Networks
Setup Phase
In the setup phase, a switch creates an entry for a virtual
circuit.
Two steps are required
The setup request
The acknowledgement
Teardown Phase
Source sends teardown request frame
Destination responds with a teardown confirmation frame
39
Virtual-Circuit Networks
Efficiency:
Resource reservation can be made during the setup or can
be on demand during the data transfer phase.
All packets belonging to the same source and destination
travel the same path.
The packets may arrive at the destination with different delay
if resource allocation is on demand.
Delay
One time setup delay and teardown delay.
If resource are allocated during the setup phase, there is no
waiting time for packets.
Switching at the data link layer in a switched WAN is
normally implemented by using virtual-circuit
techniques.
42
VPI
VP/VC Switching -1
VPI 1 VPI 3
VCI 1 VCI 1
VCI 2 VCI 2
VCI 3 VCI 3
VPI 2 VPI 4
VCI 1 VCI 1
VCI 2 VCI 2
VCI 3 VCI 3
VPI 3
VCI 3
VPI 1 VCI 4
VCI 1
VCI 2 VPI 4
VCI 3 VCI 1
VCI 4 VCI 2
VCI 3
VPI 2
VCI 1 VPI 5
VCI 2 VCI 1
VCI 3 VCI 2
VP/VC Switching -2
Advantages of Virtual Paths
simplified network architecture
increased network performance and reliability
reduced processing
short connection setup time
enhanced network services
Virtual Channel Connection Uses
between end users
end to end user data
control signals
VPC provides overall capacity
VCC organization done by users
VPC only
virtual channel identifier restriction within VPC
Control Signaling - VCC
to establish or release VCCs & VPCs
uses a separate connection
methods are:
1. semi-permanent VCC
2. meta-signaling channel
3. user to network signaling virtual channel
4. user to user signaling virtual channel
Control Signaling - VPC
methods for control signalling for VPCs:
1. Semi-permanent
2. Customer controlled
3. Network controlled
ATM Cells
ATM Header Fields
generic flow control
Virtual path identifier
Virtual channel identifier
payload type
cell loss priority
header error control
Generic Flow Control (GFC)
control traffic flow at user to network interface
(UNI) to alleviate short term overload
two sets of procedures
uncontrolled transmission
controlled transmission
every connection subject to flow control or not
if subject to flow control
may be one group (A) default
may be two groups (A and B)
flow control is from subscriber to network
Payload Type (PT) Coding
Header Error Control
ATM Service Categories
Real time - limit amount/variation of delay
Constant bit rate (CBR)
Real time variable bit rate (rt-VBR)
Non-real time - for bursty traffic
Non-real time variable bit rate (nrt-VBR)
Available bit rate (ABR)
Unspecified bit rate (UBR)
Guaranteed frame rate (GFR)
Constant Bit Rate (CBR)
fixed data rate continuously available
tight upper bound on delay
uncompressed audio and video
video conferencing
interactive audio
A/V distribution and retrieval
Real-Time Variable Bit Rate
(rt-VBR)
for time sensitive applications
tightly constrained delay and delay variation
rt-VBR applications transmit data at a rate that
varies with time
e.g. compressed video
produces varying sized image frames
original (uncompressed) frame rate constant
so compressed data rate varies
hence can statistically multiplex connections
Non-Real-Time Variable Bit Rate (nrt-VBR)
if can characterize expected bursty traffic flow
e.g. airline reservations, banking transactions
ATM net allocates resources based on this
to meet critical response-time requirements
giving improved QoS in loss and delay
end system specifies:
peak cell rate
sustainable or average rate
measure of how bursty traffic is
Available Bit Rate (ABR)
application specifies peak cell rate (PCR) and minimum
cell rate (MCR)
resources allocated to give at least MCR
spare capacity shared among all ABR sources
e.g. LAN interconnection
Unspecified Bit Rate (UBR)
may be additional capacity over and above that
used by CBR and VBR traffic
not all resources dedicated to CBR/VBR traffic
unused cells due to bursty nature of VBR
for application that can tolerate some cell loss or
variable delays
e.g. TCP based traffic
cells forwarded on FIFO basis
best effort service
ATM Bit Rate Services
Summary of ATM
3-plane high-speed cell switching
Virtual Circuit in ATM layer
2-layered VC: VPI + VCI