Type of Service

Type of Service

The TOS byte in the IPv4 header has had various purposes over the years, and has been defined in different ways by five different RFCs. (RFC 791, RFC 1122, RFC 1349, RFC 2474, and RFC 3168.) The modern definition of the TOS byte is a six-bit Differentiated Services Code Point and a two-bit Explicit Congestion Notification field. For a full history of the TOS byte, see section 22 of RFC 3168.

Type of Service

8 bits in the IP header are reserved for the service type. They can be divided into 5 subfields:

The 3 precedence bits have a value from 0 to 2 and are used to indicate the importance of a datagram. Default is 0 (higher is better). Bits 3 4 5 represent the following:

* D: requests low delay
* T: requests high throughput
* R: requests high reliability

Support for ToS in routers may become a ‘MUST’ in the future, but for now it’s only a ‘SHOULD’. A router maintains a ToS value for each route in its routing table. Routes learned through a protocol that does not support ToS are assigned a ToS of zero. Routers use the ToS to choose a destination for the packet.

# The router locates in its routing table all available routes to the destination.
# If there are none, the router drops the packet because the destination is unreachable.
# If one or more of those routes have a TOS that exactly matches the TOS specified in the packet, the router chooses the route with the best metric.
# Otherwise, the router repeats the above step, except looking at routes whose TOS is zero.
# If no route was chosen above, the router drops the packet because the destination is unreachable. The router returns an ICMP Destination Unreachable error specifying the appropriate code: either Network Unreachable with Type of Service (code 11) or Host Unreachable with Type of Service (code 12).
#if no route was chosen above ,the router drops the packet.

References

* RFC 1349, Type of Service in the Internet Protocol Suite
* "Deploying IP and MPLS QoS for Multiservice Networks: Theory and Practice" by John Evans, Clarence Filsfils (Morgan Kaufmann, 2007, ISBN 0-370561-370548-5)

See also

* Class of Service
* DiffServ
* Quality of service


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Type of Service — Dans le domaine des réseaux informatique, le champ Type of Service (TOS) (Type de service en français) dans l entête IPv4 a eu plusieurs fonctions au cours de l évolution de la standardisation IP[1], et a été défini par 5 RFC (RFC 791, RFC 1122,… …   Wikipédia en Français

  • Type 97 Service Dress — was the military uniforms used by all branches of the People s Liberation Army (PLA) in both the People s Liberation Army Hong Kong Garrison and People s Liberation Army Macau Garrison in 1997 and 1999. They are being replaced with the new Type… …   Wikipedia

  • Type of Service — Тип обслуживания  байт, содержащий набор критериев, определяющих тип обслуживания Байт побитно: 0 2  приоритет (precedence) данного IP сегмента 3  требование ко времени задержки (delay) передачи IP сегмента (0  нормальная, 1  низкая задержка) 4 … …   Википедия

  • Type 07 — is a new family of military uniforms to be used by all branches of the People s Liberation Army (PLA) and People s Armed Police (PAP) of the People s Republic of China (PRC). During 2007 2008, the new uniforms will replace the Type 87 Service… …   Wikipedia

  • Service à l'anglaise — Service (cuisine) Pour les articles homonymes, voir Services. En restauration, le service est le fait de servir les plats aux convives. C est le métier du serveur. Il en existe plusieurs types : à l anglaise, à la française, à la russe.… …   Wikipédia en Français

  • Service à l'auto — Service au volant Service au volant d un fast food …   Wikipédia en Français

  • Service au volant — d un restaurant rapide. À …   Wikipédia en Français

  • Service of process — is the procedure employed to give legal notice to a person (such as a defendant) of a court or administrative body s exercise of its jurisdiction over that person so as to enable that person to respond to the proceeding before the court, body or… …   Wikipedia

  • Service publique — Service public Un service public est une activité considérée comme devant être disponible pour tous. Cette notion s appuie sur celle d intérêt général, mais, trop soumise à appréciation subjective[réf. nécessaire], elle n a pas de définition …   Wikipédia en Français

  • Service a la russe — Service à la russe Pour les articles homonymes, voir services. Depuis le Moyen Âge, les dîners de l aristocratie étaient servis à la française avec un summum du luxe au XVIIe siècle. Ce type de service sera remplacé à partir du… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”