As in my last post i have already make it clear about source routing and its type.Now lets do some practical to understand it more clearly.Below given figure shows lab environment on which i ll be doing ping using different options.
Loose Source and Record Route
|Loose Source and Record Route|
Strict Source and Record Route
|Strict Source and Record Route|
"ping -j" option is used for loose source routing and "ping -k" for strict source routing.Now what we did here we used same paths for loose and source in first case then differ it slightly to understand the difference.
Now when we used the same and correct path which have all hops between source and destination then both loose and strict routing shows the same result.
Difference Between Loose and Strict Routing
Now what we did here we remove the gateway from the path list which we are using .so what happened loose source routing showing result instead one hop or the very first hop is missing but strict routing showing request timeout error because 46.1 was its gateway and without reaching gateway it would be impossible to reach the 45.1 directly.
So actually in loose source routing even if you put a few IP or Ip that are not in order then also packet will continue its journey till it find those path.But in case of strict source routing it is required that you put all the hop ip address which are in between source and destination ,if anyone of them is missing or not in order as specified then packet will die in transit.