Help: how to enable RPKI in FRR 5?
Hi there, I've been trying to configure FRR 5.0.1 (downloaded from Github releases https://github.com/FRRouting/frr/releases/download/frr-5.0.1/frr-5.0.1-20180...) and also 5.1 (manually built as RPM from master branch) to use RPKI. Both cases in CentOS 7; there's no problem compiling nor executing the service with the zebra and bgpd daemons active. But when I try to use the rpki configuration (http://docs.frrouting.org/en/latest/bgp.html#enabling-rpki), this is not recognized by the application. For example, if I place the conf at the bgpd.conf file like the example ( http://docs.frrouting.org/en/latest/bgp.html#rpki-configuration-example) nothing happens since the configuration seems to be unrecognized. After that, I've tried to configure the rpki from the terminal (using "vtysh" or by "telnet"), like this (multiple forms, probably a little desperate): bgp# rpki % [BGP] Unknown command: rpki bgp# conf term bgp(config)# rpki % [BGP] Unknown command: rpki bgp(config)# router bgp 1 bgp(config-router)# rpki % [BGP] Unknown command: rpki I don't know if I'm missing something or what to do, could somebody here help me with this please? Best regards, Francisco Moreno
Paco, for RPKI, you need to download the RPKI version of FRR and install the additional RTRLIB package as well. As described on the Github release page: “For some platforms we publish RPKI enabled packages. Please be aware that you will need the RTRLIB package installed as well for the RPKI packages. You can find the RTRLIB packages on the NetDEF CI system in the RTRLIB project” So in your case (CentOS 7), you would download the FRR with RPKI package: https://github.com/FRRouting/frr/releases/download/frr-5.0.1/frr-5.0.1RPKI-2... and the RTRLIB from https://ci1.netdef.org/artifact/RPKI-RTRLIB/shared/build-38/CentOS-7-x86_64-... Install the RTRLIB first, then the FRR package We decided to distribute an extra package as the RTRLIB doesn’t have official package in the various distributions (i.e. CentOS 7) and requires a manual install. Tried to avoid this extra step for the majority who doesn’t need or want RPKI. Regards, Martin Winter On 16 Jul 2018, at 16:01, Paco Moreno wrote:
Hi there,
I've been trying to configure FRR 5.0.1 (downloaded from Github releases https://github.com/FRRouting/frr/releases/download/frr-5.0.1/frr-5.0.1-20180...) and also 5.1 (manually built as RPM from master branch) to use RPKI. Both cases in CentOS 7; there's no problem compiling nor executing the service with the zebra and bgpd daemons active. But when I try to use the rpki configuration (http://docs.frrouting.org/en/latest/bgp.html#enabling-rpki), this is not recognized by the application.
For example, if I place the conf at the bgpd.conf file like the example ( http://docs.frrouting.org/en/latest/bgp.html#rpki-configuration-example) nothing happens since the configuration seems to be unrecognized. After that, I've tried to configure the rpki from the terminal (using "vtysh" or by "telnet"), like this (multiple forms, probably a little desperate): bgp# rpki % [BGP] Unknown command: rpki bgp# conf term bgp(config)# rpki % [BGP] Unknown command: rpki bgp(config)# router bgp 1 bgp(config-router)# rpki % [BGP] Unknown command: rpki
I don't know if I'm missing something or what to do, could somebody here help me with this please?
Best regards, Francisco Moreno
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
Paco Moreno You are not the only one. I have hit the exact same issue enabling RPKI with FRRouting v5.0.1. Even thou I downloaded all the proper DEB packages from https://github.com/FRRouting/frr/releases/tag/frr-5.0.1 and the auxilary packages librtr and rtr-tools. Anybody else having this issue and mayhaps a resolution for debugging and/or solution to this? /Christoffer ---------------------------------------------------- **Technical Info:** $ uname -a Linux ubuntu1804-router 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -d Description: Ubuntu 18.04 LTS *FRR config mode:* ubuntu1804-router(config)# debug rpki % [BGP] Unknown command: debug rpki ubuntu1804-router(config)# rpki % [BGP] Unknown command: rpki $ dpkg -l | grep -E 'librtr|rtr-tools|frr' | awk '{print $2 $3;}' frr5.0.1RPKI-1~ubuntu18.04+1 frr-dbg5.0.1RPKI-1~ubuntu18.04+1 frr-doc5.0.1RPKI-1~ubuntu18.04+1 frr-pythontools5.0.1RPKI-1~ubuntu18.04+1 librtr-dev:amd640.5.0-1 librtr-doc0.5.0-1 librtr0:amd640.5.0-1 rtr-tools0.5.0-1 rtr-tools-dbg0.5.0-1 On Tue, 17 Jul 2018 at 01:01, Paco Moreno <pc.moreno2099@gmail.com> wrote:
Hi there,
I've been trying to configure FRR 5.0.1 (downloaded from Github releases https://github.com/FRRouting/frr/releases/download/frr-5.0.1/frr-5.0.1-20180...) and also 5.1 (manually built as RPM from master branch) to use RPKI. Both cases in CentOS 7; there's no problem compiling nor executing the service with the zebra and bgpd daemons active. But when I try to use the rpki configuration (http://docs.frrouting.org/en/latest/bgp.html#enabling-rpki), this is not recognized by the application.
For example, if I place the conf at the bgpd.conf file like the example (http://docs.frrouting.org/en/latest/bgp.html#rpki-configuration-example) nothing happens since the configuration seems to be unrecognized. After that, I've tried to configure the rpki from the terminal (using "vtysh" or by "telnet"), like this (multiple forms, probably a little desperate): bgp# rpki % [BGP] Unknown command: rpki bgp# conf term bgp(config)# rpki % [BGP] Unknown command: rpki bgp(config)# router bgp 1 bgp(config-router)# rpki % [BGP] Unknown command: rpki
I don't know if I'm missing something or what to do, could somebody here help me with this please?
participants (3)
-
Christoffer Hansen -
Martin Winter -
Paco Moreno