How to rename your linux network card (eth0, eth1 …) into a custom name

If you want to give a name to your network card on linux, you can !

By default it’s eth0, then eth1 …

Replace the ATTR{address} by the “mac” address of your card (use ifconfig for this purpose).

Then reboot.

Now you can do “ifconfig private” instead of “ifconfig eth0”.

Short URL: