Académique Documents
Professionnel Documents
Culture Documents
013 (12/07)
ST/QoS/DOC/002
Page 1 of 9
Contents
Preface.............................................................................................................................................3 1. A use of DSCP on JANET..........................................................................................................4 2. Recommended DSCP values ......................................................................................................6 3. DSCP values for private use .......................................................................................................8 References.......................................................................................................................................9
013 (12/07)
ST/QoS/DOC/002
Page 2 of 9
Preface
The purpose of this document This document suggests a common scheme for the use of DiffServ Code Points (DSCPs) within the JANET community. The JANET backbone does not currently make use of DiffServ QoS and hence does not interpret DSCP markings, passing them without alteration [4]. If this situation should change in the future, the current intention is that the backbone will interpret DSCP values as described below. (This scheme may change due to factors such as further experience or changes in industry best practice as such, updates to this document may become necessary.) It should be stressed that the DSCP scheme described in this document is in no way mandatory; it simply describes the scheme that would be adopted on the backbone should circumstances dictate that JANET deploy DiffServ within the backbone. Regional Networks and sites are, of course, free to deploy DiffServ as they see fit. However, the adoption of a co-ordinated scheme across the whole of JANET could make end-toend deployment of DiffServ more straightforward. Common interpretation of DSCP values would potentially remove, or at least lessen, the need for their re-marking at domain boundaries, such as between site and Regional Network, or Regional Network and JANET backbone. Those deploying DiffServ within their part of the JANET community may, therefore, wish to bear this scheme in mind when deciding how to make use of DSCP values in their network.
Intended audience Network administrators and engineers of JANET sites and Regional Networks.
Acknowledgements The authors would like to express their gratitude to the JANET QoS Development project participants for their various contributions and valuable discussions that resulted in writing this document. Special thanks to Tim Chown (University of Southampton), Steve Williams (Swansea University) and Rina Samani (JANET(UK)) for feedback and useful comments.
013 (12/07)
ST/QoS/DOC/002
Page 3 of 9
013 (12/07)
ST/QoS/DOC/002
Page 4 of 9
The JANET core has sufficient bandwidth headroom and is QoS-neutral (i.e. DSCP values are transmitted transparently across the network, and are not used to give packets different treatment). Either the cores of Regional Networks are overprovisioned and QoS-neutral or those Regional Networks that implement QoS do so outside of the scope of the current JANET QoS model. QoS treatment might be configured on access links between site access routers and corresponding Regional Network edge routers on a case by case basis: for example, where a site link is congested and the site and Regional Network work together to prioritise certain traffic. Regional Network edge routers which are involved in providing QoS elevated treatment must classify traffic based on the IP addresses of end nodes. The same requirement is applicable to a site access router if it supports QoS towards an Regional Network edge router. Classification based only on DSCP values of packets must be excluded. This requirement aims to protect this service from unauthorised access, which might easily happen if DSCP values assigned by a third party are the only attribute used to give packets preferential treatment. It is a crucial requirement for providing robust and consistent QoS.
Despite the fact that DSCP values on their own do not give direct and immediate access to elevated QoS services on access links between sites and Regional Networks, according to the JANET QoS Policy Framework, the role of DSCPs on JANET is not completely diminished. DSCP values might be of use in different situations, for example: to indicate special and consistent QoS treatment within two or more site networks, which trust each other and are connected through JANET. This could be two labs and two video studios which have congested interfaces within their LANs or at their edge access routers, and want to fix this problem at the site network level, based on DSCP value. In such a case, mutually agreed and trusted DSCP values that indicate appropriate QoS treatment could be very helpful. For example, let us consider two labs which have been independently using QoS within their LANs for preferential treatment of real-time traffic. If they decide to exchange this traffic through JANET without any co-ordination with their Regional Networks or JANET NOC then they may find themselves in one of two possible situations. The first is if both labs have been using the same DSCP value to mark their real-time traffic. If the Regional Networks involved have not deployed DiffServ, neither site needs to change any QoS configuration within their network, or re-mark packets coming from the partner source on their edge router(s). Neither the JANET backbone nor a Regional Network will interpret or change the DSCP marking. If the labs are not going to ask the Regional Networks involved for any help with QoS treatment of their traffic in the foreseeable future then they can choose to use a private DSCP value; otherwise a recommended public value would be more appropriate (see both ranges of recommended DSCP values for public and private use below).
013 (12/07)
ST/QoS/DOC/002
Page 5 of 9
In the second possible situation, the two labs might be using different DSCP values for the same kind of preferential treatment. To provide consistent treatment one (or both) of them will have to amend their QoS configuration at the edge of their network to re-mark the DSCP to ensure appropriate treatment. This extra configuration may only be necessary at one site, if that site re-marks both incoming and outgoing DSCP values. Again, this situation assumes that the Regional Networks involved do not interpret or change DSCP values. to complement IP addresses as an identification attribute to help edge routers with admission control procedures. In some cases IP addresses might not be enough to identify a sender unambiguously and DSCP might act as an additional discriminator to select the correct flow for differential treatment. For example, the hosts behind a NAT that appear as a single IP address might be able to use the DSCP field as an additional flow identifier, or the same host might generate different streams with different QoS needs: for example, a videoconferencing server which at the same time does directory replication or a desktop PC running a voice client at the same time as a large file upload. Techniques such as Deep Packet Inspection or treatment based on TCP/UDP port numbers could also solve this kind of problem; however, DSCP inspection may well be a more efficient method in terms of router CPU resources.
013 (12/07)
ST/QoS/DOC/002
Page 6 of 9
reasonable to use this RFC as a reference document for the JANET community and to complement it with JANET-specific DSCP values. RFC 4594 describes 12 different QoS classes and uses 20 DSCP values for marking packets intended for treatment by those classes. At first glance differentiation might seem too granular, possibly resulting in too complex QoS configuration. However this does not need to be so, as diverse marking does not mean that QoS treatment has to be configured with the same level of granularity. Please note that marking traffic with fine granularity makes it possible to organise differential treatment with any desirable granularity, from coarse to fine. For example, one can organise only two queues for a router output interface, a priority and a best effort queue, but serve all 12 classes by allocating them between the two queues accordingly. The opposite situation, when a source of traffic uses very few DSCP values to differentiate traffic needs, is potentially more dangerous, because if the network administrator of a transit network wishes to use a granular traffic treatment then he or she will not be able to do so as there is not enough information about traffic differentiation. The recommended DSCP values for the JANET community which are based on RFC 4594 and existing and emerging JANET services are in the following table:
Service Class Name Network Control and OAM DSCP Name CS6 DSCP Value* 110000 (48) Application Examples Network routing and OAM (e.g. SNMP, Ethernet CFM, proprietary NMS traffic) Signalling (e.g. H.323, SIP) IP Telephony bearer Videoconferencing Interactive control (e.g. CAM), real-time elearning, games, e-arts Streaming video and audio on demand Broadcast TV & live events Transactional applications, database access, interactive data applications Bandwidth channels Undifferentiated applications Mirror service, remote backups, etc
101000 (40) 101110 (46) 100010 (34), 100100 (36), 100110(38) 100000 (32)
011010 (26), 011100 (28), 011110 (30) 011000 (24) 010010 (18), 010100 (20), 010110 (22)
001010 (10), 001100 (12), 001110 (14) 000000 (0) 001000 (8)
Please note that there are three DSCP values among the recommended values in the table above which it is particularly important to use in the recommended way. They are:
013 (12/07)
ST/QoS/DOC/002
Page 7 of 9
DSCP 46: EF (Expedited Forwarding) DSCP 0: Best Effort DSCP 8: LBE (Less than Best Effort).
Their significance is a result of the widespread practice of using a minimal set of different QoS classes within routers for treating traffic: Best Effort for common treatment plus IP Premium for any privileged treatment and/or LBE for background treatment. In such cases DSCP values Best Effort (0), EF (46) and LBE (8) are normally used for mapping ingress traffic onto those two or three types of QoS treatment within routers. Breaching these recommended DSCP values might very likely result in mis-treatment of traffic in any network which supports QoS. The table above reflects the current situation and might be updated when new QoS benefiting services appear on JANET and/or on the basis of experience gained from QoS implementation on JANET.
013 (12/07)
ST/QoS/DOC/002
Page 8 of 9
References
1. S. Blake, D. Black, M. Carlson, E. Davies, Z. Wang and W. Weiss, An Architecture for Differentiated Services, RFC 2475, December 1998 2. K. Nichols, S. Blake, F. Baker, D. Black, Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers, RFC 2474, December 1998 3. B. Davie, A. Charny and others, An Expedited Forwarding PHB (Per-Hop Behavior), RFC 3246, March 2002 4. The JANET IP QoS Policy Framework, 012 (12/07), JANET(UK), December 2007 http://www.ja.net/documents/development/network-engineering/qos/ qos-policy-framework.pdf
013 (12/07)
ST/QoS/DOC/002
Page 9 of 9