How change speed duplex configuration ?

Moderator: mike

Post Reply
Bognad
Posts: 1
Joined: Thu Oct 04, 2018 12:47 pm

How change speed duplex configuration ?

Post by Bognad » Thu Oct 04, 2018 1:47 pm

Hi!
How to change interface speed and duplex on virtual interfaces eve-ng?


Eve-ng on ubuntu 16.
Virtual switch - Cisco vIOS L2


Cisco virtual switch 1000 full:

Code: Select all

cisco_vswitch#show interfaces  status

Port      Name               Status       Vlan       Duplex  Speed Type
Gi0/0                        connected    1            full   1000 RJ45
Gi0/1                        connected    1          a-full   auto RJ45
Gi0/2                        connected    1          a-full   auto RJ45
Gi0/3                        connected    1          a-full   auto RJ45
Gi1/0                        connected    1          a-full   auto RJ45
Gi1/1                        connected    1          a-full   auto RJ45
Gi1/2                        connected    1          a-full   auto RJ45
Gi1/3                        connected    1          a-full   auto RJ45

Eve-ng (ubuntu) - 10 full:

Code: Select all

root@eve-ng:~# ethtool vunl0_1_1 | grep -C 1 Speed
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
root@eve-ng:~# ethtool vunl0_1_2 | grep -C 1 Speed
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
root@eve-ng:~# ethtool vunl0_1_3 | grep -C 1 Speed
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
root@eve-ng:~# ethtool vunl0_1_4 | grep -C 1 Speed
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
root@eve-ng:~# ethtool vunl0_1_5 | grep -C 1 Speed
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
root@eve-ng:~# ethtool vunl0_1_6 | grep -C 1 Speed
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
root@eve-ng:~# ethtool vunl0_1_7 | grep -C 1 Speed
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
Finally I have packet loss(



How to change interface speed and duplex on virtual interfaces eve-ng?


root@eve-ng:~#
root@eve-ng:~# ethtool -s vunl0_1_1 speed 1000
Cannot set new settings: Operation not supported
not setting speed
root@eve-ng:~# ethtool -s vunl0_1_1 duplex full
Cannot set new settings: Operation not supported
not setting duplex
root@eve-ng:~# ethtool -s vunl0_1_0 speed 10 duplex full autoneg off
Cannot set new settings: Operation not supported
not setting speed
not setting duplex
not setting autoneg

Post Reply