Solved ifconfig_ifaceX_name="whateverX"

I quite like renaming my network interfaces so something realted to their use.

What about the unit number on the end?

In rc.conf, I have tried both:
ifconfig_igb0_name="whatever0"
ifconfig_igb0_name="whatever"

They both work. The second not having a unit number on the end. But in all examples that I have seen there is a unit number. Is that important or unnecessary?
 
It's a convention. The default naming uses the NIC type (driver name); if you rename them, you typically use some kind of "purpose" instead. Still, if you have the second interface of the same purpose, you have a consistent naming scheme.

It isn't needed for anything else. If you prefer "plain" names, go ahead.
 
Back
Top