Difference between revisions of "Networkctl"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>networkctl</code><ref>https://www.freedesktop.org/software/systemd/man/networkctl.html</ref> command allows to inspect the state of the network links as seen by [[systemd]]-networkd daemon.
+
{{lc}}<code>networkctl</code><ref>https://www.freedesktop.org/software/systemd/man/networkctl.html</ref> command allows to inspect the state of the network links as seen by [[systemd]]-networkd daemon.
  
 
== 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 ==
Line 25: Line 24:
 
* [[Netplan]]
 
* [[Netplan]]
 
* {{Linux networking commands}}
 
* {{Linux networking commands}}
* {{systemd}}
+
* {{networkctl}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest 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[edit]

 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[edit]

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

Activities[edit]

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

See also[edit]

  • https://www.freedesktop.org/software/systemd/man/networkctl.html
  • Advertising: