[systemd-devel] systemd-networkd fails to get DHCPv4 lease with disabled IPv6

Tom Gundersen teg at jklm.no
Sun Jul 6 11:43:01 PDT 2014


On Sun, Jul 6, 2014 at 7:17 PM, Leonid Isaev <lisaev at umail.iu.edu> wrote:
> Hi,
>
>         With systemd-215 networkd fails to set up the DHCPv4 on WAN interface:
> ------
> $ journalctl -u systemd-networkd.service | grep wlp1s0
> Jul 06 12:21:07 hermes systemd-networkd[355]: wlp1s0          : link configured
> Jul 06 12:21:08 hermes systemd-networkd[355]: wlp1s0          : gained carrier
> Jul 06 12:21:08 hermes systemd-networkd[355]: wlp1s0          : could not start IPv6 router discovery
> Jul 06 12:21:08 hermes systemd-networkd[355]: wlp1s0          : failed
> ------
>
> Interestingly, if I restart networkd, the (DHCPv4) lease _is_ obtained, but the
> default route is _not_ set. The reason why IPv6 router discovery fails is
> because I boot with 'ipv6.disable=1' on the kernel cmdline. So, is there now a
> hard dependency on IPv6 being enabled?


Hm, this is unfortunate. In the meantime you can only enable DHCPv4 by
setting DHCP=v4 (as opposed to DHCP=yes).

-t


More information about the systemd-devel mailing list