Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    frr bgpd is not running - Won't stay started

    Scheduled Pinned Locked Moved FRR
    12 Posts 3 Posters 6.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DaddyGoD
      DaddyGo @juesor
      last edited by DaddyGo

      @juesor said in frr bgpd is not running - Won't stay started:

      Everything worked wonderfully prior to a reboot.

      Hi,
      it was for you....?????????????

      b8a5213e-d49a-4dde-bd77-0feacf7cc2d4-image.pngű

      +++edit:

      highlighted
      sysctl.................kern.ipc.maxsock...... (and the rest)

      Cats bury it so they can't see it!
      (You know what I mean if you have a cat)

      1 Reply Last reply Reply Quote 0
      • J
        juesor
        last edited by

        When I say wonderfully. BGPd would start but still wouldn't start on boot.

        [2.4.5-RELEASE][admin@FW.localdomain]/root: service frr status
        zebra is running as pid 50181.
        babeld is not running.
        bfdd is not running.
        bgpd is not running.
        eigrpd is not running.
        fabricd is not running.
        isisd is not running.
        ospfd is not running.
        ospf6d is not running.
        ripd is not running.
        ripngd is not running.
        staticd is not running.

        As you can see not running no matter what i do to get it started. I'm not running OSPFd on this pfsense.

        DaddyGoD 1 Reply Last reply Reply Quote 0
        • DaddyGoD
          DaddyGo @juesor
          last edited by

          @juesor said in frr bgpd is not running - Won't stay started:

          When I say wonderfully.

          indeed?

          on pfSense, a package will not start, if the conditions are not specified...
          (or missconfigured)

          without any problems we run this package, so you have the fault...etc. etc..
          can you give a more detailed description of logs, network topology, etc,

          Cats bury it so they can't see it!
          (You know what I mean if you have a cat)

          1 Reply Last reply Reply Quote 0
          • J
            juesor
            last edited by

            Is there a way to log FRR status change? Like I said earlier it doesn't seem to be logging to /var/log/frr/

            As for BGP config

            I'm using this PF to BGP to 4 ipv4 neighbors and 2 ipv6 neighbors. I am using Network Distribution to distribute 15 routes across.

            I am using Prefix Lists to limit what gets shared to which neighbor.

            Along with Route Maps.

            I can not take a look at my bgp config because bgpd is not running.

            bgpd is not running

            Aug 4 12:07:31 php-fpm 350 /pkg_edit.php: FRR OSPF6d: No config data found.
            Aug 4 12:07:31 php-fpm 350 /pkg_edit.php: FRR OSPFd: No config data found.
            Aug 4 12:07:31 check_reload_status Syncing firewall

            That is the only System Logs -> General that is being displayed nothing about bgpd

            DaddyGoD 1 Reply Last reply Reply Quote 0
            • DaddyGoD
              DaddyGo @juesor
              last edited by

              @juesor said in frr bgpd is not running - Won't stay started:

              Is there a way to log FRR status change?

              of course, when the running the package...?!

              current version of pfSense?
              he, will be your man.... @viktor_g

              this is an abnormal behavior from FRR (pkg) ()...😉
              (or something is misconfigured, I leave that to myself)

              Cats bury it so they can't see it!
              (You know what I mean if you have a cat)

              1 Reply Last reply Reply Quote 0
              • J
                juesor
                last edited by

                I am running the latest version of pfsense.

                When I ripped out all of the FRR config on this server and reapplied one option at a time neighborship at a time BGP would start and stay started.

                Is there something with pfSense's FRR where config changes are not fully applied or applied in an odd timing.

                J 1 Reply Last reply Reply Quote 0
                • J
                  juesor @juesor
                  last edited by

                  When I enter data in from the GUI it's like the config isn't taking all of my options. Hence the reason the service checks my config and fails.

                  If I enter all my config from CLI via vtysh it works.

                  Is there something with adding information to GUI that is not working properly?

                  Can I just upload my cli config and have it populate the GUI?

                  viktor_gV 1 Reply Last reply Reply Quote 0
                  • viktor_gV
                    viktor_g Netgate @juesor
                    last edited by

                    @juesor Can you show your config?
                    Unable to reproduce this issue.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      juesor @viktor_g
                      last edited by juesor

                      @viktor_g

                      The config looks like the following. When I try to recreate all items in the GUI I don't see anything wrong but at some point, bgpd fails to start.

                      I've modified IP's as i am posting this public's so none of the IP's are real.

                      router bgp 65006
                      bgp router-id 10.10.30.4
                      bgp log-neighbor-changes
                      neighbor 1.2.3.4 remote-as 65001
                      neighbor 1.2.3.4 description HEND1 9K - VRF inet
                      neighbor 1.2.3.4 update-source 1.2.3.3
                      neighbor 1.2.3.5 remote-as 65001
                      neighbor 1.2.3.5 description HEND2 9k - VRF inet
                      neighbor 1.2.3.5 update-source 1.2.3.3
                      neighbor 1.2.4.12 remote-as 65001
                      neighbor 1.2.4.12 description HEND1-9k-VRF-inet2
                      neighbor 1.2.4.12 update-source 1.2.4.11
                      neighbor 1.2.4.13 remote-as 65001
                      neighbor 1.2.4.13 description HEND2-9k-VRF-inet2
                      neighbor 1.2.4.13 update-source 1.2.4.11
                      neighbor 2802:a100:a100:5::12 remote-as 65001
                      neighbor 2802:a100:a100:5::12 description HEND1-9k-VRF-inet2v6
                      neighbor 2802:a100:a100:5::12 update-source 2802:a100:a100:5::11
                      neighbor 2802:a100:a100:5::13 remote-as 65001
                      neighbor 2802:a100:a100:5::13 description HEND2-9k-VRF-inet2v6
                      neighbor 2802:a100:a100:5::13 update-source 2802:a100:a100:5::1
                      !
                      address-family ipv4 unicast
                      network 1.2.5.0/24 route-map VRF-inet2-ipv4
                      network 1.2.5.23/32 route-map inet
                      network 1.2.5.25/32 route-map inet
                      network 192.168.1.0/24 route-map inet
                      network 1.2.6.12/32 route-map VRF-inet2-ipv4
                      network 1.2.4.0/29 route-map VRF-inet2-ipv4
                      network 1.2.4.32/28 route-map VRF-inet2-ipv4
                      network 1.2.4.48/29
                      network 1.2.4.128/28 route-map VRF-inet2-ipv4
                      network 1.2.7.80/28 route-map VRF-inet2-ipv4
                      network 1.2.8.240/29 route-map VRF-inet2-ipv4
                      network 1.2.9.240/29 route-map VRF-inet2-ipv4
                      neighbor 1.2.3.4 prefix-list inet out
                      neighbor 1.2.3.5 prefix-list inet out
                      neighbor 1.2.4.12 prefix-list VRF-inet2v4 out
                      neighbor 1.2.4.13 prefix-list VRF-inet2v4 out
                      exit-address-family
                      !
                      address-family ipv6 unicast
                      network 2405:1600:a100::/56
                      network 2405:1600:a101::/56
                      network 2405:1600:a102:1::/64
                      neighbor 2802:a100:a100:5::12 activate
                      neighbor 2802:a100:a100:5::12 prefix-list VRF-inet2-ipv6 out
                      exit-address-family
                      !
                      ip prefix-list Global description VRF Global
                      ip prefix-list Global seq 1 permit 10.8.1.10/32
                      ip prefix-list Global seq 2 permit 10.8.1.11/32
                      ip prefix-list Global seq 3 permit 192.168.1.0/24
                      ip prefix-list Global seq 4 permit 1.2.4.252/30
                      ip prefix-list inet description VRF inet
                      ip prefix-list inet seq 1 permit 1.2.5.23/32
                      ip prefix-list inet seq 2 permit 1.2.5.25/32
                      ip prefix-list inet seq 3 permit 192.168.1.0/24 le 28
                      ip prefix-list VRF-inet2v4 description VRF VRF-inet2 ipv4
                      ip prefix-list VRF-inet2v4 seq 1 permit 1.2.5.0/24
                      ip prefix-list VRF-inet2v4 seq 2 permit 1.2.6.12/32
                      ip prefix-list VRF-inet2v4 seq 3 permit 1.2.4.0/29
                      ip prefix-list VRF-inet2v4 seq 4 permit 1.2.4.32/28
                      ip prefix-list VRF-inet2v4 seq 5 permit 1.2.4.128/28
                      ip prefix-list VRF-inet2v4 seq 6 permit 1.2.7.80/28
                      ip prefix-list VRF-inet2v4 seq 7 permit 1.2.8.240/29
                      ip prefix-list VRF-inet2v4 seq 8 permit 1.2.9.240/29
                      !
                      ipv6 prefix-list VRF-inet2-ipv6 description VRF VRF-inet2 ipv6
                      ipv6 prefix-list VRF-inet2-ipv6 seq 1 permit 2405:1600:a100::/56
                      ipv6 prefix-list VRF-inet2-ipv6 seq 2 permit 2405:1600:a101::/56
                      !
                      route-map inet permit 1
                      match ip address prefix-list inet
                      !
                      route-map VRF-inet2-ipv4 permit 2
                      match ip address prefix-list VRF-inet2v4
                      !
                      route-map VRF-inet2-ipv6 permit 3
                      match ip address prefix-list VRF-inet2-ipv6
                      !
                      line vty
                      !
                      end

                      1 Reply Last reply Reply Quote 0
                      • J
                        juesor
                        last edited by

                        When I create all of that via GUI something crashes the bgpd service. But if I paste that via CLI it works.

                        I can do it all again and show you the service failing. But it would be better if frr log something. /var/log/frr/

                        viktor_gV 1 Reply Last reply Reply Quote 0
                        • viktor_gV
                          viktor_g Netgate @juesor
                          last edited by viktor_g

                          @juesor After completing the FRR WebGUI configuration, try to run it from the console:
                          # zebra --log --log-level debug -f /var/etc/frr/zebra.conf
                          and
                          # zebra --log --log-level debug -f /var/etc/frr/bgpd.conf

                          You can also create a redmine issue:
                          https://docs.netgate.com/pfsense/en/latest/development/bug-reporting.html

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.