Professional Documents
Culture Documents
QoS PDF
QoS PDF
indigoo.com
Contents
1. Quality of Service in IP networks
2. QoS at layer 2: Virtual LAN (VLAN) IEEE 802.1p/Q tagging
3. QoS at layer 2.5: MPLS MultiProtocol Label Switching
4. QoS at layer 3: TOS Type Of Service = DiffServ Differentiated Services
5. QoS at layer 3: RSVP (IntServ Integrated Services)
6. Queueing strategies
1/12
Rev. 2.90
indigoo.com
2/12
Rev. 2.90
indigoo.com
SF
DA
SA
0x8100
p-tag
CFI
0x0800
Payload
FCS
3/12
Rev. 2.90
indigoo.com
PC 8
VLAN switch 3
PC 9
Building
floor 3
PC 6
Building
floor 2
PC 3
Building
floor 1
PC 4
Router
PC 5
VLAN switch
VLAN switch 2
PC 1
PC 2
VLAN switch 1
VLAN trunks
Peter R. Egli 2014
VLAN1
VLAN2
(Accounting) (Marketing)
VLAN3
(Sales)
4/12
Rev. 2.90
indigoo.com
5/12
Rev. 2.90
indigoo.com
MPLS switches IP traffic flows on layer 2 thus improving network performance (more
throughput).
MPLS combines IP routing (addressing) and fast forwarding of traffic (layer 2 switching).
MPLS LSPs (Label Switched Paths) can be assigned certain QoS (like ATM PVCs).
IP forwarding
Label switching
IP forwarding
IP
D=192.168.2.2
192.168.2.2
IP
D=192.168.2.2
IP
D=192.168.2.2
L1
IP
D=192.168.2.2
L2
IP
D=192.168.2.2
L3
MPLS headers
6/12
Rev. 2.90
indigoo.com
Meter
Packet queues
IP packet
Classifier
Marker
Shaper
Dropper
(scheduler)
IP packet
Classifier: Classifies packet into an internal class. For intermediate routers, the
classifier may be missing (packet already classified by AS ingress router).
Meter: Measures the temporal properties of the packet stream selected by the classifier and instructs
the marker and shaper/scheduler to treat a specific packet accordingly (e.g. drop a packet that is out-ofprofile, i.e. the stream already used 100% of the available bandwidth).
Marker: Marks packets according to the class defined by the classifier.
Shaper/scheduler: Extracts packets from queues according to a local policy and
sends the packet.
Peter R. Egli 2014
7/12
Rev. 2.90
indigoo.com
TOS
DSCP
CU
IHL
TOS / DSCP
Identification
TTL
Total length
U
DF
MF
Version
Protocol
Fragment offset
Header checksum
IP source address
IP destination address
Optional IP options
Peter R. Egli 2014
8/12
Rev. 2.90
indigoo.com
DiffServ Domain A
DiffServ Domain B
DiffServ Domain C
Q1
Q2
Service classes:
Premium
Q3
Q4
Ingress node:
Marking (classification)
at ingress point
Peter R. Egli 2014
Egress node:
Queueing (e.g. WRED)
and shaping.
Gold
Silver
Bronze
9/12
Rev. 2.90
indigoo.com
Receiver
Sender
RSVP PATH message (stores path to receiver which then allocates
resources along the path).
RSVP RESV (reservation) message reserves bandwidth etc. along the path.
10/12
Rev. 2.90
indigoo.com
50%
25%
13%
12%
11/12
Rev. 2.90
indigoo.com
Packet transmission
order
12/12
Rev. 2.90