[systemd-devel] Adding additional network interfaces "dynamically", after networkd startup finishes

Tom Gundersen teg at jklm.no
Wed May 27 06:41:34 PDT 2015


On Wed, May 27, 2015 at 2:03 PM, Peter Lemenkov <lemenkov at gmail.com> wrote:
> Hello All!
> My network is managed via systemd-networkd. I'm trying to create
> additional network bridge after another one service (VPN) is started.
>
> Right now I'm having a ExecStartPost directive, which creates
> /run/systemd/network, creates a necessary netdev/link/network files
> here, and restarts networkd (/bin/systemctl restart
> systemd-networkd.service).
>
> I wonder if it's a correct way to "dynamically" create network
> interfaces? Is it possible to ask networkd to re-read its
> configuration w/o restarting? Maybe D-Bus commands or something?

There is no correct way of doing this at the moment. It is next on my
list of features to work on.

Cheers,

Tom


More information about the systemd-devel mailing list