in reply to Re^4: how to count route diffs in traceroute outputs
in thread how to count route diffs in traceroute outputs

A diff in a route is for example if a IP or hostname of a hop is changed or there is a new hop
That's still not a complete spec.

What if you have A-B-C-D-E vs A-B-XX-C-D-E? Are you wanting to count that as 1 (because 1 hop got added), or 3 or 4 because the last 3 or 4 are different?

What if you have A-B-C-D-E vs A-B-D-C-E? Is that two differences?

What if one is A-B-(C1,C2)-D-E vs A-B-C1-D-E, because there was a route flappage within one of the traces? Do you count that at all, or just as 1?

I suspect that the closer you think about all the possibilities, the closer you'll be to implementing it yourself. The problem will be figuring out all the ways it could be different.

That's why your problem's not solvable yet. You don't have a complete idea of what you want to do, or if you think you do, you still aren't communicating it clearly.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re^5: how to count route diffs in traceroute outputs