How can I tell if I have static or dynamic IP Address?

Maybe a stupid question but how can I tell if I have a static IP address or a dynamic IP address? Running Fedora-13


Solution 1:

Asking the ISP or network administrator or physically checking the settings is the easiest way because:

If you are talking about the address provided by your ISP, then switching your router off for a while will eventually force the ISP to release your old IP. Unfortunately, you could be unlucky and your "new" IP may be exactly the same as your old one. This means that switching off your router for a while is not a 100% foolproof way of finding out if your IP is static or dynamic. It usually works, though.

If you are talking about your LAN IP then check your router and see if it is selected to provide an IP from a static table or through DHCP, if it's DHCP then you may still end up with the same IP depending on how long the router remembers an IP address allocation before releasing it. Most domestic routers seem to keep them forever, despite the settings.

Solution 2:

For public IP addresses, some sites such as WhatIsMyIPAddress.com claim their databases can tell if your IP address is static or dynamic.

Also, sometimes running a dig -x your-ip-address might reveal a DNS name that includes some hints from your provider, like dyn prefixes. It's all not standardized though, so indeed the best bet is to get that information from your provider.

In my case the answer is correct; see the "Additional IP Details" button.