11-27-2007 11:43 PM - last edited on 03-25-2019 03:57 PM by ciscomoderator
How to define routing by source ip address ?
11-28-2007 12:59 AM
11-28-2007 05:11 AM
Please don't confuse "source routing" with "routing by source address".
Source routing is where the originator plants a special header in the packet that specifies which path the packet must take through the network. Most NetAdmins disable it on their routers because it is a security risk.
What you are after is called "policy routing", and it allows you to route according to the source address of the packet, or according to many different parameters if you want, such as precedence etc. etc.
Kevin Dorrell
Luxembourg
11-28-2007 05:30 AM
Hi Kevin,
Nice to see a reply from you.
My understanding was that both the terms refer the same thing.
I would like to learn more about source-routing, why & when is it used. Any links for reference. I tried searching with keyword but no success.
Its really nice to learn from you people.
Thanks
BVS
11-28-2007 05:37 AM
Hi BVS,
I agree with Kevin.Adding to Kevin's explaination, source routing can be subdivided in to two parts.
1) Strict source routing.
Should go ONLY via the routers mentioned in the header.
2) Loose source routing.
Should go via all the routers mentioned in the header.But additional intermediate hops are allowed.
IP options field was used for this.I am not sure if all the implementations support this.But I guess it was a kind of traffic engineering.
-Nambi
11-28-2007 06:06 AM
Nambi, Kevin
Thanks for the explanation & link. I saw these options in the extended ping, though i used the record option but never tried the others.
It was helpful, thanx.
11-28-2007 05:38 AM
Source-routing was part of the original IP specification, RFC791 http://www.ietf.org/rfc/rfc0791.txt. Have a look at the options described around page 19. I don't think anyone uses it any more.
Kevin Dorrell
Luxembourg
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide