Adicionar "vlan-raw-device enp3s0" resolve o problema. Como em:
---- /etc/network/interfaces excerpt ----
auto enp3s0.99
iface enp3s0.99 inet manual
vlan-raw-device enp3s0
up ip link set dev $IFACE up
down ip link set dev $IFACE down
As entradas como a abaixo (para redes de provedor do OpenStack) funcionaram em 14.04. Não funciona em 16.04. Embora "#vconfig add enp3s0 99" funcione, mas eu preciso de entradas permanentes.
---- /etc/network/interfaces excerpt ----
auto enp3s0.99
iface enp3s0.99 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
Adicionar "vlan-raw-device enp3s0" resolve o problema. Como em:
---- /etc/network/interfaces excerpt ----
auto enp3s0.99
iface enp3s0.99 inet manual
vlan-raw-device enp3s0
up ip link set dev $IFACE up
down ip link set dev $IFACE down
Antes eu só conseguia fazê-lo funcionar usando interfaces chamadas vlan.
auto vlan99
iface vlan99 inet static
vlan-raw-device eth0
Confirmei que a notação de subinterface funciona também com configurações mais avançadas;
auto bond1
iface bond1 inet manual
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
bond-slaves eno3 eno4
auto bond1.17
iface bond1.17 inet manual
vlan-raw-device bond1
up ip link set dev $IFACE up
down ip link set dev $IFACE down
auto bond1.18
iface bond1.18 inet manual
vlan-raw-device bond1
up ip link set dev $IFACE up
down ip link set dev $IFACE down
auto cloudbr0
iface cloudbr0 inet manual
bridge_ports bond1.17
bridge_fd 5
bridge_stp off
bridge_maxwait 1
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports bond1.18
bridge_fd 5
bridge_stp off
bridge_maxwait 1'