# Routing Table and BGP RIB on SR Linux

DevFeed: [Routing Table and BGP RIB on SR Linux](<https://devfeed.tech/articles/routing-table-and-bgp-rib-on-sr-linux-11074.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2024/09/srlinux-bgp-rib/>)

Published: 2024-09-04T05:24:00Z

Content type: article

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [BGP](<https://devfeed.tech/topics/bgp.md>), [IP routing](<https://devfeed.tech/topics/ip-routing.md>), [networking](<https://devfeed.tech/topics/networking.md>)

Tags: [bgp](<https://devfeed.tech/tags/bgp.md>), [ip-routing](<https://devfeed.tech/tags/ip-routing.md>), [network](<https://devfeed.tech/tags/network.md>), [routing](<https://devfeed.tech/tags/routing.md>)

## AI overview

The article examines how SR Linux handles routing information, contrasting its behavior with traditional network operating systems and FRRouting. In an SR Linux lab, system routes also appear in the BGP RIB, while an OSPF route is present in the BGP RIB without being advertised to the adjacent BGP router.

## Source excerpt

Ages ago, I described how "traditional" network operating systems used the BGP Routing Information Base (BGP RIB), the system routing table (RIB), and the forwarding table (FIB). Here's the TL&DR: Routes received from BGP neighbors are stored in BGP RIB. Routes redistributed into BGP from other protocols are (re)created in the BGP RIB. BGP selects the best routes in BGP RIB using its convoluted set of rules. Best routes from the BGP RIB are advertised to BGP neighbors Best routes from the BGP RIB compete (based on their administrative distance) against routes from other routing protocols to enter the IP routing table (system RIB) Routes from the system RIB are copied into FIB after their next hops are fully evaluated (a process that might involve multiple recursive lookups). Read more ...