You are on page 1of 2

AARNet3's

Using AARNet3's traffic classes takes some 30Mbps. Traffic exceeding the policing is re-marked to
preparation by your network engineering staff. the Scavenger class.
This pamphlet briefly describes each class. Outgoing traffic is queued using fair queuing. If the
amount of outgoing traffic exceeds 30% of the link
Best Effort DSCP = BE
bandwidth then the traffic is re-marked to the Scavenger

traffic
This is used for the majority of traffic, but gives the class.
best performance for web and other TCP-based traffic.
Other markings DSCP = ?
Any amount of traffic is accepted. Outgoing traffic is
queued using the Random Early Detection algorithm. Traffic with a Differentiated Services Code Point

classes
which does not match a traffic class which is expected
Scavenger DSCP = CS1
from the site is re-marked to the Best Effort class.
This “worst effort” class can be used for bulk file
Invalid ICMP
transfers and for potentially disruptive traffic.
Any amount of traffic is accepted. Some Internet Control Message Protocol should not
Outgoing traffic on each link reserves 1% of the link be seen beyond the network boundary. This traffic is
bandwidth for Scavenger traffic. Outgoing traffic is dropped.
queued using the Random Early Detection algorithm. Invalid ICMP messages are: all Redirects,
Scavenger traffic has a higher drop probability than Best Information Request and Reply, Mask Request and Reply,
Effort traffic. Router Advertisement and Solicitation, Conversion Error.
Admission-controlled Voice DSCP=EF Diagnostic ICMP
This class can be used for Voice over IP traffic which Some ICMP traffic is only used for diagnostic
aims to rival the Public Switched Telephone Network in purposes and is frequently mis-used. This traffic is re-
availability. marked into the Scavenger class.
Customers using this class warrant that traffic Diagnostic ICMP messages are: Echo Request and
entering this class has passed admission control. Reply, Time Exceeded.
Admission control can be by a H.323 gateway, a H.323 AARNet encourages customers to adopt a similar
proxy, a SIP session border controller or by network policy and limit the rate of diagnostic messages rather
engineering design. than discard these messages at their firewall.
Incoming traffic from a customer is policed to
Operational ICMP
2Mbps. Traffic exceeding the policing is re-marked to the
Scavenger class. Some ICMP messages are validly used during the
Outgoing traffic is queued using a first-in first-out operation of a flow. These messages are passed without
priority queue. If the outgoing traffic exceeds 2Mbps then alteration to their class.
the excess traffic may be dropped.
Ethernet 802.1p mapping
Admission-controlled Video DSCP = AF41
The ethernet user_priority used by 802.1q VLAN
This class can be used for Video over IP traffic which trunks can be set to reflect the DSCP. If the switch cannot
aims to rival the Public Switched Telephone Network in directly interpret the IP DSCP then AARNet suggests these
availability. 802.1p user_priority values.
Customers using this class warrant that traffic Class DSCP Ethernet priority
entering this class has passed admission control. Scavenger CS1 Background 1
Admission control can be by a H.323 gateway, a H.323 Best effort BE Default 0
proxy, a SIP session border controller or by network AC Video AF41 Video 5
engineering design. Video traffic from an access grid AC Voice EF Voice 6
node is not admission controlled. Control CS6 Control 7
Incoming traffic from a customer is policed to
Measurement using ping and traceroute weighted random early detection for the other classes. Further information
There is no point using RED for non-responsive flows, so
Access to the router's processor is limited on queues for voice and video should use tail drop. A detailed specification of AARNet3's traffic classes
AARNet3 routers. There is a small and distinct queue for The AARNet3 implementation of Differentiated is at
ping and traceroute traffic to the processor and if that Services does not use output traffic shaping. This is a www.aarnet.edu.au/Content.aspx?p=38
queue fills then the requests are dropped. deliberate choice as typical implementation of the dual
Ping and traceroute traffic also travels in the leaky bucket traffic shaping mechanism have been shown
Scavenger worst-case class. This limits the misuse of to perform poorly with TCP traffic. Correcting this requires
diagnostic protocols for “ping flooding” and the like. configuring a bucket size of the bandwidth-delay product
Ping and traceroute results are generally valid for (about 64MB).
diagnostic purposes but give very misleading results for
Using the Scavenger class
measuring network performance.
It is safe to allow users to mark traffic for the
Campus network design
Scavenger class. Servers which have many long-lived best
Sites attached to AARNet3 are divided into two effort flows should consider marking their traffic with the
groups: those which have asked for the QoS service to be Scavenger class.
enabled and those that have not. The most efficient way to do this is to alter the
Sites which have not asked for QoS to be enabled software to use the setsockopt(..., IP_TOS, ...) function
have all traffic from their site marked as Best Effort. after creating the socket.
Traffic to their site interprets the DSCP through the The easiest way to use the Scavengerr service is to
AARNet3 network and sets DSCP the to Best Effort on the use the computer's firewall to set the DSCP on outgoing
last hop before the site. traffic. For example, on Linux
Sites which ask for QoS to be enabled can nominate iptables --table mangle --append OUTPUT --out-
to send Scavenger, Admission-controlled Video and/or interface eth0 --protocol tcp --source-port http --
jump DSCP --set-dscp 8
Admission-controlled Voice in addition to Best Effort.
The site indicate the traffic class by setting the DSCP Limitations
on each and every packet.
For the Admission Controlled classes the site AARNet3 does not support the use of the Voice and
warrants to AARNet that the traffic marked with the DSCP Video classes by soft phones which have not participated
has encountered an admission control mechanism. in admission control. This is a deliberate choice to
For a typical host subnet the site's router allows prevent computers infected by malicious software from
DSCP = CS1; allows DSCP = EF and DSCP = AF41 denying service to the Voice and Video classes.
traffic addressed to the H.323 proxy; and sets DSCP = BE For the same reason AARNet3 does not support the
on all other traffic. use of the Video class by access grids. The lack of
For a typical router-router subnet the site's router congestion awareness by access grids is problematic: a
allows all DSCP values. wrongly directed mouse click can generate 30Mbps of
The H.323 proxy, SIP session border controller, or denial of service traffic. This threat to best effort traffic
other admission control machine is placed into its own from this lack of congestion awareness is a strong
subnet. The site's router allows all defined DSCP types argument for a worst-effort class for access grid video.
from the admission control devices, and police the There is no “better than best effort” class for virtual
quantity of incoming traffic in the Voice and Video private network or storage area network traffic. This is a
classes. lesson learned from the SQL Slammer worm, where the
The per-hop behavior on all interfaces is the same. interior of site networks had a severe denial of service. Australia's Academic and Research Network
The range of available per-hop behaviours varies Preferring VPN traffic would have lead to giving www.aarnet.edu.au
considerably across router manufacturers. For Cisco preference to traffic from sites which had yet to eradicate
Systems a typical choice would be priority queuing for the worm and reducing service to sites which had Text Copyright © AARNet Pty Ltd (ACN 084 540 518), 2006-2007.
Admission Controlled Voice, and bandwidth classes with eradicated the worm. Photography Copyright © That Will Guy @ flickr.com, 2006.
Written by Glen Turner. Distributed at Real Time Road Show.

You might also like