2

Why hasn't BGP completely replaced OSPF and IsIs? What do the other two protocols handle that BGP does not already implement?

Goose3gg
  • 93
  • 1
  • 1
  • 9
  • 1
    I can see now how it is a simple question. Although, for me I am just being exposed to these protocols and I was having trouble understanding what set them apart. – Goose3gg Dec 12 '11 at 07:25

5 Answers5

4

Two additional observations that have not yet been covered in the previous answers:

  1. OSPF and ISIS assume that they run within a single administrative domain, which means that all routers are run by the same organization. As such, these protocols share a lot of information (e.g. full topology) amongst the routers. BGP, on the other hand, is run between different administrative domains, i.e. between routers that are owned by different (possibly competing) organizations. As such, BGP is very careful to only share the minimum amount of information needed to make routing work (e.g. not the internal topology of an autonomous system). Also, instead of just focusing on finding the short path between two points, BGP provides a very rich "policy framework" that allows organizations to reflect business policies (= $$$) in BGP routing policies. For example, BGP provides the tools necessary to allow a company to decide whether or not they are willing to provide transit for another company. These BGP policy tools are very rich but also very complex, which makes BGP often an overkill as an Interior Gateway Protocol (IGP).

  2. The current implementations of BGP typically scale to much larger networks (the entire Internet!) than the current implementations of OSPF and ISIS (typically hundreds of routers at the most). For that reason, some of the very largest networks run by the "hyperscale" companies (think Google, Microsoft, Amazon who have data centers with tens of thousands or even hundreds of thousands of servers) are sometimes using BGP instead of OSPF or ISIS inside their data centers. See RFC7938 (https://www.rfc-editor.org/rfc/rfc7938) for details. Alternatively, they can also run a centralized control plane using Software Defined Networking (SDN).

Community
  • 1
  • 1
Bruno Rijsman
  • 3,715
  • 4
  • 31
  • 61
4

In what circumstances would it ever be practical for BGP to replace OSPF or ISIS?

BGP is an Exterior Gateway Protocol (EGP), it does not understand items like the bandwidth of links. Compare this to any Interior Gateway Protocol (IGP), including the two you mentioned, that make their routing decisions partly on available link speed.

BGP is more complex to configure properly than any IGP, add on the lack of support by lower end routers (not just bottom end routers) and the lack of automatic neighbour discovery and it becomes plain why BGP isn't about to take over any time soon, or ever in fact.

blankabout
  • 2,597
  • 2
  • 18
  • 29
  • I appreciate the answer. Now it is beginning to make sense of how BGP operates at the inter-AS level. BGP provides a means to store a path through a particular set of ASes. OSPF and IsIs are used to exchange information between routers. Each manages specific information about the Internet at a different level level, which is why you need two desperate protocols for communication: one between ASes and the other inside a particular AS. – Goose3gg Dec 15 '11 at 02:59
  • @Spike I obviously do not know where you have picked up your information about routing protocols but there are more around than BGP, OSPF and ISIS. They are the ones mainly in use by ISPs but the world of networks is not ISP based, protocols like EIGRP & RIP are used in company networks, the latter perhaps for historical reasons and the former because it is easy to set up and very fast to converge. – blankabout Dec 15 '11 at 07:22
  • Some of the "hyperscale data centers" (e.g. Facebook) have used BGP to replace OSPF or ISIS as the IGP. See https://tools.ietf.org/html/rfc7938 – Bruno Rijsman Sep 22 '18 at 00:10
1

BGP is an Inter-domain protocol, which we use as example to assure communication between Autonomous System.
On the other hand OSPF is an Intra-domain protocol, which we use inside the AS in order to specify how routers communicate with each other.

Nadhir Houari
  • 390
  • 4
  • 10
0

From CISCO's BGP page:

Q - Can IBGP be used in place of an IGP (RIP, IGRP, EIGRP, OSPF, or ISIS)?

A - Yes and no. Remember that the next-hop information from EBGP is carried into IBGP. If IBGP does not have a route to reach the next hop, then the route will be discarded. Typically an IGP needs to be used to exchange routes to the next hop, but this can be achieved by using static routes on all the routers running IBGP. So, the answer is yes if you want to use and maintain static routes. Otherwise, the answer is no.

Goose3gg
  • 93
  • 1
  • 1
  • 9
-1

BGP IS replacing OSPF, in data centers. BGP can send and receive ARP info now too, so it is replacing that too. Policy is critical now and BGP handles it well.

Andrew
  • 1
  • 4
  • 19