Tuesday, May 3, 2011

Linux bridge STP long path cost (802.1t-2001)

A few years ago, we had to implement STP on Linux boxes, using the long path cost standard. If changing the cost values from userspace is not really your thing, here's a patched br_if.c source (mind you, it's for an old kernel version, probably 2.6.17 or something).

Edit: for those who are interested in the actual numbers, not the Linux code:

No comments:

Post a Comment