The Boston Diaries

The ongoing saga of a programmer who doesn't live in Boston, nor does he even like Boston, but yet named his weblog/journal “The Boston Diaries.”

Go figure.

Wednesday, September 14, 2005

Paths

I just noticed something that at first seemed very odd, but as I think on it, it does make sense, but it's not intuitive at first (at least to me).

I did three traceroutes from Casa New Jersey. The first to my workstation (in one network block), the second to the office firewall/router (in a second network block) and the third to the company router (in yet a different network block). I would have expected all three to take a similar path through the Internet, but the practice was different than theory. In the diagram below, the top circle represents my computer at home, and the blue path goes to my workstation, the black path to the firewall and the red path to the company router:

[Three different routes to almost the same destination]

Why the (in one case, wildly) different routes?

Because each destination is in a different block of IP address, each of which is handled differently in different carriers due to different peering arrangements—the office block is owned by one of our providers, the firewall block is owned by Smirk (he managed to snag a Class-C network block a long time ago) and the company firewall block is owned by another of our providers.

But that still doesn't explain this though:

[These routes should be identical until the very end]

The blue one is again from my home computer to my workstation (and yes, there are two additional hops in this one—perhaps some routing changed between the time I made the two images) but the other one, the red one, is to another machine here at the office—the IP address of my workstation is XXX.YYY.224.11 and the other machine is XXX.YYY.227.9, so while technically they're in different Class-C networks (a “/24”) they're routed to us as a “superblock” (a technical networking term) of /20. But as to why the wildly diverging paths, I don't know.


More Paths

We control IP addresses XXX.YYY.224.0 through XXX.YYY.239.255 and as I mentioned, not all the addresses in that range follow the same path from my home computer to the office. I was curious so I decided to map the paths:

[The various paths of a /20 routing block]

This image shows the overall paths, with the double circles the termination points of the various IPs and as far as I can tell, it looks like the “/20” we have is being routed as 16 individual “/24” networks (aka “Class-C”) through out different providers (some through one, some through the other).

Curiouser and curiouser …

Update on Thursday, September 15th, 2005

Smirk emailed a response to this post:

From: Smirk <XXXXXXXXXXXXXXXX>
To: Sean Conner <sean@conman.org>
Subject: bandwidth mystery
Date: Thu, 15 Sep 2005 03:35:54 EDT

I think if you check with Dan, we are routing various IP's with preferences for different carriers in order to have our actual bandwidth usage line up with our financial commitments to our carriers.

Perhaps that may solve the mystery?

Perhaps.

Obligatory Picture

Trying to get into the festive mood this year

Obligatory Contact Info

Obligatory Feeds

Obligatory Links

Obligatory Miscellaneous

Obligatory AI Disclaimer

No AI was used in the making of this site, unless otherwise noted.

You have my permission to link freely to any entry here. Go ahead, I won't bite. I promise.

The dates are the permanent links to that day's entries (or entry, if there is only one entry). The titles are the permanent links to that entry only. The format for the links are simple: Start with the base link for this site: https://boston.conman.org/, then add the date you are interested in, say 2000/08/01, so that would make the final URL:

https://boston.conman.org/2000/08/01

You can also specify the entire month by leaving off the day portion. You can even select an arbitrary portion of time.

You may also note subtle shading of the links and that's intentional: the “closer” the link is (relative to the page) the “brighter” it appears. It's an experiment in using color shading to denote the distance a link is from here. If you don't notice it, don't worry; it's not all that important.

It is assumed that every brand name, slogan, corporate name, symbol, design element, et cetera mentioned in these pages is a protected and/or trademarked entity, the sole property of its owner(s), and acknowledgement of this status is implied.

Copyright © 1999-2024 by Sean Conner. All Rights Reserved.