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

    FRR BGP Communities issue

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 831 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.
    • T
      tomli
      last edited by tomli

      Hi All,

      Pfsense version 2.4.5-p1
      FRR package vesrion: 7.3.1

      I added the communities in FFR by GUI:-
      402d8c30-c738-4038-8003-0edbbc9a3052-image.png

      I cannot see the configuration in the CLI. Therefore I cannot change the localPref in BGP routing.

      ca0c6f07-602c-4199-ac05-b7745f981d22-image.png

      . I tried to add it manual in CLI and I can add the localPref in BGP routing. Is it a bug in Pfsense?

      Please advise.

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

        @tomli unable to reproduce it on 2.4.5-p1 FRR pkg 0.6.7_6:

        ##################### DO NOT EDIT THIS FILE! ######################
        ###################################################################
        # This file was created by an automatic configuration generator.  #
        # The contents of this file will be overwritten without warning!  #
        ###################################################################
        
        password 123
        
        # BGP Config
        router bgp 65001
          bgp log-neighbor-changes
          bgp router-id 0.0.0.1
        
          # BGP Neighbors
          neighbor 192.168.88.41 remote-as 65002
          address-family ipv4 unicast
            neighbor 192.168.88.41 activate
            neighbor 192.168.88.41 send-community
          exit-address-family 
        
        # Community Lists
        ip community-list standard testat permit 15401:174
        ip community-list expanded extcom permit 33680:174
        
        # Route Maps
        route-map testommm permit 10
          match community testat
        

        please provide more info about your configuration

        1 Reply Last reply Reply Quote 0
        • T
          tomli
          last edited by

          Are you add the communities by GUI?
          2. can you check the FRR configuration by vtysh console?

          Thx.

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

            @tomli
            fix is ready: https://redmine.pfsense.org/issues/11333#note-4
            Please wait for the next pkg update

            You could fix it manually by replacing ip to bgp in frr_bgp.inc:

            --- a/net/pfSense-pkg-frr/files/usr/local/pkg/frr/inc/frr_bgp.inc
            +++ b/net/pfSense-pkg-frr/files/usr/local/pkg/frr/inc/frr_bgp.inc
            @@ -789,7 +789,7 @@ function frr_bgp_generate_communitylists() {
                                            /* If this list does not have a valid entry, skip the entire list definition */
                                            continue 2;
                                    }
            -                       $clconf .= "ip community-list {$name} {$line['action']} {$line['community']}\n";
            +                       $clconf .= "bgp community-list {$name} {$line['action']} {$line['community']}\n";
                            }
                    }
                    return $clconf;
            
            T 1 Reply Last reply Reply Quote 0
            • T
              tomli @viktor_g
              last edited by

              @viktor_g

              Thanks! It works.

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