Can I have 2 different ASs, say AS 65001 and AS 65002, connected to same OSPF domain? So that both ASs advertise the routes from the OSPF domain. So say you have two routers one in AS 65001 and one in 65002, both of these routers connect EBGP to AS 65003 and both of these routers have a connections to the same OSPF domain that supports the 10.0.0.0/8 network. Thank you for your help.
While you could physically configure one router to run BGP 65001 and the other router to run BGP 65002 while connected to the same OSPF network it would not be a good thing to do. It violates several expectations of BGP. You do not mention in your question whether these routers will connect to each other. If they do connect then the connection should be IBGP since they appear to be in a common enterprise (since they share the same OSPF). But their connection would be EBGP since they have different AS numbers. Also the router in 65003 would see the same network(s) (from OSPF) as originating from 2 different AS which is not a good thing in BGP.
If we knew what you were trying to accomplish with this we might be able to suggest a better way of accomplishing the objective.
Rick, you say, "If they do connect then the connection should be IBGP since they appear to be in a common enterprise (since they share the same OSPF). But their connection would be EBGP since they have different AS numbers."
Can't their BGP processes be configured so as to identify each other as neighbors with the same AS number (i.e., whichever AS number is assigned to the OSPF domain (Franklin didn't specify if that's 65003 or a fourth AS)?
And then they could still form additional IBGP peerings within their respective 65001 and 65002 AS'es, couldn't they?
The routers in AS 65001 and 65002 are not connected to each other. They can only connect to 65003? This is for a project we are testing and I am wondering if this confuguration will work. I am sure the router in 65003 will see both routes, no tested yet because the lab is being used by someone else as we speak, but I am trying to understand the harm in this configuration. The 65003 router will be get the same route from two ASs and pick one according to the BGP decision making algorithm. I guess I cant get my head around the harm of the 65003 router seeing both routes. Thank you for your help.
Franky-baby, it really would help if you could post a drawing or at least give some more specific about your topology.
You said the OSPF domain supports the 10.0.0.0/8 network - is that the only place you have subnets that belong to that network? Are there no other major networks or their subnets in play there? If so you might consider advertising a default route for the 10./8 Class A network into the other AS's rather than have BGP eat up your CPU cycles.
I don't think that would be an issue on the 65003 router. It should be fine to see the same routes from different EBGP peers. BGP will normally pick the best route to install in RIB. If you want AS 65001 and AS 65002 to talk with each other. It should be a problem.
Edit: It would be good if you can provide us how they are connecting and which network you're using.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...