This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

Routes from BGP and OSPF not Installed in the Routing Table

Follow

Issue

The route table entries for BGP and OSPF routes are missing from the routing table. For example:

frr# show ip bgp
BGP table version is 0, local router ID is 10.4.4.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 10.0.1.0/24      10.1.1.2                 1             0 65511 ?
*> 10.1.1.0/24      10.1.1.2                 1             0 65511 ?
*> 10.3.3.3/32      10.1.1.2                 1             0 65511 ?

Total number of prefixes 3
frr# show ip route
frr# exit

cumulus@switch:~$ ip route show
default via 10.0.1.2 dev eth0 
10.0.1.0/24 dev eth0  proto kernel  scope link  src 10.0.1.208 
10.1.1.0/24 dev swp3  proto kernel  scope link  src 10.1.1.1 
10.2.2.0/24 dev swp4  proto kernel  scope link  src 10.2.2.2

Environment

  • Cumulus Linux, all versions

Cause

The Zebra daemon is not running. The Zebra daemon is responsible for installing routes, learned from routing protocols, into the routing table.

Resolution

  1. Edit /etc/frr/daemons and set the zebra keyword to yes.
    cumulus@switch:~$ sudo vi /etc/frr/daemons
    ----------------
    zebra=no [change to yes]
    bgpd=yes
    ospfd=yes
    ----------------
    
  2. Restart FRRouting.
    cumulus@switch:~$ sudo systemctl restart frr
    ...
    .....
    frr# show ip route
    Codes: K - kernel route, C - connected, S - static, R - RIP,
           O - OSPF, I - IS-IS, B - BGP, A - Babel,
           > - selected route, * - FIB route

    K>* 0.0.0.0/0 via 10.0.1.2, eth0
    C>* 10.0.1.0/24 is directly connected, eth0
    C>* 10.1.1.0/24 is directly connected, swp3
    B>* 10.3.3.3/32 [20/1] via 10.1.1.2, swp3, 00:00:08
    C>* 10.4.4.4/32 is directly connected, lo
    C>* 127.0.0.0/8 is directly connected, lo
  3. Exit FRR, then use ip route show in Cumulus Linux to verify.
    frr# exit

    cumulus@switch:~$ ip route show
    default via 10.0.1.2 dev eth0
    10.0.1.0/24 dev eth0  proto kernel  scope link  src 10.0.1.208
    10.1.1.0/24 dev swp3  proto kernel  scope link  src 10.1.1.1
    10.2.2.0/24 dev swp4  proto kernel  scope link  src 10.2.2.2
    10.3.3.3 via 10.1.1.2 dev swp3  proto zebra  metric 20

Comments

This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk