Ccip BGP Ch4 Interdomain Routing Basics
Ccip BGP Ch4 Interdomain Routing Basics
2. Autonomous Systems
1. AS is a group of routers using one IGP or multiple IGPs working together within the
AS for internal routing. The AS viewed from outside the network is viewed as a
single entity. An AS number is assigned by an Internet Registry or by a provider for
the instance of private ASs. Routing exchanged between ASs using an EGP (BGP).
2. Segregating the world into administrations is the capability to have one large
network (in the sense that the Internet could have been one huge OSPF or IS-IS
network) divided into smaller and more manageable networks. These networks,
represented as ASs, can now implement their own set of rules and policies that will
uniquely distinguish their networks and associated service offerings from other
networks. Each AS can now run its own set of IGPs, independent of IGPs in other
ASs.
2. Stub AS
1. Single Homed = Stub AS (Single connection to a single ISP)
1. If the customer has a number of contiguous subnets the ISP could use static
aggregate routes to the customer and then use BGP to advertise to the rest of the
internet. However if the customer has many noncontiguous subnets then static
routes becomes inefficient.
2. Uncommon, but can use IGPs between the customer and the ISP making the
advertisement of noncontiguous more efficient. However IGPs don't scale well
because customer link instability can result in IGP instabilities.
3. BGP - Although it may be hard to get a public AS from an IRR because the
customers routing policies are an extension of the ISP's. The provider could
however use private ASs (65412-65535), assuming that the provider's routing
policies have provisioned support for using private AS space with customers.
3. Multihomed Nontransit AS
1. Multihomed = a connected to two providers (or multiple connections to one
provider).
2. In order to ensure non-transit AS status, the customer would need to ensure to
advertise only it's local routes to both providers, and filter any other routes learned
from the providers from being advertised to the other provider. The ISPs could force
outside traffic by using a default route, however you can take precautions against
this by filtering all traffic destined to a subnet not of the local ASs.
3. Multihomed topologies does not need to use BGP although most providers will
require it, and BGP is recommended for this sort of topology.
4. Multihomed Transit AS
1. Multihomed Transit AS is when the local AS receives routes from one AS and
advertises them to another AS.
2. Routers internal to the same AS are iBGP neighbors (AKA transit routers)
3. Routers in separate ASs are eBGP neighbors.
4. Nontransit routers internal to the AS don't have to run BGP, could use an IGP or
static routing, normally providers have all routers running BGP however.