[systemd-devel] [PATCH] networkd: don't touch global forwarding setting
Lennart Poettering
lennart at poettering.net
Tue Apr 28 10:53:51 PDT 2015
On Tue, 28.04.15 19:51, Benedikt Morbach (benedikt.morbach at googlemail.com) wrote:
> On Tue, Apr 28, 2015 at 7:36 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
> > If eth1 shows up first, then it will be configured, and thus the local
> > ip forwaring turned off, the global is left untouched. Since the other
> > interface hasn't shown up yet/has not been configured the global
> > setting doesn't matter for it.
>
> when eth0 shows up the global is turned on. At least on my system
> that enables forwarding for all currently present interfaces, including
> eth1. Thus, in this case, both have forwarding enabled in the end.
But eth1 is not configured then and down, so it doesn't matter. And
when we configure it, we set the local switch to off, hence all is
good.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list