eth0 → ens33

Posted by Pei-Pa-Koa@reddit | linuxadmin | View on Reddit | 9 comments

Hi,

On Debian (VMware) I used to pass biosdevname=0 and net.ifnames=0 as kernel parameters to have a network interface named "eth0" but now I'd like to have the standard name "ens33" for my network interface.

I've removed the kernel parameters from /etc/default/grub, re-generated grub.cfg and rebuild initrd but my interface keeps coming as "eth0".

"eth0" is mentioned nowhere in /boot, /etc, how can I have my nic as "ens33" without creating an udev rule?

Thanks,