Maybe a stupid question but how can I tell if I have a static IP address or a dynamic IP address?Running Fedora-13
I have followed (any one of hundreds) tutorial, and it does not work. How do I set up networking/WiFi/static IP address on the Raspberry Pi? (This is a Dorothy Dixer to hopefully catch the hundre.
RamyRamy
3 Answers
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.
TogTog
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.
ArjanArjan
Easiest way to find out would be to call your ISP if you're asking about a home connection, and to call your sysadmin if you're on a work or school campus.
It's fairly rare these days to find connections that come with static IP addresses; usually if you want one you have to pay extra for it.
Other way to find out is to login to your gateway device (your modem or router) and check the settings; it will show you if you have a static or dynamically-assigned IP address.
goblinboxgoblinbox
protected by Community♦Dec 23 '14 at 17:55
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged fedora-13static-ipdynamic-ip or ask your own question.