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

2019-06-07 Thread Roman
** Changed in: systemd (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831470 Title: systemd dhcp don't work on vlan To manage notifications about this bug go

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

2019-06-04 Thread Roman
ok. bug may be closed, i locate problem. dhcp don't get lease on discovery if where is a valid lease. After release current lease systemd dhcp discover request was answered. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

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

2019-06-04 Thread Roman
here is two tcpdumps of dhcp ports root@gwd:~# tcpdump -vv -i enp3s0 -n port 67 and port 68 tcpdump: listening on enp3s0, link-type EN10MB (Ethernet), capture size 262144 bytes SYSTEMD [NOT WORKED] 19:58:01.261864 IP (tos 0xc0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 300)

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

2019-06-04 Thread Roman
here is debug log http://paste.ubuntu.com/p/mTxRb5s4Qc/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831470 Title: systemd dhcp don't work on vlan To manage notifications about this bug go to:

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

2019-06-04 Thread Roman
netif.tar http://paste.ubuntu.com/p/DvPcmNs6Jb/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831470 Title: systemd dhcp don't work on vlan To manage notifications about this bug go to:

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

2019-06-04 Thread Roman
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

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

2019-06-04 Thread Roman
yes full config. Many cables unplugged because router not fully functional enp3s0 connected to swithch in Tagged port, configured only with Vlan 2. ClientIdentifier=mac not helped my problem looks similar to https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779721 -- You received this bug

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

2019-06-04 Thread Dimitri John Ledkov
Is that the full networkd config? Slightly confused why enp3s0 is degraded. Does it have a cable plugged in? Could you tar up and share /run/systemd/netif ? Does adding below [DHCP] ClientIdentifier=mac to the enp3s0.2.network help? -- You received this bug notification because you are a

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

2019-06-04 Thread Roman
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

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

2019-06-04 Thread Dimitri John Ledkov
Please attach output from networkd on boot prior to / without the extra dhclient unit if you can. $ networkctl | pastebinit $ journalctl -b -u systemd-networkd | pastebinit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

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

2019-06-03 Thread Roman
I wrote earlier that the dhclient works fine on this interface, so the problem is apparently that dhcp does not work as requested for the vlan network ** Changed in: systemd (Ubuntu) Status: Incomplete => New ** Description changed: root@gwd:~# uname -a Linux gwd 4.15.0-50-generic

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

2019-06-03 Thread Roman
root@gwd:~# cat /etc/systemd/network/enp3s0.2.netdev [NetDev] Name=enp3s0.2 Kind=vlan [VLAN] Id=2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831470 Title: systemd dhcp don't work on vlan To

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

2019-06-03 Thread Dimitri John Ledkov
How does your vlan .netdev unit looks like? You need something that creates the vlan device on top of the selected underlying device, ie.: $ cat enp3s0.2.netdev [NetDev] Name=enp3s0.2 Kind=vlan [VLAN] Id=2 Without that, there won't be vlan device created (nor visiable in $ ip a), and thus no

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

2019-06-03 Thread Roman
on same machine usb modem works fine with DHCP option root@gwd:~# cat /etc/systemd/network/yota.network [Match] Name=enx0c5b8f279a64 [Network] DHCP=yes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

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

2019-06-03 Thread Roman
netplan and cloud-init not used and was purged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831470 Title: systemd dhcp don't work on vlan To manage notifications about this bug go to: