root@gwd:~# uname -a Linux gwd 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
root@gwd:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic
root@gwd:~# cat /etc/systemd/network/enp3s0.network [Match] Name=enp3s0
[Link] MACAddress=C8:D3:A3:50:02:33
[Network] VLAN=enp3s0.2
root@gwd:~# cat /etc/systemd/network/enp3s0.2.network [Match] Name=enp3s0.2
[Network] DHCP=ipv4
[DHCP] UseRoutes=true
----------------------------- No ip on enp3s0.2 after boot! dhclient enp3s0.2 works fine, i create systemd service for it as temporary workaround
root@gwd:~# uname -a
Linux gwd 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
root@gwd:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
root@gwd:~# cat /etc/systemd/ network/ enp3s0. network
[Match]
Name=enp3s0
[Link] C8:D3:A3: 50:02:33
MACAddress=
[Network]
VLAN=enp3s0.2
root@gwd:~# cat /etc/systemd/ network/ enp3s0. 2.network
[Match]
Name=enp3s0.2
[Network]
DHCP=ipv4
[DHCP]
UseRoutes=true
------- ------- ------- ------- -
No ip on enp3s0.2 after boot!
dhclient enp3s0.2 works fine, i create systemd service for it as temporary workaround