## Abstract

Most Internet routing protocols have one of two algorithms lurking at their core — either Dijkstra’s algorithm in the case of link-state protocols or a distributed Bellman-Ford algorithm in the case of distance-vector or path-vector protocols. When computing simple shortest paths these protocols can be modified to utilize all best paths with a combination of next-

hop sets and Equal Cost Multi-Path (ECMP) forwarding. We show that this picture breaks down even for simple modifications to the shortest path metric. This is illustrated with widest-shortest paths where among all shortest paths only those with greatest bandwidth are considered best. In this case Bellman-Ford and Dijkstra may compute different sets of paths and neither

can compute all best paths. In addition, some paths computed by Dijkstra’s algorithm cannot be implemented with next-hop forwarding. We provide a general algebraic model that helps to clarify such anomalies. This is accomplished by computing paths within the route metric rather than with specialized algorithmic extensions. Our model exploits the theoretical distinction between global and local optima that has hitherto been applied almost exclusively to more exotic routing protocols such as BGP.

hop sets and Equal Cost Multi-Path (ECMP) forwarding. We show that this picture breaks down even for simple modifications to the shortest path metric. This is illustrated with widest-shortest paths where among all shortest paths only those with greatest bandwidth are considered best. In this case Bellman-Ford and Dijkstra may compute different sets of paths and neither

can compute all best paths. In addition, some paths computed by Dijkstra’s algorithm cannot be implemented with next-hop forwarding. We provide a general algebraic model that helps to clarify such anomalies. This is accomplished by computing paths within the route metric rather than with specialized algorithmic extensions. Our model exploits the theoretical distinction between global and local optima that has hitherto been applied almost exclusively to more exotic routing protocols such as BGP.

Original language | English |
---|---|

Publication status | Published - 10 Oct 2013 |

Event | International Conference on Network Protocols - Mathematical Institute, Georg-August University, Göttingen, Germany Duration: 7 Oct 2013 → 10 Oct 2013 |

### Conference

Conference | International Conference on Network Protocols |
---|---|

Country | Germany |

City | Göttingen |

Period | 7/10/13 → 10/10/13 |