My ubuntu server is connected with ethernet cable to the same router as my pc but doesn't nearly get the same speed. I have around 40mbit/s on my pc but my ubuntu server only gets 0.3mbit/s. They have same priority on the router settings, and other devices in my network work fine.
sudo lshw -C network
shows
*-network
description: Ethernet interface
product: 82579LM Gigabit Network Connection (Lewisville)
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 04
serial: 90:1b:0e:03:74:43
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.15-4 ip=192.168.188.18 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:27 memory:f7c00000-f7c1ffff memory:f7c39000-f7c39fff ioport:f080(size=32)
*-network:0
description: Ethernet interface
physical id: 2
logical name: veth084d31c
serial: ea:ea:74:e8:86:64
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:1
description: Ethernet interface
physical id: 3
logical name: vethc52960b
serial: e2:91:fb:81:af:cb
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:2
description: Ethernet interface
physical id: 4
logical name: veth054547d
serial: 1a:59:29:76:d4:f4
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
cat /etc/netplan/*.yaml
. shows
# This is the network config written by 'subiquity'
network:
ethernets:
enp0s25:
dhcp4: true
version: 2
sudo dmidecode -s bios-version
V4.6.5.3 R1.19.0 for D3162-A1x