Difference between revisions of "Networkctl"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
== Basic commands ==
 
== Basic commands ==
 
* <code>[[networkctl list]]</code>
 
* <code>[[networkctl list]]</code>
* <code>networkctl status</code>
+
* <code>[[networkctl status]]</code>
 
<pre>
 
<pre>
 
  State: routable
 
  State: routable
Line 14: Line 14:
 
               8.8.4.4
 
               8.8.4.4
 
</pre>
 
</pre>
 
  
 
== Related logs ==
 
== Related logs ==

Revision as of 13:01, 8 September 2023

networkctl[1] command allows to inspect the state of the network links as seen by systemd-networkd daemon.

Basic commands

 State: routable
     Address: 10.193.76.5 on eth0
              192.168.122.1 on virbr0
              169.254.190.105 on eth0
              fe80::5054:aa:bbbb:cccc on eth0
     Gateway: 10.193.11.1 (CISCO SYSTEMS, INC.) on eth0
         DNS: 8.8.8.8
              8.8.4.4

Related logs

Jan 26 18:24:02 SERVER_NAME networkd-dispatcher[707]: ERROR:Unknown interface index 17 seen even after reload

Activities

  1. Read archlinux systemd-networkd documentation: https://wiki.archlinux.org/index.php/Systemd-networkd

See also

  • https://www.freedesktop.org/software/systemd/man/networkctl.html
  • https://wiki.ubuntu.com/DebuggingSystemd
  • Advertising: