On Fri, 12.06.15 17:32, Johannes Ernst (johannes.er...@gmail.com) wrote: > > I was expecting: > * container gets an IP address from host in some new subnet: WORKS, e.g > 10.0.0.2 > * container can route to upstream via IPMasquerade: WORKS, after manual > 'modprobe iptable_nat' > * container gets the DNS server from the host: FAILS: > /etc/resolv.conf points to Google name servers instead (8.8.8.8 etc)
This is a missing feature of the DHCP server in networkd: it should be able to propagate the DNS servers it learned on the external networks automatically in a smart way. It's on the TODO list to add this. > * host and container can ping test (if test is the name of the > * container machine per machinectl): FAILS, neither can Do you have nss-mymachines enabled in /etc/nsswitch.conf? Does pinging via the IP addresses work? Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel