I know that my answer is really late, but this can help other people searching for this information, so here it goes:
It is better to give these 2 options as kernel parameters:
biosdevname=0 net.ifnames=0
To add this to the boot you can do:
/sbin/grubby --update-kernel=`/sbin/grubby --default-kernel` --args="biosdevname=0 net.ifnames=0 "
Or modify the /etc/default/grub and add biosdevname=0 net.ifnames=0"" to the **GRUB_CMDLINE_LINUX and regenerate grub configuration:
grub2-mkconfig -o /boot/grub2/grub.cfg
Example of the /etc/default/grub entry:
# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=rhel_7/swap rd.luks.uuid=luks-cc387312-6da6-469a-8e49-b40cd58ad67a crashkernel=auto vconsole.keymap=us vconsole.font=latarcyrheb-sun16 rd.lvm.lv=rhel_7/root rhgb quiet net.ifnames=0 biosdevname=0"
GRUB_DISABLE_RECOVERY="true"
eth*
names, you're just wasting your time and setting yourself up for trouble in the future. The consistent naming feature makes your job easier; it's strongly recommended to use them.eth*
names because I have no choice. A certain piece of software (which I have no control over) imposes theeth*
names.eth*
names to interfaces (although this obviously won't affect RHEL6, the new code may turn up in RHEL7). A workaround I can think of is using numbers which are not less than the total number of interfaces in the system (e.g., if you definitely do not expect more than 4eth*
interfaces, you can assign stable names starting witheth4
, so that they will not overlap with names automatically assigned by the kernel).