I have some issues with periodic network dropouts on one of my VM's... And based on my 20+ experience ensuring that the physical NIC runs as fixated speed/duplex is often a good way ensure network stability.
On proxmox host:
Edited /etc/network/interfaces and added 1 line to set it with ethtool.
iface eno1 inet manual
pre-up /usr/sbin/ethtool -s eno1 speed 1000 duplex full autoneg off
However after a reboot it doesn't seem to have effect.
Running ethtool eno1 shows that advertisted link modes is all.
If I manually run ethtool -s eno1 speed 1000 duplex full autoneg off and look at ethtool eno1 it only reports advertised link mode 1000baseT/Full.
What am I missing here???
root@proxmox01:~# ethtool eno1
Settings for eno1:
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
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
On proxmox host:
Edited /etc/network/interfaces and added 1 line to set it with ethtool.
iface eno1 inet manual
pre-up /usr/sbin/ethtool -s eno1 speed 1000 duplex full autoneg off
However after a reboot it doesn't seem to have effect.
Running ethtool eno1 shows that advertisted link modes is all.
If I manually run ethtool -s eno1 speed 1000 duplex full autoneg off and look at ethtool eno1 it only reports advertised link mode 1000baseT/Full.
What am I missing here???
root@proxmox01:~# ethtool eno1
Settings for eno1:
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
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full