[Bug 1831470] Re: systemd dhcp don't work on vlan

Roman 1831470 at bugs.launchpad.net
Tue Jun 4 15:28:16 UTC 2019


here is lease gained from dhclient 
dhcp-lease-time present

lease {
  interface "enp3s0.2";
  fixed-address 213.141.128.50;
  option subnet-mask 255.255.224.0;
  option routers 213.141.159.252;
  option dhcp-lease-time 7200;
  option dhcp-message-type 5;
  option domain-name-servers 212.1.224.6,212.1.244.6;
  option dhcp-server-identifier 212.1.254.199;
  option vendor-encapsulated-options "http://acs.netbynet.ru";
  renew 2 2019/06/04 16:09:10;
  rebind 2 2019/06/04 17:06:44;
  expire 2 2019/06/04 17:21:44;
}

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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 at 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 at gwd:~# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 18.04.2 LTS
  Release:        18.04
  Codename:       bionic

  root at gwd:~# cat /etc/systemd/network/enp3s0.network
  [Match]
  Name=enp3s0

  [Link]
  MACAddress=C8:D3:A3:50:02:33

  [Network]
  VLAN=enp3s0.2

  root at gwd:~# cat /etc/systemd/network/enp3s0.2.netdev
  [NetDev]
  Name=enp3s0.2
  Kind=vlan

  [VLAN]
  Id=2

  root at 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



More information about the foundations-bugs mailing list