Artificial intelligent assistant

Network device name separators 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.

This is really opinion, but I'd suggest `_` or `-`. Both can be used in interface names:


ip link set eth0 down
ip link set eth0 name eth0_sub1
ip link set eth0_sub1 up

ip link show eth0_sub1
2: eth0_sub1: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 08:00:27:0f:db:b3 brd ff:ff:ff:ff:ff:ff

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy a7ec914d56c0afa70e41220c6edf57b7