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

Changing link speed #291

Open
lmakows-uva opened this issue Dec 13, 2018 · 1 comment
Open

Changing link speed #291

lmakows-uva opened this issue Dec 13, 2018 · 1 comment

Comments

@lmakows-uva
Copy link

hi All,

I am using cqqd with mininet.
What I noticed is that the links from hosts and between the switches are explicitely 10G.
Is there a way to set the speed to 1G?

I tried with ethtool but it says it is unsupported.

mininet@mininet-vm:~/ofsoftswitch13$ sudo ethtool f440-eth2
Settings for f440-eth2:
        Supported ports: [ ]
        Supported link modes:   Not reported
        Supported pause frame use: No
        Supports auto-negotiation: No
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 10000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        MDI-X: Unknown
        Link detected: yes
mininet@mininet-vm:~/ofsoftswitch13$ sudo ethtool -s f440-eth2 autoneg off speed 1000
Cannot set new settings: Operation not supported
  not setting speed
  not setting autoneg```
@ederlf
Copy link
Collaborator

ederlf commented Dec 27, 2018

You could try to limit the link speeds on Mininet.
https://github.com/mininet/mininet/wiki/Introduction-to-Mininet#setting-performance-parameters.

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