1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/linux/networkctl.md
Lena 197713dfec
networkctl: add page and Polish translation (#10091)
* networkctl: add page and Polish translation

* networkctl: add backticks around systemd-networkd

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* networkctl: update Polish translation

* networkctl: add an ellipsis to placeholders

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-04-23 17:26:11 +05:30

33 lines
850 B
Markdown

# networkctl
> Query the status of network links.
> Manage the network configuration using `systemd-networkd`.
> More information: <https://www.freedesktop.org/software/systemd/man/networkctl.html>.
- Show a list of existing links and their status:
`networkctl list`
- Show an overall network status:
`networkctl status`
- Bring network devices up:
`networkctl up {{interface1 interface2 ...}}`
- Bring network devices down:
`networkctl down {{interface1 interface2 ...}}`
- Renew dynamic configurations (e.g. IP addresses received from a DHCP server):
`networkctl renew {{interface1 interface2 ...}}`
- Reload configuration files (.netdev and .network):
`networkctl reload`
- Reconfigure network interfaces (if you edited the config, you need to call `networkctl reload` first):
`networkctl reconfigure {{interface1 interface2 ...}}`