Home Explore Blog CI



man-pages

4th chunk of `networkctl.man`
e642245a390a28b48c39026fbd936ab49096cd32d89ba8260000000100000bcb
      2001::/32                                 6
               ::ffff:0.0.0.0/96                             4
                       ::/96                                 3
                      ::1/128                                0

       delete DEVICE...
           Deletes virtual netdevs. Takes interface name or index number.

       up DEVICE...
           Bring devices up. Takes interface name or index number.

       down DEVICE...
           Bring devices down. Takes interface name or index number.

       renew DEVICE...
           Renew dynamic configurations e.g. addresses received from DHCP server. Takes interface name or index number.

       forcerenew DEVICE...
           Send a FORCERENEW message to all connected clients, triggering DHCP reconfiguration. Takes interface name or index number.

       reconfigure DEVICE...
           Reconfigure network interfaces. Takes interface name or index number. Note that this does not reload .netdev or .network corresponding to the specified interface. So, if you edit config files, it is necessary to
           call networkctl reload first to apply new settings.

       reload
           Reload .netdev and .network files. If a new .netdev file is found, then the corresponding netdev is created. Note that even if an existing .netdev is modified or removed, systemd-networkd does not update or remove
           the netdev. If a new, modified or removed .network file is found, then all interfaces which match the file are reconfigured.

OPTIONS
       The following options are understood:

       -a --all
           Show all links with status.

       -s --stats
           Show link statistics with status.

       -l, --full
           Do not ellipsize the output.

       -n, --lines=
           When used with status, controls the number of journal lines to show, counting from the most recent ones. Takes a positive integer argument. Defaults to 10.

       --json=MODE
           Shows output formatted as JSON. Expects one of "short" (for the shortest possible output without any redundant whitespace or line breaks), "pretty" (for a pretty version of the same, with indentation and line
           breaks) or "off" (to turn off JSON output, the default).

       -h, --help
           Print a short help text and exit.

       --version
           Print a short version string and exit.

       --no-legend
           Do not print the legend, i.e. column headers and the footer with hints.

       --no-pager
           Do not pipe output into a pager.

EXIT STATUS
       On success, 0 is returned, a non-zero failure code otherwise.

SEE ALSO
       systemd‐networkd.service(8), systemd.network(5), systemd.netdev(5), ip(8)

NOTES
        1. RFC 3484
           https://tools.ietf.org/html/rfc3484

systemd 253                                                                                                                                                                                                        NETWORKCTL(1)

Title: networkctl Commands: reconfigure, reload and options
Summary
This section details the `networkctl reconfigure` command, which reconfigures network interfaces, but requires a reload for config file changes to take effect. It also describes the `reload` command, which reloads .netdev and .network files, creating new devices if necessary, and reconfigures interfaces based on the files. Additionally, it lists available options for `networkctl` such as `-a` (show all links), `-s` (show statistics), `-l` (full output), `-n` (journal lines), `--json` (JSON output), `-h` (help), `--version` (version), `--no-legend` (no headers/footer), and `--no-pager` (disable pager). It also includes exit status information and related documentation links.