Protocol Layers and Their Service Models

From our discussion thus far it is apparent that theinto layers, providing a framework in which we can
Internet is an extremely complicated system. Wediscuss airline travel. Note that each layer, combined
have seen that there are many pieces to thewith the Layers below it Implements some
Internet: numerous applications and protocols, variousfunctionality some service. At the ticketing layer and
types of end systems, packet switches, and variousbelow, airline-counter-to-airline-counter transfer of a
types of link-level media. Given this enormousperson is accomplished. At the baggage layer and
complexity, is there any hope of organizing networkbelow, baggage-check-to-baggage-claim transfer of a
architecture, or at least our discussion of networkperson and bags is accomplished. Note that the
architecture? Fortunately, the answer to bothbaggage layer provides this service only to an
questions is yes.already-ticketed person. At the gate layer,
Layered Architecturedeparture-gate-to-arrival-gate transfer of a person
Before attempting to organize our thoughts onand bags is accomplished. At the takeoff/landing
Internet architecture, let’s look for a humanlayer, runway-to- runway transfer of people and their
analogy. Actually, we deal with complex systems allbags is accomplished. Each layer provides its service
the time in our everyday life. Imagine if someoneby (1) performing certain actions within that layer (for
asked you to describe, for example, the airlineexample, at the gate layer, loading and unloading
system. How would you find the structure topeople from an airplane) and by (2) using the services
describe this complex system that has ticketingof the layer directly below it (for example, in the
agents, baggage checkers, gate personnel, pilots,gate layer, using the runway-to- runway passenger
airplanes, air traffic control, and a worldwide systemtransfer service of the takeoff/landing layer).
for routing airplanes? One way to describe thisA layered architecture allows u to discuss a
system might be to describe the series of actionswell-defined, specific part of a large and complex
you take (or others take for you) when you fly onsystem. This simplification itself is of considerable
an airline. You purchase your ticket, check your bags,value by providing modularity, making it much easier
go to the gate, and eventually get loaded onto theto change the implementation of the service provided
plane. The plane takes off and is routed to itsby the layer. As long as the layer provides the same
destination. After your plane lands, you deplane atservice to the layer above it, and uses the same
the gate and claim your bags. If the trip was bad,services from the layer below it, the remainder of
you complain about the flight to the ticket agentthe system remains unchanged when a layer’s
(getting nothing for your effort). Source host toimplementation is changed. (Note that changing the
destination host in the Internet but this is not quiteimplementation of a service is very different from
the analogy we are after. We are looking for some.changing the service itself!) For example, if the gate
We note that there is a ticketing function at eachfunctions were changed (for instance, to have people
end; there is also a baggage function forboard and disembark by height), the remainder of
already-ticketed passengers and a gate function forthe airline system would remain unchanged since the
already-ticketed and already-baggage-checkedgate layer still provides the same function (loading
passengers. For passengers who have made itand unloading people); it simply implements that
through the gate (that is, passengers who arefunction in a different manner after the change. For
already ticketed, baggage-checked, and through thelarge and complex systems that are constantly being
gate), there is a takeoff and landing function, andupdated, the ability to change the implementation of
while in flight, there is an airplane- routing function.a service without affecting other components of the
This suggests that we can look at the functionality insystem is another important advantage of layering.
a horizontal manner has divided the airline functionality