[systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

Lennart Poettering lennart at poettering.net
Wed Oct 22 11:58:36 PDT 2014


On Wed, 22.10.14 20:49, Tom Gundersen (teg at jklm.no) wrote:

> On Wed, Oct 22, 2014 at 6:23 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
> > On Wed, 22.10.14 18:16, Tom Gundersen (teg at jklm.no) wrote:
> >
> >> Hi guys,
> >>
> >> I finally got around to have a look at this. I can reproduce the
> >> problem, and for me a workaround is to set RequestBroadcast=yes in the
> >> DHCP section in the .network file for your host0 interface in the
> >> container. Does that work for you too.
> >
> > Hmm, maybe the default .network file we ship for this case should
> > include this setting? Or will it in turn break the non-bridged veth
> > setups?
> 
> Yeah, there is no perfect option. Some networks will filter broadcast
> messages (though that is arguably even more broken than filtering
> messed up unicast ones).

Hmm? Not following. 

I understood that RequestBroadcast=yes is necessary to make dhcp work
on the Linux kernel bridge. Or is that a misunderstanding?

What I am wondering about specifically is whether
80-container-host0.network shall default to RequestBroadcast=yes, or not?

Aso, if there are some networks that require the bit set, and others
that require it unset, what about trying the other after not getting a
reply on the first?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list