[systemd-devel] Understanding DHCP, DNS and IPMasquerade

Lennart Poettering lennart at poettering.net
Sun Jun 14 15:29:11 PDT 2015


On Sat, 13.06.15 13:55, Johannes Ernst (johannes.ernst at gmail.com) wrote:

> > [Match]
> > Type=ethernet
> > 
> > [Network]
> > DHCP=ipv4
> 
> I did. No change. I do receive the IP address (so DHCP IP assignment is working) but I do not receive the DNS server.

No need to have an explicit file for this BTW, we ship one anyway out
of the box, that only matches in container environments with veth
links:

/usr/lib/systemd/network/80-container-host0.network

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list