![Forrest logo](/images/logo.png)
networkctl:tldr:252ef
The command "networkctl status" is used to display the status and information about the networking interfaces and connections on a Linux system. It provides an overview of the network configuration and connectivity.
When you run "networkctl status", it will provide a list of all the network interfaces available on your system, along with their state, connection type, and various other details.
Some of the information that may be included in the output of the command includes:
- "State": It represents the current state of the interface, whether it is "routable" (fully functional), "degraded" (partially functional), "carrier" (no connection), or "failed" (completely non-functional).
- "Type": The type of the network connection, such as ethernet, wifi, loopback, or bridge.
- "Driver": The network driver associated with the interface.
- "Hardware Address": The hardware (MAC) address of the interface.
- "Address": The assigned IP address for the interface.
- "Gateway": The default gateway IP address.
- "DNS": The DNS servers configured for the interface.
Additionally, it may display information about active connections, including their state, local and remote addresses, and port numbers.
Overall, "networkctl status" is a useful command to quickly gather the current network status and configuration details on a Linux system.