[FROG] Change default zebra routing table

Donald Sharp donaldsharp72 at gmail.com
Fri Aug 19 11:37:33 UTC 2022


table was removed from FRR because it was a broken command and as such
no-one could be using it:

commit c447ad08b2c880d5f3ef35af2e4055fcbc970961 (origin/pr/4256)
Author: Donald Sharp <sharpd at cumulusnetworks.com>
Date:   Fri May 3 20:54:20 2019 -0400

    doc, zebra: Remove "table X" command

    This command is broken and has been broken since the introduction
    of vrf's.  Since no-one has complained it is safe to assume that
    there is no call for this specialized linux command.  Remove
    from the system with extreme prejudice.



An `inactive` route has failed to be installed for a different reason.  Not
for the reason you have stated.  Can we see the output of `show ip route
10.8.10.1` ?  Also turn on `debug zebra rib detail` and `debug zebra
nexthop detail` and cause the ospf route to be reinstalled.  Let's see what
the logs spit out.

Finally have you looked at FRR's version of PBR?  Why wouldn't that work
for you?

donald


On Fri, Aug 19, 2022 at 3:35 AM Tito Sacchi via frog <
frog at lists.frrouting.org> wrote:

>
>
>
> ---------- Forwarded message ----------
> From: Tito Sacchi <tito+mailinglists at tilde.team>
> To: frog at lists.frrouting.org
> Cc:
> Bcc:
> Date: Fri, 19 Aug 2022 08:25:49 +0200
> Subject: Change default zebra routing table
> Hi everyone,
>
> Quagga has a command called ’table’  that can be used to specify which
> table Zebra should install dynamic routes in.
> Is there anything similar in FRR?
> By default, routes are installed in table 254 (‘main’). But I have a
> complex PBR setup and Zebra fails to install some routes
> because they are covered by a default route already present in table 254.
> But because of PBR, packets do not follow that default route and the subnet
> that comes
> from OSPF and that I expect Zebra to install is not reachable:
>
>     K>* 0.0.0.0/0 [0/1024] via 10.8.10.1, eth0, src 10.8.10.135, 06:50:14
>     [...]
>     O   192.168.65.0/24 [110/110] via 10.8.10.1, eth0 inactive, weight 1,
> 06:50:09
>
> I think the last route is not installed (kept ‘inactive’) because it is
> covered by the default route at the top.
>
> How can I tell zebra to consider another routing table? I would like to
> avoid enslaving all my interfaces to a VRF device.
> If it cannot be done with a simple ’table’ command, should I use route
> maps? They support the `set table` action but according to the manual it
> has to do with BGP and it does not do what I want.
>
> Thanks,
> Tito
>
> — — —
> https://tilde.team/~tito/
>
> PGP key: 0x6BED3002CF25C4D2 (4096R)
> (https://keys.openpgp.org/search?q=0x6BED3002CF25C4D2)
>
> Keybase: @tauroh
> (https://keybase.io/tauroh)
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Tito Sacchi via frog <frog at lists.frrouting.org>
> To: frog at lists.frrouting.org
> Cc:
> Bcc:
> Date: Fri, 19 Aug 2022 08:25:49 +0200
> Subject: [FROG] Change default zebra routing table
> _______________________________________________
> frog mailing list
> frog at lists.frrouting.org
> https://lists.frrouting.org/listinfo/frog
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20220819/5f578182/attachment.htm>


More information about the frog mailing list