Install kernel from elrepo

At first need enable ELRepo Repository. To set up ELRepo repository, you need to import its official GPG key and then install ELRepo RPM as follows. Also you can follow original http://elrepo.org/tiki/tiki-index.php instalation guide.

For Centos 7

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm

For Centos 8

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm

Install kernel-ml and kernel-ml-devel

yum --enablerepo=elrepo-kernel install -y kernel-ml kernel-ml-devel

To show installed kernels run command:

awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg

Set installed kernel as default for grub2 bootloader:

grub2-set-default 0

Reboot system and check kernel version

uname -r

Now you can continue Install on Centos with modules vlan_mon and ipoe