So recently I bought a new machine and installed ubuntu on it. I connected a 1000mbps ethernet connection to it. Later for some reason, I had to connect to a different ethernet connection that has only 100mbps. Now the machine won't detect the new 100mbps connection. Ubuntu shows "Cable unplugged". But I if connect the previous 1000mbps connection, it works. I checked and the later 100mbps connection is not faulty and works on different machines. So I presume, there is some problem/configuration in ubuntu that only accepts the 1000mbps connection and not others. How do I solve this?
Output of ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 3c:ec:ef:83:6e:90 brd ff:ff:ff:ff:ff:ff
altname enp96s0f0
inet 192.168.31.248/24 brd 192.168.31.255 scope global dynamic noprefixroute eno1
valid_lft 80859sec preferred_lft 80859sec
inet6 fe80::b8c7:a5b7:d509:df63/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 3c:ec:ef:83:6e:91 brd ff:ff:ff:ff:ff:ff
altname enp96s0f1
EDIT 2: contents of /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager