# FRRouting RIB and FIB

DevFeed: [FRRouting RIB and FIB](<https://devfeed.tech/articles/frrouting-rib-and-fib-10961.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2024/03/frr-rib-fib/>)

Published: 2024-03-20T06:39:00Z

Content type: tutorial

Language: en

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

Topics: [Network](<https://devfeed.tech/topics/network.md>), [networking](<https://devfeed.tech/topics/networking.md>), [IP routing](<https://devfeed.tech/topics/ip-routing.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [BGP](<https://devfeed.tech/topics/bgp.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

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

## AI overview

This article explains how FRRouting handles routes from protocols such as BGP and OSPF across its IP routing table, the Linux kernel routing table, and the forwarding table. It also shows how local interface routes can be viewed with ip route list table local.

## Source excerpt

This is how we described the interactions between routing protocol tables, RIB, and FIB in the ancient times: Routing protocols compute the best paths to all known prefixes. These paths compete for entry in the routing table. The path(s) with the lowest administrative distance win. The entries from the routing table are fully evaluated (in particular, their next hops) and entered in the forwarding table. Let's use a simple BGP+OSPF network to illustrate what I'm talking about: Read more ...