Book Image

Understanding TCP/IP

By : CP Books a.s.
Book Image

Understanding TCP/IP

By: CP Books a.s.

Overview of this book

This book covers in detail the Open System Interconnection (OSI) reference model and the TCP/IP protocols that operate that different layers. Its coverage includes various application protocols. The authors explain in an easy-to-read style networking concepts and protocols, with examples that make the book a practical guide in addition to its coverage of theory.
Table of Contents (20 chapters)
19
Index

5.4 Optional Entries in the IP Header

Optional entries in the IP header are one of the more interesting facets of TCP/IP protocols. We will demonstrate how dangerous it can be to use optional entries, and why many Internet providers throw away IP datagrams that contain them. However, from the pure TCP/IP protocol point of view, this practice is inexcusable (even if performed in good faith), and it can be compared to requiring everyone to carry crutches in case they break their leg.

If a recipient receives an IP datagram with any of these options, it should also use the option in its reply. Optional entries widen the IP header. Due to the IP header’s maximum length of 60 B (out of which 20 B is mandatory), the optional entries are limited to 40 B. Currently there are several options for widening the IP header. They are as follows:

  • Record route
  • Timestamp
  • Loose source routing
  • Strict source routing
  • IP Router Alert option
  • Security options for Internet Protocol (RFC 1108), which is obsolete

Optional...