Is there a way to name a VLAN interface arbitrarily like
ext19 instead of the four standard nameing schemes
vlan19 (and the padded variations)?
Don't have no clue. Perhaps udev?
|show 2 more comments|
In OpenBSD (and presumably other BSDs) you can set a description of an interface with ifconfig using the aptly named
Unfortunately there's no great way to do this in Linux.
In Linux, interfaces are named dynamically with each interface being assigned the first available name. This means that if you pull a NIC and then add another one (say to replace it or upgrade it) there is no guarantee that its interface will remain the same.
Try a program like ifrename which will allow you to manually specify the interface names. It looks primarily designed to assure that
You should be careful to document this as it is not typically done but unlike @MichealHampton I don't see any particular problem with it. I personally make great use of the description field for interfaces in my BSD installs.
OMG - it's that easy:
Rename vlan 42 on eth0 to ext2: