Hi Folks,
I wanted to report a configuration problem with PFSense 2.2.2 with
bridged interfaces. Specifically, this case involves a bridge
configured with two members. I'm able to set advanced options for stp,
edge, and ptp on each interface as needed, and they are properly stored
in /conf/config.xml.
When this PFSense box is rebooted, the edge and ptp options are applied
to the bridge members, but not the stp option. See the following example.
...relevant snipped from config.xml...
<bridges>
<bridged>
<members>lan,opt1</members>
<descr/>
<maxaddr/>
<timeout/>
<stp>lan,opt1</stp>
<maxage>8</maxage>
<fwdelay>5</fwdelay>
<hellotime/>
<priority/>
<proto>rstp</proto>
<holdcnt/>
<ifpriority/>
<ifpathcost/>
<edge>opt1</edge>
<autoedge>lan,opt1</autoedge>
<ptp>opt1</ptp>
<autoptp>lan,opt1</autoptp>
<bridgeif>bridge0</bridgeif>
</bridged>
</bridges>
Note that STP is enabled on both "lan" and "opt1". After a reboot, see
the following where STP is not enabled on either bridge port.
: ifconfig bridge0
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
ether 02:20:c8:8c:f9:00
nd6 options=1<PERFORMNUD>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: igb1 flags=2a3<LEARNING,DISCOVER,EDGE,PTP>
ifmaxaddr 0 port 6 priority 128 path cost 2000000
member: igb0 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 5 priority 128 path cost 2000000
A manual fix-up to enable STP on both ports, followed by the expected
output from ifconfig:
: ifconfig bridge0 stp igb0 stp igb1
: ifconfig bridge0
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
ether 02:20:c8:8c:f9:00
nd6 options=1<PERFORMNUD>
id 00:1b:21:45:1a:b8 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:1b:21:23:64:20 priority 32768 ifcost 2000000 port 5
member: igb1 flags=2a7<LEARNING,DISCOVER,STP,EDGE,PTP>
ifmaxaddr 0 port 6 priority 128 path cost 2000000 proto rstp
role disabled state discarding
member: igb0 flags=7<LEARNING,DISCOVER,STP>
ifmaxaddr 0 port 5 priority 128 path cost 2000000 proto rstp
role root state forwarding
Best Regards,
Mark S.
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold