[systemd-devel] networkd bridge masquerading
Dan Williams
dcbw at redhat.com
Thu Jun 18 11:44:13 PDT 2015
On Thu, 2015-06-18 at 19:34 +0200, Lennart Poettering wrote:
> On Thu, 18.06.15 13:19, Dimitri John Ledkov (dimitri.j.ledkov at intel.com) wrote:
>
> > Without adding any veth / tap interfaces to the bridge. My expectation is
> > for such a bridge to come up correctly. However in journalctl I get:
> >
> > br0 : Could not enable IP masquerading: Operation not supported
> > br0 : Could not enable IP masquerading: Operation not supported
> > br0 : link configured
> >
> > What's wrong, or I am doing something crazy?
>
> Load ip_tables.ko. systemd git will automatically load it at boot for you.
>
> > Secondly, is there an API to manipulate networkd? Ideally i would like to
> > add/remove tap interfaces that would be part of this bridge. The only way I
> > found to do this is by e.g. dropping files to /run/systemd/network and
> > restarting networkd service. That works fine, however this results in the
> > bridge accumulating ip addresses, which is not nice.
>
> We currently lack a bus API for networkd. But we started designing
> something recently, but it's only plans, and the plans aren't even
> complete yet:
>
> http://fpaste.org/233667/34648285/
You should probably pick something other than
org.freedesktop.network1.Manager, since there's potential to be confused
with org.freedesktop.NetworkManager. I'd suggest adding systemd
somewhere in there.
Dan
More information about the systemd-devel
mailing list