I have 2 interfaces: bond0 and bond1.
bond0 is connected to a trunking port, i.e. will be assigned vlans like bond0.10
bond1 is connected to a static port for vlan 20. So as far as connectivity goes, bond1 handles just like bond0.20 would.
The problem is that I want the interface bond1 to be called bond0.20. Is that possible? From my experiments so far it seems like linux automatically assumes a devX.Y is always a vlan device and needs to be treated as such, which I don't want in this case. However all other bond0 devices like bond0.50 SHOULD be treated as vlan devices so I can't just change the vlan interface naming scheme.
Is this even possible? Can I make linux accept this situation? The goal is to achieve a completely transparent networking setup whereas all VLANs are supposed to be available as bond0.X
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
and theres no connectivity.