text stringlengths 0 6.55k |
|---|
Eth. Trailer |
2 Transmit 3 Receive |
Figure 1-11 Larry Using Ethernet to Forward an IP Packet to Router R1 |
NOTE Figure 1-11 depicts the Ethernet as a series of lines. Networking diagrams often use this convention when drawing Ethernet LANs, in cases where the actual LAN cabling and LAN devices are not important to some discussion, as is the case here. The LAN would have cables and devices, like LAN switches, which are no... |
Figure 1-11 shows four steps. The first two occur on Larry, and the last two occur on Router R1, as follows: |
Step 1. Larry encapsulates the IP packet between an Ethernet header and Ethernet trailer, creating an Ethernet frame. |
Step 2. Larry physically transmits the bits of this Ethernet frame, using electricity flowing over the Ethernet cabling. |
Step 3. Router R1 physically receives the electrical signal over a cable and re-creates the same bits by interpreting the meaning of the electrical signals. |
Step 4. Router R1 de-encapsulates the IP packet from the Ethernet frame by removing and discarding the Ethernet header and trailer. |
By the end of this process, Larry and R1 have worked together to deliver the packet from Larry to Router R1. |
NOTE Protocols define both headers and trailers for the same general reason, but headers exist at the beginning of the message and trailers exist at the end. |
The data-link and physical layers include a large number of protocols and standards. For example, the link layer includes all the variations of Ethernet protocols and wireless LAN protocols discussed throughout this book. |
|||||||||||||||||||| Technet24 |
|||||||||||||||||||| |
Chapter 1: Introduction to TCP/IP Networking |
In short, the TCP/IP physical and data-link layers include two distinct functions, respec-tively: functions related to the physical transmission of the data, plus the protocols and rules |
that control the use of the physical media. |
27 |
1 |
Data Encapsulation Terminology |
As you can see from the explanations of how HTTP, TCP, IP, and Ethernet do their jobs, when sending data, each layer adds its own header (and for data-link protocols, also a trailer) to the data supplied by the higher layer. The term encapsulation refers to the process of putting headers (and sometimes trailers) around... |
Many of the examples in this chapter show the encapsulation process. For example, web server Larry encapsulated the contents of the home page inside an HTTP header in Figure 1-6. The TCP layer encapsulated the HTTP headers and data inside a TCP header in Figure |
1-7. IP encapsulated the TCP headers and the data inside an IP header in Figure 1-10. Finally, the Ethernet link layer encapsulated the IP packets inside both a header and a trailer in Figure 1-11. |
The process by which a TCP/IP host sends data can be viewed as a five-step process. The first four steps relate to the encapsulation performed by the four TCP/IP layers, and the last step is the actual physical transmission of the data by the host. In fact, if you use the five-layer TCP/IP model, one step corresponds t... |
Step 1. Create and encapsulate the application data with any required application layer headers. For example, the HTTP OK message can be returned in an HTTP header, followed by part of the contents of a web page. |
Step 2. Encapsulate the data supplied by the application layer inside a transport layer header. For end-user applications, a TCP or UDP header is typically used. |
Step 3. Encapsulate the data supplied by the transport layer inside a network layer (IP) header. IP defines the IP addresses that uniquely identify each computer. |
Step 4. Encapsulate the data supplied by the network layer inside a data-link layer header and trailer. This layer uses both a header and a trailer. |
Step 5. Transmit the bits. The physical layer encodes a signal onto the medium to transmit the frame. |
The numbers in Figure 1-12 correspond to the five steps in this list, graphically showing the same concepts. Note that because the application layer often does not need to add a header, the figure does not show a specific application layer header, but the application layer will also at times add a header as well. |
|||||||||||||||||||| |
|||||||||||||||||||| |
28 CCNA 200-301 Official Cert Guide, Volume 1 |
1 |
Data |
2 |
TCP Data |
3 |
IP TCP Data |
1 |
Application |
2 |
Transport |
3 |
Network |
4 |
Data Link IP TCP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.