A utility for managing systemd-networkd virtual interfaces.
linkctl is a tool for managing systemd-networkd virtual interfaces
Usage:
linkctl [-h] [-a] [-t] [-version] COMMAND [arguments]
Options:
-a show all links
-h show this help
-t only print link names
-version print version information
Commands:
list list netdev links
enable enable a netdev link
disable disable a netdev link
rename rename a netdev link
List all enabled and available netdev links.
# linkctl list [-a]
$ linkctl list -a
NAME TYPE STATUS
othernet vlan user-defined
test.300 vlan enabled
test.301 vlan enabled
test.302 vlan disabled
test.310 vlan disabled
test.555 vlan enabled
test.600 vlan disabled
testroot vlan disabled
Enable a link
# linkctl enable LINK
$ sudo linkctl enable test.300
Rename a link
# linkctl rename LINK [NEWNAME]
$ sudo linkctl rename test.600 lan