CSIS 625 Week
8
LANs, Switching,
Copyright 2001 and
2002 – Daniel R. Oelke
For use by students
of CSIS 625 for purposes of this class only.
I.
Overview
A.
LAN Wrap up – “newer technologies”
B.
Switching Technology
1.
Circuit Switching
2.
Circuit Switching Topologies
3.
Circuit Switching Technologies (ISDN)
4.
Packet Switching
5.
Packet Switching Technologies
II.
Newer/Upcoming LAN technologies
A.
VLANs
1.
VLAN - Virtual LAN
a)
This is not the same as VPN – Virtual Private Network
2.
VLANs are a configuration on some switches that group multiple
ports together as one LAN or broadcast domain.
3.
Different VLANs must be bridged using a router
a)
Often this router functionality is in the same box.
4.
VLANs can span switches, by adding a field to the Ethernet
frame that has a VLAN number in it.
a)
All switches must be configured with the same set of numbers
B.
Ethernet In First Mile
1.
A newer IEEE group
2.
Looking at ways to use Ethernet to connect to your home.
3.
Currently three areas being developed.
a)
Point to point over copper
b)
Point to point over fiber
c)
PON technology – Passive Optical Network.
(1)
Use of optical splitter/combiners that don’t require any
electronics.
d)
PON technology requires 2 “tricky” things
(1)
Ranging of nodes
(2)
Contention for the upstream bandwidth.
C.
802.11 - Wireless Ethernet
1.
Started out as 1 or 2Mbps using RF or infra-red links.
2.
RF uses frequencies around 2.4GHz
a)
This is the same range used by microwave ovens
b)
Water absorbs this energy very well making hard to use for
long distances.
3.
802.11b
a)
Up to 11Mbps, using 2.4Ghz spectrum
4.
802.11a
a)
Up to 54Mbps, using 5Ghz spectrum
5.
802.11g
a)
22 – 54 Mbps in the 2.4Ghz spectrum
b)
Just being standardized
c)
May run into regulatory problems due to excessive bandwidth
usage.
6.
802.11i
a)
Improved Security for wireless LANs
b)
WEP – Wired Equivalency Protocol
(1)
Current security protocol that was found to be very weak and
easily broken.
7.
802.11 – For last mile
a)
Since this is unlicensed spectrum, people have started to use
this with directional antennas for Internet Access.
b)
Unlicensed spectrum – RF bandwidth that you don’t need to buy
a license from the government to use
c)
To overcome the problems with water absorption, the link has
to be carefully set up
(1)
Line of site links
(2)
No trees in the way
d)
Typically will run at less than peak rates
8.
Additional wireless links
b)
http://www.wlana.com/
c)
http://www.midcoast.net/wirelessfaq.html
D.
RPR - Resilient Packet Rings – 802.17
1.
Another new technology – just starting out in the IEEE
2.
Idea is to provide good protection that Sonet rings enjoy,
using packet technology (most likely gig-Ethernet)
3.
Sonet Rings are circuit switch oriented, and reserve 50% of
the bandwidth on the ring for protection purposes.
a)
A Sonet protection switch occurs within 60ms
4.
Packet rings or meshs today rely on the routing protocols to
converge when a failure occurs
a)
This will often take minutes
5.
RPR goal is to protection switch as fast as Sonet
a)
60ms from start of an outage until service is restored.
III.
Switching
A.
Generic Switching technology
1.
A switched network has both end stations or nodes and
switching nodes.
2.
Switching nodes may connect to
a)
only other switching nodes
-or-
b)
other switching nodes and end stations
3.
Connections between switching nodes can handle multiple
circuits or sessions using TDM or FDM
4.
Often not enough resources in the network for all nodes
to be communicating simultaneously.
5.
Switching nodes don’t have direct connections to all other
switching nodes
6.
Usually there is more than one way to get between any two
switching nodes
a)
This improves reliability
7.
Circuit switching is common in the public telephony networks
8.
Packet switching is common in data networks.
9.
Latency - the amount of time it takes a signal to propagate
from one node to another.
10.
Jitter - the amount of variance in the latency
B.
Circuit Switching
1.
Circuit Switching - A dedicated path is established between
two stations for communication
2.
Once a connection is established it appears to the attached
devices as if they are directly connected.
3.
Switching and transmission resources are reserved for the
exclusive use of the circuit for the duration of the connection.
4.
Circuit Lifespan
a)
Circuit Establishment
(1)
Node has to signal to switching nodes who it wants to talk to.
(2)
Switching node finds and establishes path through network
(3)
Success or failure of circuit setup is communicated back to
originating node
b)
Data transfer
(1)
typically full duplex communication of data
c)
Circuit disconnect
(1)
Both ends informed of disconnect and resources in network
released for another user.
5.
Circuit Switching - pros & cons
a)
Pathway in place even if data isn’t being sent
(1)
Not the best efficiency
b)
There may be some delay in getting a circuit set up, but once
done:
(1)
latency is typically minimal
(2)
jitter is very small
C.
Circuit Switching Topologies
1.
Space Division Switches
a)
Space division switching uses space to separate the paths of
different circuits
b)
Cross bar switches have n inputs and m outputs and a switch at
every intersection
(1)
Simplest cross bar has n inputs and m outputs
(2)
needs n * m switches
(3)
See Week 8 - Figure 1
c)
Folded Cross bar switch
(1)
A folded cross bar switch has inputs and outputs wrapped
around to allow full duplex any to any connections
(2)
Requires less switches than a crossbar switch
(3)
See Week 8 - Figure 2
d)
Multistage switches
(1)
Combine multiple smaller crossbar switches
(2)
May be blocking or non-blocking based on number of input lines
and stages and size of different stages
(3)
Also called Clos switches after Charles Clos of Bell
Laboratories who published analysis of these type of switches
(4)
Usually has multiple paths increasing reliability of equipment
(5)
Three stage switch Example in Week 8 – Figure 3
(6)
Multi-stage switches pros and cons
(a)
Allows for a far greater number of lines to be serviced with a
far smaller number of cross connect switches
(b)
If blocking is allowable, even smaller number of switches
(c)
See Example in Week 8 Figure 4
2.
Time Division circuit switches
a)
By using TDM techniques, switching can be achieved
b)
Time-slot
Interchange (TSI) technique
(1)
Mux and demux on ends with the TSI in the middle
(2)
The TSI buffers all inputs and then re-sends it in a different
output
c)
TDM bus technique
(1)
Mux and demux are “smart” and can take any timeslot to any I/O
port
d)
Time Division pros and cons
(1)
With higher clocking speeds possible with modern silicon, it
is possible to build TDM switches much larger and cheaper than crossbar
switches
(2)
The clock rates after the TDM operation may get very high when
high speed inputs or high number of inputs are used.
3.
Circuit Switches - combinations
a)
For very large circuit switches a combination of TDM and
crossbar switches is often the best.
b)
Multiple stage switches using different techniques in
different stages
D.
Circuit Switching Technology
1.
ISDN - Integrated Services Digital Network
a)
What is ISDN?
(1)
Circuit-switched digital network
(a)
In reality, extension of T hierarchy to the subscriber
(2)
A misfired attempt by the circuit-switched network operators
(TELCOs) to get on the “data” bandwagon
(a)
Implemented based on carrier’s perceptions of customer needs
(b)
Total user panacea (based on TELCO view)
(3)
Designed to provide fully integrated digital services to the
user
(a)
Broadband, nonswitched
(b)
Broadband, switched
(c)
Packet switched
(d)
Signaling
(i)
Per-call, per-customer feature selection
b)
Brief history of ISDN
(1)
Initially, phone networks were analog
(2)
Local loops were analog as well
(3)
Modems were developed to allow digital communication over
analog networks
(4)
Analog and digital services to subscribers
(a)
Transition to digital services is gradual
(b)
Analog services remain in place
(c)
Customer classification emerged
(i)
Traditional POT users
(ii)
Modem users
(iii)
Digital service users
(5)
Integrated Digital Networks - IDN
(a)
Created to meet customer demands
(b)
Combination of networks available for different needs
(c)
Access to IDN
(i)
Analog local loop
(ii)
Digital local loop (Switched/56)
(iii)
High-speed dedicated pipes (leased lines)
(6)
ISDN
(a)
Integrates IDN with customer services
(b)
Replaces Analog Local Loop with digital subscriber loop
(i)
Voice transmission is digitized at the source
(ii)
Voice, data and digital video can thus be send over any
digital network (provided it is capable of handling it)
(iii)
All services are digital, available on customer demand
(iv)
ISDN also introduced unified, standardized interface for all
the services
c)
Subscriber access to ISDN
(1)
To support flexibility (and sell-ability), ISDN defines 3
channel types of different sizes
(a)
Bearer – 64 Kbps (clear-channel DS0)
(i)
Basic user channel
(ii)
Carries any type of digital information in full-duplex mode
(iii)
Supports multiplexing (non-addressable)
(iv)
Carries data end-to-end
(b)
Data – 16 or 64 Kbps (DS0 or fractional DS0)
(i)
Carries control information for B channels
(ii)
Implements common-channel signaling
(iii)
Carries control signals for all channels in the given path
(iv)
Used to connect to the network and allocate a B channel
(c)
Hybrid channels
(i)
High data rate channels – 384 Kbps, 1536 (H11) Kbps, 1920 Kbps
(H12)
d)
User Interfaces
(1)
Basic Rate Interface (BRI)
(a)
2B+D
(i)
2 B channels (initially 1)
(ii)
1 16Kbps D channel
(b)
Designed to meet residential and small (tiny) business offices
(c)
Existing twisted pair is used
(2)
Primary Rate Interface (PRI)
(a)
23 B channels
(b)
1 64Kbps D channel
(c)
8 Kbps overhead
(d)
Total: 1.544 Mbps -- Low and behold, a T1 Line!
(e)
All travel in a single path to an ISDN office
(f)
PRI can be divided into many different combinations
(g)
D channel is used to allocate network capacity accordingly
e)
ISDN Access Devices
(1)
ISDN Reference Points
(a)
Used to identify interfaces between individual ISDN devices
(b)
R – connection between a TE2 and TA
(c)
S – connection between a TA or TE1 and NT1 or NT2
(d)
T – connection between NT2 and NT1
(e)
U – connection between NT1 and ISDN office
(2)
See Week 8 - Figure 5
E.
Packet Switching
1.
Packet Switching - a packet of data is transferred from one
node to another
2.
Packet switching is designed to be more efficient for data
than circuit switching.
3.
Datagram Packet Switching - Each packet of data is treated
independently from all others
4.
Virtual Circuit Packet Switching - all packets of data that
are part of a session are sent via a single route
5.
Packets allow for greater usage of trunks between nodes
a)
Packets may be queued and transmitted as quickly as possible
b)
May create more latency and much more jitter than circuit
switched systems
c)
Unused Bandwidth in circuit switched networks can be used.
6.
On circuit switched networks, calls may be blocked, but on
packet switching the packets are just delayed
7.
Packet switching - prioritization
a)
In packet switched networks, some packets can be given higher
priority than others.
b)
This allows for those packets to be sent before lower priority
ones reducing their latency and jitter.
c)
May allow for some packets to be sent different (faster) paths
than others.
8.
Datagram packet switching
a)
Every packet is treated independently.
b)
Every switching node must examine every packets destination
and decide on where to send it next.
c)
If any node disappears it takes with it a few packets, but
data keeps flowing.
9.
Virtual circuit packet switching
a)
A path is set up that each packet between two nodes always
follows the same path
b)
Makes switching node’s job easier because it always knows
where to send a packet to next.
c)
If any node disappears, that session must be torn down and a
new one created
10.
Virtual circuit types
a)
Switched virtual circuit - a virtual circuit is set up for each
session independently
(1)
Requires a circuit setup before data flows
(2)
Adds to time required to transfer a message
b)
Permanent virtual circuit
(1)
Requires provisioning of path when creating network.
(2)
May mean that any node failure requires human intervention.
IV.
Packet Switching
Technologies:
A.
What is X.25
1.
A protocol suite defined in ITU standards
2.
Covers Physical, Data Link and Network layers
3.
Called Physical, Frame or Link, and Packet layer
4.
Defines DTE « DCE interface
5.
Has both link layer and packet layer error detection and
retransmission
6.
Very robust - developed for high-noise and unreliable
communications links.
7.
The nodes inside the X.25 cloud are PSE - Packet Switching
Exchanges
B.
X.25 Layers
1.
Physical Layer
a)
X.21 is the defined standard
b)
RS-232 (EIA-232) is often used
c)
V.35 is often used
2.
Link Layer
a)
LAPB - Link Access Protocol - Balanced
b)
LAPB is a subset of HDLC
c)
I-Frames - encapsulates packet layer data
d)
S-Frames - Flow and error control
e)
U-Frames - set up and disconnect link layer
3.
Packet Layer
a)
PLP - Packet Layer Protocol
b)
Responsible for End-to-end delivery of packets
c)
Virtual Circuits
(1)
Packet layer multiplexes multiple virtual circuits over the
link.
(2)
Up to 4095 virtual circuits
4.
Virtual Circuits
a)
LCN - Logical Channel Number - the arbitrary number that
identifies the virtual circuit
b)
One LCN is established for the local or near-end DTE«DCE
interface and another for the remote or far-end DTE«DCE interface
c)
Permanent Virtual Circuit -PVC
(1)
Established by the network operator.
(2)
Use LCNs starting at 0 and going up
d)
Switched Virtual Circuits - SVC
(1)
Established by DTE signaling to the DCE that it wishes to
establish a connection to the remote DTE.
(2)
Uses X.121 addresses plan (14 digits - kind of like phone
number)
(3)
DTE picks local LCN number (starts with 4095 and works down)
(4)
DCE picks far-end LCN numbers (starts with numbers above PVCs)
5.
X.25 PAD
a)
PAD - Packet assembler/disassembler
b)
A device that connects to X.25 network as a DTE, and has
connections for dumb-terminal type devices.
c)
Device knows how to take individual characters and put them
into a packet
(1)
And the inverse
(2)
PAD knows how to handle Enter key, arrow keys, etc.
(3)
PAD can handle local echo, line buffering, etc.
d)
A PAD is a DTE to the X.25 network
e)
A PAD is a DCE for a dumb-terminal
C.
Frame Relay
1.
Also a packet Switched Service, like X.25
2.
Derived initially from ITU-T I.122 ISDN frame-mode bearer
services
3.
Decoupled from ISDN by The Group of Four, Cisco, Stratacom,
DEC and Northern Telecom, which became the initial Frame Relay proposal group
4.
Currently Frame Relay Forum handles all of the FR-related standardization
work
5.
Designed to hide network specifics from the user
6.
The only standardized parts are the UNI, or User-Network
Interface, and LMI, or Logical Management Interface
7.
Designed to provide flexible service -- Bandwidth on Demand
8.
Takes into account modern, “intelligent” computer systems and
reliable communication systems
9.
FRAD - Frame Relay access device.
a)
Like X.25 PAD
b)
FRAD is a DTE to the Frame Relay network
c)
FRAD is a DCE for the computers connection to the Frame Relay
network
10.
Frame Relay Switch
a)
node inside the frame relay cloud.
11.
Frame Relay Layers
a)
Physical Layer
(1)
No specification provided
b)
Data Link Layer
(1)
Employs a simplified version of HDLC frame
(2)
Handles flow control
(3)
Has facilities to perform congestion notification
(4)
Uses DLCI -- Data Link Layer Identifier -- as an address
c)
Utilizes primarily PVCs, although some proprietary versions
support SVCs as well
d)
Uses end-to-end error recovery, implemented either by upper
layer protocols in user’s application or the router
(1)
Bad packets are discarded by the network.
12.
Frame Relay - Routing
a)
Based on DLCI, Data
Link Layer Control Identifier
b)
Although switching is
a Network Layer functionality, it is generally accepted that Frame Relay does
not implement true switching, and thus “relaying” is treated as Data
Link Layer function
c)
Switch accepts a DLCI on an input port, and, using
internal tables, routes it to the output port, modifying the DLCI in the
process.
13.
Frame Relay - Policing
a)
CIR - Committed Information Rate is a guaranteed level of
service between two points.
b)
Typically frame relay service is purchased with a CIR, and
some burst rate allowed.
c)
Frames that exceed the CIR have the Discard Eligibility (DE)
bit in the header set.
d)
Frames with the DE bit set may be discarded by switching nodes
that encounter congestion.
e)
The Frame Relay switch must set the DE bit
(1)
Can’t trust a FRAD owned by the subscriber.
f)
Burst rate is the maximum rate that information can be sent
at.
(1)
Sender may use the burst rate for up to some time limit (2
seconds for example)
g)
It may not be wise for a service provider to allow high burst
rates
(1)
When network is initially set up, the subscriber gets all
their burst data through because congestion is very rare.
(2)
Subscriber gets used to this kind of service.
(3)
More subscribers sign on.
(4)
Congestion starts to occur and packets get dropped
(5)
Subscriber is irate because they aren’t getting the service
they are used to.
D.
ATM
1.
Goal of ATM is to allow all data: voice video and data to
co-exist on the same network.
a)
The be-all and end-all of networking protocols
2.
Everything in ATM is based on Cells.
a)
A cell is 53 bytes long
(1)
5 bytes for header
(2)
48 bytes of data
(a)
32 bytes wanted by Europeans and
(b)
64 bytes wanted by Americans.
(c)
32 bytes => 4 milliseconds which means no need for echo
cancellation
(d)
Americans have to do echo cancellation anyway because of
distance, and wanted something more efficient for data applications
(e)
Typical committee, they compromised so no one is happy
3.
ATM - Why short fixed length cells?
a)
The use of relatively short cells makes sure that if high
priority traffic comes in, it doesn’t have to wait very long behind a big
packet.
b)
Fixed length cells allow for easier hardware
implementations.
c)
Easier implementations means that very high speed circuits can
be created to allow higher speed applications to work.
d)
Fixed length cells mean that buffer memory is always
efficient.
4.
ATM - why short, fixed length cells aren’t important
a)
Now with much higher speed interfaces the amount of time to
wait, is very small even for “big” packets.
b)
Memory and processor power is much cheaper now
c)
Variable size packets are more efficient for data traffic
(1)
Data traffic now makes up as much traffic as voice, and it it
growing rapidly
5.
ATM – UNI & NNI
a)
UNI – User-to-Network Interface
b)
NNI – Network-to-Network Interface
c)
In ATM networks, a distinction is made between an end point
connecting to an ATM switch (UNI) and two ATM switches connecting together
(NNI)
6.
ATM – VPI/VCI
a)
In an ATM network, a virtual circuit identifier is identified
by a pair of numbers, the VPI and VCI.
(1)
VPI – Virtual Path Identifier
(2)
VCI – Virtual Circuit Identifier
b)
Some ATM switches switch only on VPI
(1)
A cell comes in, and the switch sends it to another port based
on it’s VPI
(2)
A new VPI is written into the cell
(3)
The VCI is left untouched in this process.
c)
Some ATM switches switch on VPI & VCI
(1)
A cell comes in and the switch sends it to another port based
on both the VPI and VCI
(2)
A new VPI and VCI is written into the cell
7.
ATM – Header fields (UNI)
a)
5 bytes in the header.
The fields are:
(1)
GFC (4 bits) – General Flow Control Identifier
(a)
Used for flow control between the network and the DTE
(2)
VPI (8 bits) – Virtual Path Identifier
(3)
VCI (16 bits) – Virtual Circuit Identifier
(4)
PTI (3 bits) - Payload Type Indicator
(5)
CLP (1 bit) – Cell loss priority
(a)
Marked with a 0 means that it is to be discarded before cells
marked with a 1.
(6)
HEC (8bits) – Header Error Control
(a)
An 8-bit CRC to catch errors in the header
(b)
Does not catch errors in the data body
8.
ATM – Header fields (NNI)
a)
5 bytes in the header.
The fields are:
(1)
VPI (12 bits) – Virtual Path Identifier
(2)
VCI (16 bits) – Virtual Circuit Identifier
(3)
PTI (3 bits) - Payload Type Indicator
(4)
CLP (1 bit) – Cell loss priority
(5)
HEC (8bits) – Header Error Control
b)
NNI interfaces have more VPIs, based on the idea that inside
of the ATM cloud, there might be more VPI switches than full VPI/VCI switches.
c)
This is all nice and good – but not normally used
9.
Payload Type
a)
3 bits
b)
First one defines management or not
c)
Enumerated out:
(1)
000 –no congestion, no signaling
(2)
010 – no congestion, signaling
(3)
001 – congestion encountered, no signaling
(4)
001 – congestion encountered, signaling
(5)
100 – Management, link associated management
(6)
101 – Management, end to end management
(7)
110 – Management, resource management
(8)
111 – reserved
10.
ATM – Service Classes
a)
CBR – Constant Bit Rate
(1)
For real-time audio or video
(2)
Similar to that service of a dedicated T1 line
b)
VBR – Variable Bit Rate
c)
VBR-RT – Variable Bit Rate – Real Time
(1)
For those services that use compression to create a variable
bit rate stream, but still need real-time characteristics.
d)
VBR-NRT – Variable Bit Rate – Non-real time
(1)
Ditto – but don’t require real-time
e)
ABR – Available Bit Rate
(1)
Delivers a minimum cell rate
(2)
If network capacity is available, higher cell rates are
achievable.
f)
UBR – Unspecified Bit Rate
(1)
Best effort delivery that doesn’t guarantee anything
11.
ATM – QOS attributes
a)
Different service classes allow specifying some or all of
these attributes.
(1)
SCR – Sustained Cell Rate
(2)
PCR – Peak Cell Rate
(3)
MCR – Minimum Cell rate
(4)
CVDT – Cell variation delay tolerance
12.
ATM Adaptation Layers - AAL
a)
AAL’s are standards that specify how the 48 byte data payload
is used.
b)
AAL1 – Supports constant bit rate applications such as T1, T3,
etc.
(1)
Has a 1 byte header and 47 bytes of data
c)
AAL2 – support for variable bit rate applications (like
compressed voice)
(1)
Has a 1 byte pointer and 47 bytes of data
(2)
The 47 bytes contain variable length packets that each have a
3 byte header.
d)
AAL3/4 – combined #3 and #4
(1)
Support for data services
(2)
Each cell has a 2 byte header and 2 byte trailer
(3)
The data packet (up to 64k bytes) is given a 4 byte header and
4 byte trailer and padded to a multiple of 44.
(4)
The data packet is then sliced into 44 byte chunks to be put
into each cell
(5)
Supports sequencing and error control
e)
AAL5 – data applications that don’t require sequencing and
error control of AAL3/4
(1)
Data packet (up to 64k bytes) has an 8 byte trailer added and
padded up to multiple of 48 bytes.
(2)
Data packet is then sliced into 48 byte chunks to be put into
each cell.
(3)
The PTI signaling bit in the header indicates when the end of
a packet occurs.