random? asn results mtr

When doing a traceroute using mtr and including the --aslookup option, the private IP results are a little confusing.

Sometimes, my local IPs show an asn then my providers private IPs show their own asn.

What's going on? This can't be random, what is it based on and how do private IPs get different asn?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AkinsdNetwork AdministratorCommented:
It just means the traffic is traversing different paths (ASPaths precisely)
This is a normal behavior
projectsAuthor Commented:
Well, I know this part but, why would my private IPs have one asn and my upstream who is also using private IPs have another?
How are the asn found? Does my local dns give a different result than an external dns might?

Etc etc.
AkinsdNetwork AdministratorCommented:
I'm a little confused by your question
- Are you running BGP or IBGP. If yes, AS is manually configured for IBGP or BGP
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

projectsAuthor Commented:
I am trying to understand networking and routing a little better.
Here is an example from my desk to some server over the internet where I don't control routers.

# mtr -c1 -r -n --aslookup someDomain.com

1. AS4565 = My local router but asn shows MegaPath Networks
2. AS11492   x.x.x.x        = My Provider and my static router IP
3. AS??? = Probably still inside my providers network
4. AS36752  = Yahoo (for some weird reason???)
5. AS14778 = Inktomi


Notice the different asn for the private IPs? Those are specifically what my question is about.

In the case of the firs hop, it's just a local firewall, doesn't have BGP or anything else so I'm guessing it's asn comes from the internal ASN results BUT, why is it showing MegaPath Networks? Are they the people in charge of asn?

The others I understand, because even if private, it is the router broadcasting the AS.
projectsAuthor Commented:
The answer is simply that the routers broadcast the asn if one is assigned to it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
projectsAuthor Commented:
Found my own answer.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.