Required NIC Interface Naming Convention

            Product Line:  VERDE

            Specific to VERDE/VERDEOS 8.2.1, the Network Interface must have the names of eth0 and NETWORK0.  VERDE must be eth0 and VERDEOS must be NETWORK0.

            By default, when VERDEOS is installed, the NIC receives the correct name:  VERDEOS.  Go with the default.

            Regarding installing with VERDE rpm's, CENTOS 7.x takes liberties and renames the NIC.  Here are instructions on how to configure the name back to:  etho.

            The old naming convention:

            To restore the old naming convention, you need to edit the /etc/default/grub file and add net.ifnames=0 biosdevname=0 at the end of the GRUB_CMDLINE_LINUX variable.  The modified line should look as follows:

            GRUB_CMDLINE_LINUX=" vconsole.keymap=us crashkernel=auto vconsole.font=latarcyrheb-sun16 rhgb quiet net.ifnames=0 biosdevname=0"

            Then, test the new configuration to see if no mistake has been made:
            # grub2-mkconfig

            When the aforementioned runs properly, you'll see a Done

            If everything is fine, update the grub2 configuration:

            # grub2-mkconfig -o /boot/grub2/grub.cfg
            Generating grub configuration file ...
            Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
            Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
            Found linux image: /boot/vmlinuz-3.10.0-123.9.3.el7.x86_64
            Found initrd image: /boot/initramfs-3.10.0-123.9.3.el7.x86_64.img
            Found linux image: /boot/vmlinuz-0-rescue-eda26f60d4c948d09cd50d9086a87fcc
            Found initrd image: /boot/initramfs-0-rescue-eda26f60d4c948d09cd50d9086a87fcc.img

            Update the network interface configuration file (here the initial interface name was enp2s0 and the new one is eth0):

            # cd /etc/sysconfig/network-scripts
            # cp ifcfg-enp2s0 ifcfg-eth0

            Edit the ifcfg-eth0 file and replace the network interface name in the NAME variable with “eth0“.

            After a reboot, everything should be OK.

            If VERDE was already installed, rerun the VERDE configuration as follows:

            /usr/lib/verde/bin/verde-config -i

            Updated: 02 Nov 2018 03:47 PM
            Help us to make this article better
            0 0