Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-21-2013, 05:56 AM   #1
LQ Newbie
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
IP header record route option

If i specify Record Route option in IP header, it will record the ip address of at most 9 intermediate hops. My question is how this packet with ip Record Route option enabled reaches to the destination host get processed.

I used ICMP ping with record route option enabled and the destination sends a normal ICMP echo reply in which the recorded route is copied back. But if i want to send a UDP or TCP and not ICMP echo request with Record Route option then how the destination will send the recorded route back to source?
Old 02-21-2013, 12:08 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
it doesn't send it back, there's nothing else happening other than the intermediate routers adding their details to the packet as it passes.
1 members found this post helpful.
Old 08-14-2013, 07:07 PM   #3
LQ Newbie
Registered: Aug 2013
Posts: 17

Rep: Reputation: Disabled
It is possible to have the packet sent back by setting the TTL value (Time To Live as number of router hops) to an appropriately low value. In this case, the reply is an ICMP Time Exceeded message with a code indicating that the TTL expired in transit. Your original packet, including IP header and options (Record Route), will be encapsulated in this ICMP message.

In practice however, I found that TCP SYNs with the Record Route option are often silently dropped unlike ICMP echo requests. When combining all three (ICMP Echo, low TTL, and Record Route), I was able to detect routers that did not decrement the TTL and routers that forwarded the Record Route option unaltered.


ip, networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the option field in IP header guam Programming 5 08-25-2011 05:52 AM
gettin an error::: Invalid record in the preferences file, no Package header adamf4i Ubuntu 7 08-10-2006 02:43 PM
Invalid record in the preferences file, no Package header adamf4i Linux - Newbie 5 08-08-2006 02:09 PM
Record files to DB (with option) LinxNew Linux - Software 0 07-14-2006 05:27 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration