LinuxCommandLibrary

networkctl

Query the status of network links.

TLDR

Show a list of existing links and their status

$ networkctl list
copy


Show an overall network status
$ networkctl status
copy


Bring network devices up
$ networkctl up [interface1 interface2 ...]
copy


Bring network devices down
$ networkctl down [interface1 interface2 ...]
copy


Renew dynamic configurations (e.g. IP addresses received from a DHCP server)
$ networkctl renew [interface1 interface2 ...]
copy


Reload configuration files (.netdev and .network)
$ networkctl reload
copy


Reconfigure network interfaces (if you edited the config, you need to call networkctl reload first)
$ networkctl reconfigure [interface1 interface2 ...]
copy

Copied to clipboard