Network problem: interface names changed from enp*s* to en*

Some background info:

This physical system's ethernet interfaces were named enpss but for some reason they changed to en*

Since then, I had problem enabling/setting br0 which essentially rendered the physical server unusable....

network interfaces

br0 Bridge  No address configured   None    fe80::e4ae:adff:fe75:5de6   Up
    docker0 Unknown 172.17.0.1  255.255.0.0 fe80::42:81ff:feb7:a32e Up
    eno1    Ethernet 1000Mb/s   No address configured   None    2600:1700:a500:8f20::561
2600:1700:a500:8f20:b01b:d3e3:6a98:db1b
fe80::c8f:2e38:49a3:da5a    Up
    eno2    Ethernet 1000Mb/s   No address configured   None    2600:1700:a500:8f20::77c
2600:1700:a500:8f20:e1f7:1ec7:7446:97c
fe80::c3d7:10fa:3011:846d   Up
    lo  Loopback    127.0.0.1   255.0.0.0   ::1 Up
    tap0    Unknown No address configured   None    fe80::7c37:37ff:fe22:309e   Up
    tap1    Unknown No address configured   None    fe80::6475:cdff:fe7f:8c09   Up
    virbr0  Bridge  192.168.122.1   255.255.255.0   
Up
    virbr0-nic  Bridge  No address configured   None    
Down

Activated at boot

    br0 Bridge  From DHCP   From DHCP   From IPv6 discovery Yes
    lo  Loopback    127.0.0.1   255.0.0.0   

Check status

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 19.44 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.
BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Postfix is configured to support per-domain outgoing IP addresses.

Apache is installed.

The following PHP versions are available : 5.4.16 (/bin/php-cgi), 7.0.27 (/opt/rh/rh-php70/root/usr/bin/php-cgi), 5.4 (mod_php)

The following PHP-FPM versions are available on this system : 5.4.16 7.0.27

Webalizer is installed.

Apache is configured to host SSL websites.

MariaDB 5.5.60 is installed and running.

PostgreSQL is installed and running.

ProFTPD is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and assumed to be running.

Plugin AWstats reporting is installed OK.

Plugin Administrator's Notes is installed OK.

Plugin Analytics Tracking is installed OK.

Plugin Bootup actions is installed OK.

Plugin DAV Login is installed OK.

Plugin DNS Domain Registration is installed OK.

Plugin Git repositories is installed OK.

Plugin Protected web directories is installed OK.

Plugin SQLite Databases is installed OK.

Plugin Disable Virtual Server On Schedule is installed OK.

Plugin Slave DNS domain is installed OK.

Plugin Additional content styles is installed OK.

Plugin Additional content styles from OpenWebDesign.org is installed OK.

Plugin Virtualmin Support Links is installed OK.

Using network interface eno1 for virtual IPs.

IPv6 addresses are available, using interface eno1.

Virtualmin could not work out the default IPv4 address for virtual servers on your system. You will need to update either the Network interface for virtual addresses or Default virtual server IP address fields on the module configuration page.

.. your system is not ready for use by Virtualmin.
Status: 
Closed (fixed)

Comments

bislinks's picture
Submitted by bislinks on Sat, 07/27/2019 - 12:41 Pro Licensee

More info/details about the issue:

Network Interfaces in /etc/sysconfig/network-scripts

[root@hat ~]# ls /etc/sysconfig/network-scripts/
ifcfg-br0         ifcfg-lo     ifdown-eth   ifdown-ipv6  ifdown-ppp     ifdown-Team      ifup          ifup-eth   ifup-ipv6  ifup-plusb  ifup-routes  ifup-TeamPort  init.ipv6-global
ifcfg-br0.bak     ifdown       ifdown-ib    ifdown-isdn  ifdown-routes  ifdown-TeamPort  ifup-aliases  ifup-ib    ifup-isdn  ifup-post   ifup-sit     ifup-tunnel    network-functions
ifcfg-enp5s0.bak  ifdown-bnep  ifdown-ippp  ifdown-post  ifdown-sit     ifdown-tunnel    ifup-bnep     ifup-ippp  ifup-plip  ifup-ppp    ifup-Team    ifup-wireless  network-functions-ipv6
[root@hat ~]# 

ifconfig

[root@hat ~]# ifconfig
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::e4ae:adff:fe75:5de6  prefixlen 64  scopeid 0x20<link>
        ether 66:75:cd:7f:8c:09  txqueuelen 1000  (Ethernet)
        RX packets 3359  bytes 99803 (97.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 13  bytes 2366 (2.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
        inet6 fe80::42:81ff:feb7:a32e  prefixlen 64  scopeid 0x20<link>
        ether 02:42:81:b7:a3:2e  txqueuelen 0  (Ethernet)
        RX packets 56  bytes 4076 (3.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 2823 (2.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.92  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 2600:1700:a500:8f20::561  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::c8f:2e38:49a3:da5a  prefixlen 64  scopeid 0x20<link>
        inet6 2600:1700:a500:8f20:b01b:d3e3:6a98:db1b  prefixlen 64  scopeid 0x0<global>
        ether 00:1e:c9:3e:5f:6b  txqueuelen 1000  (Ethernet)
        RX packets 17920  bytes 2499578 (2.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9678  bytes 3418077 (3.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.93  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 2600:1700:a500:8f20:e1f7:1ec7:7446:97c  prefixlen 64  scopeid 0x0<global>
        inet6 2600:1700:a500:8f20::77c  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::c3d7:10fa:3011:846d  prefixlen 64  scopeid 0x20<link>
        ether 00:1e:c9:3e:5f:6d  txqueuelen 1000  (Ethernet)
        RX packets 9015  bytes 743705 (726.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 103  bytes 14208 (13.8 KiB)
        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 8435  bytes 22740781 (21.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8435  bytes 22740781 (21.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::7c37:37ff:fe22:309e  prefixlen 64  scopeid 0x20<link>
        ether 7e:37:37:22:30:9e  txqueuelen 1000  (Ethernet)
        RX packets 970  bytes 43582 (42.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2385  bytes 101118 (98.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::6475:cdff:fe7f:8c09  prefixlen 64  scopeid 0x20<link>
        ether 66:75:cd:7f:8c:09  txqueuelen 1000  (Ethernet)
        RX packets 2396  bytes 103877 (101.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 965  bytes 41338 (40.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

veth38743ab: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::80fb:4eff:fef4:3ad1  prefixlen 64  scopeid 0x20<link>
        ether 82:fb:4e:f4:3a:d1  txqueuelen 0  (Ethernet)
        RX packets 8  bytes 656 (656.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 67  bytes 6777 (6.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:ae:fe:11  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        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
bislinks's picture
Submitted by bislinks on Sat, 07/27/2019 - 13:17 Pro Licensee

Strangely, in Network Config - Hostname and DNS Client, i found the following

files mdns4_minimal [NOTFOUND=return] dns myhostname

for Resolution order:

That mdns4_minimal line isn't a problem..

The interface name change is due to a kernel or boot parameter - it isnt something Virtualmin controls.

bislinks's picture
Submitted by bislinks on Thu, 08/08/2019 - 11:10 Pro Licensee

Created eno1 from Webmin - Networking - Network Configuration - Network Interfaces - Add a new interface and it resolved the issue.

Status: Fixed ยป Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.