To check the static IP configuration on Ubuntu, you can use command-line tools or the graphical user interface (GUI).Documentation Index
Fetch the complete documentation index at: https://mintlify.com/KarChunT/karchunt.com/llms.txt
Use this file to discover all available pages before exploring further.
Using ip addr
eth0, wlan0) and check the inet line for the assigned IP address.
- Static IP: If the
inetline does not contain the worddynamic, the IP address is statically assigned. - DHCP (Dynamic): If you see
dynamic, the IP was assigned via DHCP.
Using ip route
proto dhcp— IP was assigned via DHCP.proto static— Static IP configuration.
Inspect Netplan Configuration
addresses: with a specific IP and dhcp4: no or dhcp4: false, a static IP is configured.
Using NetworkManager CLI
manual— Static IP configuration.auto— DHCP configuration.
GUI settings
- Open Settings > Network (or Wi-Fi).
- Click the gear icon next to your connection.
- Go to the IPv4 tab.
- Check if Method is set to Manual (static IP) or Automatic (DHCP).