how to use ifrename command with its examples

  • About ifrename: Rename network interfaces based on various static criteria
  • It comes from “wireless-tools-29” package.
  • Configuration Files:


To set the configuration file

$ ifrename -c /path/config

 To probe kernel modules before renaming interface

$ ifrename -p

To rename specific interface

$ ifrename -i eth1

To specify the new name

$ ifrename -i eth1 -n eth8

To enable takeover support

$ ifrename -t

To enable udev output mode

$ ifrename -u

To dry-run mode

$ ifrename -D

To set to verbose mode

$ ifrename -V


Related Commands: ifconfig, ip, iftab 

Leave a Reply

Your email address will not be published. Required fields are marked *