Comment 5 for bug 1519120

Revision history for this message
Arnaud (shine-b) wrote : Re: Xenial: VLAN interfaces don't work until after a reboot

I faced the same bug. After some quick research, I found a bug in the vlan script /etc/network/if-pre-up.d/vlan

It splits vlan number from interface name and creates vlan interface. It works with interface named eth, em, bond, vlan and doesn't work with systemd predictable network interfaces names (https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/).

Here is a patch,