In interview somebody ask me simple question on Autonomous system. I am jsut wondering what will be the smartest answer for that.
Question is Why we need Autonomous System ?
Thanks & Regards,
Were they referring to IGP or EGP?
For EGP, AS is required for loop prevention. If you see your own AS in an AS_PATH you know not to consider it a best route as it would cause a loop.
For IGP it depends on the protocol. EIGRP requires AS to match to be considered part of a routing domain. RIP does not use the concept of AS. OSPF uses areas.
I am agreed with your answer but As_PATH is Attribute. But my Question is still same why we need it coz it do loop preventation or any other things also there ??
Because what i want is i need to give a good clarification on this...Why we need it??
Thanks & Regards,
The AS was designed to seperate the Internet into managable units.
The EGP produces a list of AS through which the traffic passes. As traffic moves along it removes the front AS. If the AS occured twice in the AS Path you would be looping.
Did you want an intelligent answer or a technical answer?
How does BGP carry out loop prevention without the AS Path? There is no other way for BGP to know that it had previously originated a prefix without checking the AS_PATH and seeing its own AS.
No, thats its main use. The definition from RFC4271:
The classic definition of an Autonomous System is a set of routers under a single technical administration, using an interior gateway protocol (IGP) and common metrics to determine how to route packets within the AS, and using an inter-AS routing protocol to determine how to route packets to other ASes. Since this classic definition was developed, it has become common for a single AS to use several IGPs and, sometimes, several sets of metrics within an AS. The use of the term Autonomous System stresses the fact that, even when multiple IGPs and metrics are used, the administration of an AS appears to other ASes to have a single coherent interior routing plan, and presents a consistent picture of the destinations that are reachable through it.
Think about it like this. What would happen if you didnt have AS numbers. How would BGP peers know if they were iBGP peers or eBGP peers? How could you prefer internal paths over external paths? How could you prevent routing loops in BGP?
Have a read of this too:
The definition of an AS is a group of routers under one administrative control. The administrators of the autonomous system define and outline the routing policy for their own autonomous system(s). I agree with Conwyn. So while simple, it's still an intelligent answer.
You don't need a defination but you want to know why we need AS?? It is called asking for a defination...AS is clear from it's name but still you can quote Jeff doyle by saying "Laziness is a Virtue..."