Just upgraded to FC31. It's a multihomed machine used as a router. One
interface "external" goes to the cable modem. The other interface
"internal" goes to a switch.
cat /etc/sysconfig/network-scripts/ifcfg-external | grep -v \#
TYPE=Ethernet
BOOTPROTO=dhcp
DEVICE=external
ONBOOT=yes
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
USERCTL=no
HWADDR=50:7B:9D:0B:8A:AB
NAME=external
UUID=02b123a7-baea-20e2-051e-8a9ec27cc44a
cat /etc/sysconfig/network-scripts/ifcfg-internal | grep -v \#
DEVICE=internal
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.10.11.251
PREFIX=24
DEFROUTE=no
IPV4_FAILURE_FATAL=no
IPV6INIT=no
PEERDNS=no
USERCTL=no
UUID=ef5b0746-2604-b21f-c03e-00556aef68fc
HWADDR=00:0e:c6:dc:01:aa
But neither interface is found on boot:
enp0s20u3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:0e:c6:dc:01:aa txqueuelen 1000 (Ethernet)
RX packets 2573 bytes 172174 (168.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 50:7b:9d:0b:8a:ab txqueuelen 1000 (Ethernet)
RX packets 2581 bytes 180221 (175.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 765 bytes 81440 (79.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 765 bytes 81440 (79.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
even though the MAC adresses match. As do the UUID's:
nmcli connection show | grep ernal
external 02b123a7-baea-20e2-051e-8a9ec27cc44a ethernet --
System internal ef5b0746-2604-b21f-c03e-00556aef68fc ethernet --
enp0s20u3 is a USB interface that should be internal. If I unplug and
replug, naming works.
On boot:
kernel: asix 2-3:1.0 eth0: register 'asix' at usb-0000:00:14.0-3, ASIX
AX88772 USB 2.0 Ethernet, 00:0e:c6:dc:01:aa
kernel: usbcore: registered new interface driver asix
kernel: asix 2-3:1.0 enp0s20u3: renamed from eth0
then I unplug and plug:
kernel: asix 2-3:1.0 internal: renamed from enp0s20u3
kernel: asix 2-3:1.0 internal: link up, 100Mbps, full-duplex, lpa 0x45E1
That does not happen if I plug and unplug external, an ethernet cable.
BUT, what's really odd. I'm booting the Fc31 kernel:
kernel-5.3.11-300.fc31.x86_64
if I boot the same kernel, but FC30:
kernel-5.3.11-200.fc30.x86_64
IT WORKS !!
Any help appreciated.
sean