25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Where:<br />

– 0: Reserved, must be zero.<br />

– DF (Do not Fragment): 0 means allow fragmentation; 1 means do not<br />

allow fragmentation.<br />

– MF (More Fragments): 0 means that this is the last fragment of the<br />

datagram; 1 means that additional fragments will follow.<br />

► Fragment Offset: This is used to aid the reassembly of the full datagram. The<br />

value in this field contains the number of 64-bit segments (header bytes are<br />

not counted) contained in earlier fragments. If this is the first (or only)<br />

fragment, this field contains a value of zero.<br />

► Time to Live: This field specifies the time (in seconds) the datagram is<br />

allowed to travel. Theoretically, each router processing this datagram is<br />

supposed to subtract its processing time from this field. In practise, a router<br />

processes the datagram in less than 1 second. Therefore, the router<br />

subtracts one from the value in this field. The TTL becomes a hop-count<br />

metric rather than a time metric. When the value reaches zero, it is assumed<br />

that this datagram has been traveling in a closed loop <strong>and</strong> is discarded. The<br />

initial value should be set by the higher-level protocol that creates the<br />

datagram.<br />

► Protocol Number: This field indicates the higher-level protocol to which <strong>IP</strong><br />

should deliver the data in this datagram. These include:<br />

– 0: Reserved<br />

– 1: Internet Control Message Protocol (ICMP)<br />

– 2: Internet Group Management Protocol (IGMP)<br />

– 3: Gateway-to-Gateway Protocol (GGP)<br />

– 4: <strong>IP</strong> (<strong>IP</strong> encapsulation)<br />

– 5: Stream<br />

– 6: Transmission Control Protocol (<strong>TCP</strong>)<br />

– 8: Exterior Gateway Protocol (EGP)<br />

– 9: Interior Gateway Protocol (IGP)<br />

– 17: User Datagram Protocol (UDP)<br />

– 41:Simple Internet Protocol (S<strong>IP</strong>)<br />

– 50: S<strong>IP</strong>P Encap Security Payload (ESP)<br />

– 51: S<strong>IP</strong>P Authentication Header (AH)<br />

– 89: Open Shortest Path First (OSPF) IGP<br />

The complete list is in STD 2 – Assigned Internet Numbers.<br />

► Header Checksum: This field is a checksum for the information contained in<br />

the header. If the header checksum does not match the contents, the<br />

datagram is discarded.<br />

► Source <strong>IP</strong> Address: The 32-bit <strong>IP</strong> address of the host sending this datagram.<br />

Chapter 3. Internetworking protocols 101

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!