Linux üzerinde interface isimlerinin değiştirilmesi

Centos için :

  • Edit file /etc/default/grub to line GRUB_CMDLINE_LINUX, add et.ifnames=0 biosdevname=0 for instance:
GRUB_CMDLINE_LINUX=" crashkernel=auto net.ifnames=0 biosdevname=0 rhgb quiet"
  • run the command grub2-mkconfig -o /boot/grub2/grub.cfg
  • Edit the interface config file that you want to change. Change the NAME and DEVICE lines to the new name.
  • mv ifcfg file to new name
  • disable NetworkmManager
  • reboot the system