You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
In case of bug report: Expected behaviour you didn't see
I'm running a software router with the bird BGP daemon on debian9. There are a lot of interfaces (VLAN, GRE, Ethernet, Wireless).
I was expecting to see a possibility to add / remove / enable / disable a single interface, like ifup / ifdown, or even systemd does for services.
In case of bug report: Unexpected behaviour you saw
When adding an interface, there is no possibility to add just a single interface. It is required to restart systemd-networkd (or even reboot the system, windows-like). Restarting systemd-networkd disconnects all other interfaces (therefore there is packetloss, BGP neighbours will drop, ...).
In case of bug report: Steps to reproduce the problem
Configure a new interface and try to bring it up on the fly with no impact to other interfaces.
The text was updated successfully, but these errors were encountered:
I am not sure I follow. networkd only takes possession of interfaces you are telling it to take possession of. "networkctl status -a" will tell you which interfaces it takes care and which .network file it applies to each...
It appears to me your .network file [Match] section is simply too broad and applies to network interfaces it really shouldn't apply to?
no, I match by name, that's not the thing.
The problem is if I have an interface which is already configured by systemd-networkd, let's say eth0, and I'd like to configure another interface (eth1), in order to apply the configuration for eth1, it's necessary to restart the systemd-networkd service. This process brings down ALL interfaces (also the previous configured eth0) and up again. That means, there is an interruption, even on eth0.
There should be a possibility to bring up an interface on-the-fly with no impact to other interfaces (like ifup eth1).
Also, if you'd like to change the configuration of an interface which is already configured by systemd (e.g. IP, Gateway, whatever), you need to restart the whole service (systemctl restart systemd-networkd). As said, this will also bring down all other interfaces (where I didn't change anything). With ifupdown, you have the possibility to restart just a single interface (ifdown ethX && ifup ethX).
Yeah, we currently have no API for reloading config or upping/downing interfaces individually. We really should add that. THis is kinda a duplicate of #3031 and is a well-known limitation of networkd, closing this one as duplicate.
Submission type
systemd version the issue has been seen with
Used distribution
In case of bug report: Expected behaviour you didn't see
In case of bug report: Unexpected behaviour you saw
In case of bug report: Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: