Is there any protocol use the options header?

Is there any protocol use the options header ? I want to use options header to take some data while transfer, so I want to check if there any protocol use the options header. Or I will occupy the header.

161k 26 26 gold badges 249 249 silver badges 402 402 bronze badges asked May 19, 2011 at 2:24 1,491 6 6 gold badges 27 27 silver badges 45 45 bronze badges i'm curious what you're wanting to do. Piggyback some additional information with the packets? Commented May 19, 2011 at 2:35

1 Answer 1

There are any number of protocols which might or could use IPv4 options. None of them are in normal, common use. I've certainly used record-route a time or two, and there are any number of RFCs describing usages and experiments. http://www.networksorcery.com/enp/protocol/ip.htm#Options

There are no IPv6 options in the actual ipv6 header because of the "Next Header" functionality, which allows you to insert arbitrary headers in the packet. So the record-route option I mentioned for IPv4 as a user of IPv4 options would be a header of its own. Be sure to carefully read the document on the selection of the protocol number since that controls what happens when people parse the packet.

answered May 19, 2011 at 2:31 Seth Robertson Seth Robertson 31.3k 7 7 gold badges 66 66 silver badges 59 59 bronze badges

Hi, I want to know how about the options header in IPv6. Because there are no options header in IPv6.

Commented May 19, 2011 at 11:24

@Jimmy: Answer edited, though your question is marked IPv4. Be sure to accept my answer if it is useful.