[systemd-devel] Network unreachable in container

Lennart Poettering lennart at poettering.net
Tue Mar 4 13:02:02 PST 2014


On Tue, 04.03.14 21:27, arnaud gaboury (arnaud.gaboury at gmail.com) wrote:

> 
> >> /etc/systemd/network/70-dahlia-network
> >                                 ^ a dash? Should be a dot?
> >
> >> [Match]
> >> Host=host0
> >> Virtualization=container
> >
> > Hmm? This match section is conditionalized to Virtualization=container
> > but you say it is for the host?
> >
> 
> This config file is on my "main OS"

Well, if that's the case, then the .network file you posted will have
zero effect there. The [Match] section describes to which interfaces the
file shall apply und which conditions. You explicitly declare in your
[Match] section that it only shall apply if run inside a container, and
hence it has zero effect on the host.

Moreover, you claim that you run netctl, not systemd-networkd on the
host? .network files are configuraiton files for systemd-networkd, hence
they have no effect on the host anyway...

Sorry, still don't get what you are trying to do there...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list