Git Product home page Git Product logo

spanningtreepracticer's Issues

Blocked port uses local port ID instead of received port ID

Hi,

Current OS3 student here. Thanks for this program!

While using this program I noticed that:
image
Results in the following topology:
image
According to the Wikipedia page, which based it on ref 12 (802.1d 1998) the transmitting (and thus received) port ID is used. The program seems to use the port ID on which the BPDU was received.

For example:
Bridge 67 blocks local port 47 and uses local port 17 as it's root port. This while port 47 received a BPDU containing bridge 14's port ID 39 which is lower/better then the BPDU local port 17 received from bridge 14 which contained 84.

Similar behaviour is seen at 77 which chooses local port 20 as root port while local port 22 received a BPDU with port ID 51 from bridge 14, thus making it better then port ID 84 that bridge 77 received on local port 20.

Expected behaviour would be for bridge 67 to use local port 47 as it's root port because it received the lower port ID from bridge 14. Similarly bridge 77 should use port 22 as it's root port and block port 20.

I can provide a GNS3 topology that shows the expected behaviour if necessary.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.