310 likes | 882 Views
2. Introduction. Previous chapter: IP datagram formatRoutingThis chapter:IP datagram transmission. 3. Datagram Transmission. IP software selects the next hop to Transmit the datagram across the physical networkNetwork hardware does not understand datagram format or internet addressingHardware
E N D
1. 1 IP Encapsulation, Fragmentation, And Reassembly
Computer Science
Prof. Martins
2. 2 Introduction Previous chapter:
IP datagram format
Routing
This chapter:
IP datagram transmission
3. 3 Datagram Transmission IP software selects the next hop to Transmit the datagram across the physical network
Network hardware does not understand datagram format or internet addressing
Hardware understands frames
Frames may differ from network to network
4. 4 Encapsulation How can a datagram be transmitted across a network that does not understand the datagram format?
The answer: Encapsulation
When an IP datagram is encapsulated in a frame, the entire datagram is placed in the data area of a frame.
5. 5 Encapsulation Figure 21.1 - An IP datagram encapsulated in a hardware frame. The entire datagram resides in the frame data area. In practice, the frame format used with some technologies includes a frame trailer as well as frame header.
6. 6 Encapsulation How does a receiver know whether the data area in an incoming frame contains an IP datagram or other data?
Answer: The sender and receiver agree on the value used in the frame type field.
A special value is reserved for IP.
7. 7 Encapsulation In addition to placing a datagram in the data area of a frame, encapsulation requires the sender to supply the physical address of the next computer
Address binding: computes the appropriate hardware address (ARP - chapter 19)
The binding translates the IP address of the next hop into an equivalent hardware address.
8. 8 Summary A datagram is encapsulated in a frame
The destination address in the frame is the address of the next hop
The destination of the next hop is obtained by translating the IP address of the next hop to an equivalent hardware address.
9. 9 Transmission Across An Internet