Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hub is not working #125

Open
i1ya opened this issue Jan 12, 2023 · 1 comment
Open

Hub is not working #125

i1ya opened this issue Jan 12, 2023 · 1 comment

Comments

@i1ya
Copy link

i1ya commented Jan 12, 2023

addSwitch(node_id, cls=IPSwitch, stp=False, hub=True) - is not working.

In https://github.com/cnp3/ipmininet/blob/master/ipmininet/ipswitch.py#L34 you have:
self.cmd('brctl setageing 0', self)

But right will be:
self.cmd('brctl setageing ', self, ' 0')

See for details: https://techglimpse.com/convert-linux-bridge-hub-vm-interospection/

@jadinm
Copy link
Collaborator

jadinm commented Jan 18, 2023

Thanks for reporting 👍

If you can make a PR with that, I'll merge it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants