Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor wording change

...

How do I change rdnbrd's default configuration?

By editing Editing the /etc/rdnbrd.conf file, then running run systemctl restart rdnbrd.service:

...

The Linux kernel supports multiple routing tables and has the ability to can utilize 0 through 255 as table IDs. However, tables 0, 253, 254 and 255 are reserved, and 1 is usually the first one utilized. Therefore, so  rdnbrd only allows you to specify 2-252. The number 10 was chosen for no particular reason. Feel free to set it to any value between 2-252. You can see all the tables specified here:

...

How do I verify that the kernel routing table is being correctly populated?

The Use the following workflow can be used to verify that the kernel routing table is being populated correctly populated and that routes are being correctly imported/advertised:

  1. Verify that ARP neighbor entries are being populated into the Kernel routing table 10.

    Code Block
    languagetext
    cumulus@switch:~$ ip route show table 10
    10.0.1.101 dev swp1 scope link

    If these routes are not being generated, verify the following:

    • That the rdnbrd daemon is running

    • Check /etc/rdnbrd.conf to verify the correct table number is used
  2. Verify that routes are being imported into FRRouting from the kernel routing table 10.

    Code Block
    languagetext
    cumulus@switch:~$ sudo vtysh
    Hello, this is Quagga (version 0.99.23.1+cl3u2).
    Copyright 1996-2005 Kunihiro Ishiguro, et al.
    
    switch# show ip route table
    Codes: K - kernel route, C - connected, S - static, R - RIP,
           O - OSPF, I - IS-IS, B - BGP, A - Babel, T - Table,
           > - selected route, * - FIB route
     T[10]>* 10.0.1.101/32 [19/0] is directly connected, swp1, 01:25:29

    Both the > and * should be present so that table 10 routes are installed as preferred into the routing table. If the routes are not being installed, verify the following:

    • The imported distance of the locally imported kernel routes using the ip import 10 distance X command, where X is not less than the adminstrative distance of the routing protocol. If the distance is too low, routes learned from the protocol may overwrite the locally imported routes.
    • The routes are in the kernel routing table.
  3. Confirm that routes are in the BGP/OSPF database and are being advertised.

    Code Block
    languagetext
    switch# show ip bgp