Start with which address you mean
“IP address” can refer to two different things. The first is the private address your computer has on your home or office network. The second is the public address your provider gives your connection. A device can have a fixed local address while the public address still changes, and the reverse can also happen. The checks below cover both.
Check the local address on Windows
Open Command Prompt or PowerShell and run:
ipconfig /all
Find the adapter you are using, such as Wi-Fi or Ethernet, and look at the DHCP Enabled line:
- DHCP Enabled: No means the address was typed in by hand. The device is using a static local address.
- DHCP Enabled: Yes means the address came from a DHCP server, usually your router. The Lease Obtained and Lease Expires lines show how long the current assignment lasts.
A router can also reserve the same local address for a specific device. In that case the setting says Yes, but the address will not change. Check the router’s DHCP or LAN settings if you need to know.
Check the local address on Linux
On a system that uses NetworkManager, list your connections with nmcli connection show, then check the method for the one you use:
nmcli -g ipv4.method connection show "your-connection-name"
A value of auto means DHCP. A value of manual means a static address.
Two other checks work on most systems:
- Run
ip addr show. An address that came from DHCP is marked with the worddynamic. An address set by hand does not have that flag. - On systems that use netplan, look in
/etc/netplan/fordhcp4: true. A static address is written as an explicitaddresses:entry instead.
Interface names vary, so look for the one that carries your active connection, such as eth0, enp3s0 or wlan0.
Check the public address over time
The local checks do not show what the provider assigned to your connection. For that, record your public address from a lookup site, then check again after a few weeks. Check after a router restart and after a modem restart too.
If the address changes after a modem restart or an outage, it is dynamic. If it stays the same for months, it may be static, but a long-lived lease can look the same. An unchanged address is a hint, not a guarantee.
Confirm with your provider
Only the provider can tell you whether your public address is reserved for your account. Log in to your account page to see if a static address is listed, or ask support directly. Ask whether the address is static and whether it is kept if you change plans or equipment.
If you are not sure which address your computer is using in the first place, the local steps can help you sort that out. For the local address itself, the steps in “How do I find my 192.168 IP address?” are a good companion. The commands used here are also among the basics covered in “What are 10 common network commands?”
Common confusions
- 169.254.x.x addresses: A device with an address in this range did not get an answer from a DHCP server. This is a fallback, not a static setting. Check the cable or Wi-Fi connection, then restart the router.
- DHCP reservations: A reserved address is fixed for one device on your local network. It does not change your public address.
- IPv6: Many connections also have an IPv6 address, and its behavior can differ from IPv4. Check it separately if you use it.