#StackBounty: #linux #network-interface Network device name separators

Bounty: 50

Other than ‘:‘, which I use for secondary IP “aliases” on a network device (e.g., eth0:1) and ‘.‘, which I use for VLANs (e.g., eth0.100), what other device name separators are permissible and wise under Linux?

In one particular system design, I’d like to name my macvlan interfaces so that their base device is obvious. These interfaces might themselves have secondary IPs or VLAN discipline, so I don’t want to reuse colon and period. Solidus seems good on paper, but would probably confound scripts that interrogated sysfs looking for, e.g., eth0/1.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.