
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Encapsulation Each layer uses encapsulation to add the information its peer needs on the receiving system. The network layer adds a header to the information it receives from the transport at the sender and passes the whole unit down to the data link layer. At the receiver, Intermediate System (node) Intermediate System (node) Device A Device B Application Transport Network Network L3 L2 L1 L3 L2 L L3 L2 5 4 3 2 1 5 4โ5 Interface 3โ4 Interface 2โ3 Interface 1โ2 Interface 4 3 2 1 L1 Data Link Data Link Physical Application Transport Network Data Link Physical Network Data Link Physical Physical Peer-to- Peer Protocol at Layer 5 Physical Communication Links 2โ3 Interface 2โ3 Interface 4โ5 Interface 3โ Interface 2โ3 Interface 1โ2 Interface 1โ2 Interface 1โ2 Interface Peer-to-Peer Protocol at Layer 4 FIGURE 1.10 Protocols and interfaces, showing how devices are only physically connected at the lowest layer (Layer 1). Note that functionally, intermediate nodes only require the bottom three layers of the model. 28 PART I Networking Basics the network layer looks at the control information, usually in a header, in the data it receives from the data link layer and passes the remainder up to the transport layer for further processing. This is called encapsulation because one layer has no idea what the structure or meaning of the PDU is at other layers. The PDU has several more or less offi cial names for the structure at each layer. The exception to this general rule is the data link layer, which adds both a header and a trailer to the data it receives from the network layer. The general fl ow of encapsulation in TCP/IP is shown in Figure 1.11. Note that on the transmission media itself (or communications link), there are only bits, and that some โextraโ bits are added by the communication link for its own purposes. Each PDU at the other layers is labeled as data for its layer, and the headers are abbreviated by layer name. The exception is the second layer, the data link layer, which shows a header and trailer added at that level of encapsulation. Although the intermediate nodes are not shown, these network devices will only process the data (at most) through the fi rst three layers. In other words, there is no transport layer to which to pass network-layer PD