Project

General

Profile

Bug #11122

Bridge STP priority/cost error

Added by Viktor Gurov 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
12/02/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4.5-p1
Affected Architecture:
Release Notes:
Default

Description

If at least one prio/cost interfaces is changed, you'll get an error:

Dec  2 17:17:12 pf41 php-fpm[70364]: /interfaces_bridge_edit.php: 
The command '/sbin/ifconfig bridge0 stp vtnet2.88' returned exit code '1', the output was 'ifconfig: unable to set bridge flags: Invalid argument'

Associated revisions

Revision 186ef856 (diff)
Added by Viktor Gurov 4 months ago

Bridge prio/cost saving fix. Issue #11122

History

#1 Updated by Viktor Gurov 4 months ago

config saving error:

<ifpriority>,opt1:96,opt2:192,opt4:192</ifpriority>
<ifpathcost>,opt1:10000,opt2:20000</ifpathcost>

VLAN or pseudo-interfaces cannot be part of STP:

# ifconfig bridge0 stp vtnet2.88
ifconfig: unable to set bridge flags: Invalid argument
# ifconfig bridge0 stp gif0
ifconfig: unable to set bridge flags: Invalid argument

fix:
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/75

#2 Updated by Jim Pingle 4 months ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0

#3 Updated by Renato Botelho 4 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

#4 Updated by Viktor Gurov 4 months ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20201206.0250

Also available in: Atom PDF