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

Leonid Isaev lisaev at umail.iu.edu
Sun Jul 6 14:52:40 PDT 2014


On Sun, Jul 06, 2014 at 08:43:01PM +0200, Tom Gundersen wrote:
> 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).

That worked... thanks. BTW, is yes/true still a valid argument for DHCP
(because the manpage says otherwise)?

Best,
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
                  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140706/cd32a085/attachment.sig>


More information about the systemd-devel mailing list