make it through crontab and redirect output root@gwd:~# cat /root/networkctl IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 enp2s0 ether carrier configured 3 enp3s0 ether degraded configured 4 wg0 none routable configured 5 br-mgmt ether routable configured 6 br-lan ether no-carrier configuring 7 enp3s0.2 ether degraded configuring
7 links listed. root@gwd:~# cat /root/journal-systemd -- Logs begin at Sun 2018-01-28 18:58:18 MSK, end at Tue 2019-06-04 16:06:01 MSK. -- Jun 04 16:02:15 gwd systemd[1]: Starting Network Service... Jun 04 16:02:15 gwd systemd-networkd[635]: br-lan: netdev ready Jun 04 16:02:15 gwd systemd-networkd[635]: br-mgmt: netdev ready Jun 04 16:02:15 gwd systemd-networkd[635]: wg0: netdev ready Jun 04 16:02:15 gwd systemd-networkd[635]: Enumeration completed Jun 04 16:02:15 gwd systemd[1]: Started Network Service. Jun 04 16:02:15 gwd systemd-networkd[635]: enp2s0: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: br-mgmt: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: lo: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: br-lan: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: wg0: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: br-mgmt: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: lo: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: br-lan: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: wg0: Link is not managed by us Jun 04 16:02:15 gwd systemd-networkd[635]: enp3s0.2: netdev ready Jun 04 16:02:15 gwd systemd-networkd[635]: enp3s0: IPv6 successfully enabled Jun 04 16:02:15 gwd systemd-networkd[635]: enp2s0: IPv6 successfully disabled Jun 04 16:02:18 gwd systemd-networkd[635]: enp3s0: Gained carrier Jun 04 16:02:18 gwd systemd-networkd[635]: enp3s0.2: Gained carrier Jun 04 16:02:18 gwd systemd-networkd[635]: br-lan: IPv6 successfully enabled Jun 04 16:02:18 gwd systemd-networkd[635]: br-mgmt: IPv6 successfully enabled Jun 04 16:02:18 gwd systemd-networkd[635]: wg0: IPv6 successfully disabled Jun 04 16:02:18 gwd systemd-networkd[635]: wg0: Gained carrier Jun 04 16:02:18 gwd systemd-networkd[635]: wg0: Configured Jun 04 16:02:18 gwd systemd-networkd[635]: lo: Link is not managed by us Jun 04 16:02:19 gwd systemd-networkd[635]: enp2s0: Gained carrier Jun 04 16:02:19 gwd systemd-networkd[635]: enp2s0: Configured Jun 04 16:02:19 gwd systemd-networkd[635]: br-mgmt: Gained carrier Jun 04 16:02:20 gwd systemd-networkd[635]: enp3s0: Gained IPv6LL Jun 04 16:02:20 gwd systemd-networkd[635]: enp3s0: Configured Jun 04 16:02:20 gwd systemd-networkd[635]: enp3s0.2: Gained IPv6LL Jun 04 16:02:20 gwd systemd-networkd[635]: br-mgmt: Gained IPv6LL Jun 04 16:02:20 gwd systemd-networkd[635]: br-mgmt: Configured -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1831470 Title: systemd dhcp don't work on vlan Status in systemd package in Ubuntu: New Bug description: 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.netdev [NetDev] Name=enp3s0.2 Kind=vlan [VLAN] Id=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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1831470/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

