FRR BGP Communities issue
-
Hi All,
Pfsense version 2.4.5-p1
FRR package vesrion: 7.3.1I added the communities in FFR by GUI:-
I cannot see the configuration in the CLI. Therefore I cannot change the localPref in BGP routing.
. 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.
-
@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
-
Are you add the communities by GUI?
2. can you check the FRR configuration by vtysh console?Thx.
-
@tomli
fix is ready: https://redmine.pfsense.org/issues/11333#note-4
Please wait for the next pkg updateYou could fix it manually by replacing
ip
tobgp
infrr_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;
-
Thanks! It works.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.