error while writing to file /sys/class/net/eth3/mtu: [Errno 19] No such device

harmonyp

Member
Nov 26, 2020
196
4
23
46
Today after months of this configuration working it has just stopped. When trying to restart the network I get the following error

Code:
warning: error while writing to file /sys/class/net/eth3/mtu: [Errno 19] No such device


/etc/network/interfaces

Code:
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet manual


auto eth2
iface eth2 inet manual


auto eth3
iface eth3 inet manual


auto eth1
iface eth1 inet manual


auto bond1
iface bond1 inet manual
    bond-slaves eth2 eth3
    bond-miimon 100
    bond-mode 802.3ad
    bond-xmit-hash-policy layer2+3
    mtu 9000


auto vmbr0
iface vmbr0 inet static
    address 51.195.xxx.xxx/24
    gateway 51.195.xxx.254
    bridge-ports eth0
    bridge-stp off
    bridge-fd 0
    mtu 1500
    post-up ip route add 198.244.xxx.32/27 dev vmbr0
    post-up echo 1 >/proc/sys/net/ipv4/ip_forward


iface vmbr0 inet6 static
    address 2001:41d0:802:xxxx::1/128
    gateway fe80::1


auto vmbr1
iface vmbr1 inet static
    address 192.168.0.120/16
    bridge-ports bond1
    bridge-stp off
    bridge-fd 0
    mtu 9000


vmbr0 works fine when trying to change from bond1 to testing if eth2 works it shows the same error but for eth2


sudo dmesg | grep -i eth
Code:
[3606751.445535] bond1: (slave eth3): link status definitely down, disabling slave
[3606752.582160] mlx5_core 0000:85:00.0 eth2: mlx5e_ethtool_get_link_ksettings: query port ptys failed: -5
[3606752.604790] mlx5_core 0000:85:00.0 eth2: mlx5e_ethtool_get_link_ksettings: query port ptys failed: -5
[3606752.627330] mlx5_core 0000:85:00.1 eth3: mlx5e_ethtool_get_link_ksettings: query port ptys failed: -5
[3606752.650341] mlx5_core 0000:85:00.1 eth3: mlx5e_ethtool_get_link_ksettings: query port ptys failed: -5
[3606754.353535] bond1: (slave eth2): link status definitely down, disabling slave
[3624293.304913] usb 3-2.2: Product: Virtual Ethernet
[3624293.422574] cdc_ether 3-2.2:2.0 usb0: register 'cdc_ether' at usb-0000:09:00.3-2.2, CDC Ethernet Device, 6e:a5:a1:e6:a5:38
[3624717.807975] device eth2 left promiscuous mode
[3624717.816029] device eth3 left promiscuous mode
[3624717.832566] mlx5_core 0000:85:00.0 eth2: failed to kill vid 0081/1
[3624717.842151] mlx5_core 0000:85:00.1 eth3: failed to kill vid 0081/1

sudo lshw -C network

Code:
*-network:0
       description: Ethernet interface
       product: MT27710 Family [ConnectX-4 Lx]
       vendor: Mellanox Technologies
       physical id: 0
       bus info: pci@0000:85:00.0
       logical name: eth2
       version: 00
       serial: 0c:42:a1:6c:42:dc
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm cap_list rom ethernet physical
       configuration: broadcast=yes driver=mlx5_core latency=0 multicast=yes slave=yes
       resources: irq:349 memory:2009c000000-2009dffffff memory:bb100000-bb1fffff memory:2009e800000-2009effffff
  *-network:1
       description: Ethernet interface
       product: MT27710 Family [ConnectX-4 Lx]
       vendor: Mellanox Technologies
       physical id: 0.1
       bus info: pci@0000:85:00.1
       logical name: eth3
       version: 00
       serial: 0c:42:a1:6c:42:dc
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm cap_list rom ethernet physical
       configuration: broadcast=yes driver=mlx5_core latency=0 multicast=yes slave=yes
       resources: irq:414 memory:2009a000000-2009bffffff memory:bb000000-bb0fffff memory:2009e000000-2009e7fffff
  *-network:0
       description: Ethernet interface
       product: MT27800 Family [ConnectX-5]
       vendor: Mellanox Technologies
       physical id: 0
       bus info: pci@0000:c1:00.0
       logical name: eth0
       version: 00
       serial: 04:3f:72:b4:6a:70
       capacity: 25Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm bus_master cap_list rom ethernet physical 1000bt-fd 10000bt-fd 25000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=mlx5_core driverversion=5.11.22-4-pve duplex=full firmware=16.27.2008 (MT_0000000248) latency=0 link=yes multicast=yes
       resources: iomemory:1800-17ff irq:219 memory:1806c000000-1806dffffff memory:c0100000-c01fffff memory:1806e800000-1806effffff
  *-network:1
       description: Ethernet interface
       product: MT27800 Family [ConnectX-5]
       vendor: Mellanox Technologies
       physical id: 0.1
       bus info: pci@0000:c1:00.1
       logical name: eth1
       version: 00
       serial: 04:3f:72:b4:6a:71
       capacity: 25Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm bus_master cap_list rom ethernet physical 1000bt-fd 10000bt-fd 25000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=mlx5_core driverversion=5.11.22-4-pve duplex=full firmware=16.27.2008 (MT_0000000248) latency=0 link=yes multicast=yes
       resources: iomemory:1800-17ff irq:284 memory:1806a000000-1806bffffff memory:c0000000-c00fffff memory:1806e000000-1806e7fffff
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!