The TCP/IP Protocol LayersFigure 2.1 shows the TCP/IP protocol suite in relationship to the OSI reference model. The network interface layer, which corresponds to the OSI physical and data link layers, is not really part of the specification. However, it has become a de facto layer either as shown in Figure 2.1 or as separate physical and data link layers. It is described in this section in terms of the OSI physical and data link layers. Figure 2.1. The TCP/IP protocol suite.
The physical layer contains the protocols relating to the physical medium on which TCP/IP will be communicating. Officially, the protocols of this layer fall within four categories that together describe all aspects of physical media:
The data link layer was described in Chapter 1, "Basic Concepts: Internetworks, Routers, and Addresses." This layer contains the protocols that control the physical layer: how the medium is accessed and shared, how devices on the medium are identified, and how data is framed before being transmitted on the medium. Examples of data link protocols are IEEE 802.3/Ethernet, IEEE 802.5/Token Ring, and FDDI. The internet layer , corresponding to the OSI network layer, is primarily responsible for enabling the routing of data across logical internetwork paths, such as in Figure 1.9, by defining a packet format and an addressing format. This layer is, of course, the one with which this book is most concerned . The host-to-host layer , corresponding to the OSI transport layer, specifies the protocols that control the internet layer, much as the data link layer controls the physical layer. Both the host-to-host and data link layers can define such mechanisms as flow and error control. The difference is that while data link protocols control traffic on the data link ” the physical medium connecting two devices ” the transport layer controls traffic on the logical link ” the end-to-end connection of two devices whose logical connection traverses a series of data links. The application layer corresponds to the OSI session, presentation, and application layers. Although some routing protocols such as BGP and RIP reside at this layer, the most common services of the application layer provide the interfaces by which user applications access the network. A function common to the protocol suite of Figure 2.1 and any other protocol suites is multiplexing between layers. Many applications may use a service at the host-to-host layer, and many services at the host-to-host layer may use the internet layer. Multiple protocol suites (IP, IPX, AppleTalk, for example) may share a physical link via common data link protocols. |