Changing the Ethernet link speed
Posted: 22. Aug 2016, 21:02
Hello,
I'm trying to change the speed of the Network Adapter on a Debian guest.
The network setting is set at NAT.
I'm using the Ethtool.
If I run the command:
I get the following result giving ethernet device properties:
Then I run the command:
I get the same result as before.
It is supposed to the change the speed to 100, at least that is what happens when it is run on a dedicated Linux machine, but the speed remains at 1000.
I realize this isn't the properties of the actual NIC on my machine but rather the virtualized adapter Intel PRO/1000 Desktop on virtual box. So is there a way to make this change of speed happen using Ethtool?
I know an alternative is to use VBoxManage to change the nicspeed, but I have to use Ethtool as it is part of a larger project that I need to implement this on.
I'm trying to change the speed of the Network Adapter on a Debian guest.
The network setting is set at NAT.
I'm using the Ethtool.
If I run the command:
Code: Select all
$ ethtool eth0Code: Select all
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: umbg
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
Code: Select all
$ ethtool -s eth0 speed 100 autoneg offIt is supposed to the change the speed to 100, at least that is what happens when it is run on a dedicated Linux machine, but the speed remains at 1000.
I realize this isn't the properties of the actual NIC on my machine but rather the virtualized adapter Intel PRO/1000 Desktop on virtual box. So is there a way to make this change of speed happen using Ethtool?
I know an alternative is to use VBoxManage to change the nicspeed, but I have to use Ethtool as it is part of a larger project that I need to implement this on.