Project

General

Profile

Actions

Bug #11122

closed

Bridge STP priority/cost error

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

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

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:

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'

Actions #1

Updated by Viktor Gurov 11 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

Actions #2

Updated by Jim Pingle 11 months ago

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

Updated by Renato Botelho 11 months ago

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

PR has been merged. Thanks!

Actions #4

Updated by Viktor Gurov 11 months ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20201206.0250

Actions

Also available in: Atom PDF