diff --git a/pages.pl/linux/networkctl.md b/pages.pl/linux/networkctl.md new file mode 100644 index 000000000..10662018b --- /dev/null +++ b/pages.pl/linux/networkctl.md @@ -0,0 +1,33 @@ +# networkctl + +> Zapytaj o stan łączy sieciowych. +> Zarządzaj konfiguracją sieci za pomocą `systemd-networkd`. +> Więcej informacji: . + +- Wyświetl listę istniejących łączy i ich status: + +`networkctl list` + +- Wyświetl ogólny status sieci: + +`networkctl status` + +- Włącz urządzenia sieciowe: + +`networkctl up {{interfejs1 interfejs2 ...}}` + +- Wyłącz urządzenia sieciowe: + +`networkctl down {{interfejs1 interfejs2 ...}}` + +- Odnów konfiguracje dynamiczne (np. adresy IP przydzielone przez serwer DHCP): + +`networkctl renew {{interfejs1 interfejs2 ...}}` + +- Przeładuj pliki konfiguracyjne (.netdev i .network): + +`networkctl reload` + +- Rekonfiguruj interfejsy sieciowe (jeżeli pliki konfiguracyjne były edytowane, najpierw uruchom `networkctl reload`): + +`networkctl reconfigure {{interfejs1 interfejs2 ...}}` diff --git a/pages/linux/networkctl.md b/pages/linux/networkctl.md new file mode 100644 index 000000000..e7ee2ad97 --- /dev/null +++ b/pages/linux/networkctl.md @@ -0,0 +1,33 @@ +# networkctl + +> Query the status of network links. +> Manage the network configuration using `systemd-networkd`. +> More information: . + +- 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 ...}}`