The Internet Layer

The Internet layer in the TCP/IP reference model is responsible for transferring data between the source and destination computers. The Internet layer accepts data from the Transport layer and passes the data to the Network Interface layer. The following are the functions of the Internet layer:

  • Transmitting data to the Network Interface layer.

  • Routing the data to the correct destination. This layer takes care of sending the data through the shortest route if more than one route is available. In addition, if a route through which a datagram is to be sent has problems, the datagram is sent through an alternate route.

    Note

    The path taken by a datagram to reach the destination is called the route.

  • Handling errors and fragmentation ...

Get Special Edition Using TCP/IP, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.