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.Dismiss alert
when removing the VLAN= line from a .network file, that the vlan gets removed from that interface.
Unexpected behaviour you saw
when removing the VLAN= line from the .network file for an interface, the vlan device did not get removed from the interface when restarting systemd-networkd
Steps to reproduce the problem
create a vlan in a .netdev file
add vlan to an interface by adding a VLAN= line its .network file
restart systemd-networkd
see vlan being added to the interface (ip link show)
remove VLAN= line from .network file of the interface
restart systemd-networkd
observe the vlan still being present on the interface (ip link show)
The text was updated successfully, but these errors were encountered:
This also means that when configuration is updated and systemd-networkd is restarted, netdev interfaces for which configuration was removed will not be dropped, and may need to be cleaned up manually.
I think what you reported is exactly the documented behavior.
systemd version the issue has been seen with
Used distribution
Expected behaviour you didn't see
Unexpected behaviour you saw
Steps to reproduce the problem
create a vlan in a .netdev file
add vlan to an interface by adding a VLAN= line its .network file
restart systemd-networkd
see vlan being added to the interface (ip link show)
remove VLAN= line from .network file of the interface
restart systemd-networkd
observe the vlan still being present on the interface (ip link show)
The text was updated successfully, but these errors were encountered: