How do I get a static IP rather than the dynamic one I have now?


  1. Posts : 5
    Windows 10 Home
       #1

    How do I get a static IP rather than the dynamic one I have now?


    So I used this guide here:
    How to Assign a Static IP Address in Windows 7, 8, 10, XP, or Vista

    And did everything it said, but I still get a different IP every day when I check https://www.whatismyip.com/

    Could someone help me maybe?

    I want a static IP that doesn't change.
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    Those instructions you have followed are for and only apply to a static private (internal) IP. To get static public (external) IP you need to contact your Internet service provider.

    At least here in Europe, almost all service providers offer dynamic external IP addresses by default, dynamic meaning they change every once and a while picking a new IP from service provider's IP pool. Using my service provider as an example, I would need to pay just over €10 extra per month to get a static, never changing external IP address.

    Contact your Internet service provider, ask if they offer static addresses in the first place, and how much it would cost to you.

    Kari
      My Computer


  3. Posts : 14,018
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #3

    What Kari said, same for my ISP for $10USD. The only advantage I'd have would be setting up a Server and allowing others to get the content I'd put on it such as running a business, selling products, etc. My Domain is hosted by such a hosting firm in another city, only have to use FTP to upload changed pages to it.
      My Computers


  4. Posts : 5
    Windows 10 Home
    Thread Starter
       #4

    Kari said:
    Those instructions you have followed are for and only apply to a static private (internal) IP. To get static public (external) IP you need to contact your Internet service provider.

    At least here in Europe, almost all service providers offer dynamic external IP addresses by default, dynamic meaning they change every once and a while picking a new IP from service provider's IP pool. Using my service provider as an example, I would need to pay just over €10 extra per month to get a static, never changing external IP address.

    Contact your Internet service provider, ask if they offer static addresses in the first place, and how much it would cost to you.

    Kari
    So there is no way for me to do this unless I contact my internet provider directly?
      My Computer


  5. Posts : 18,432
    Windows 11 Pro
       #5

    xDrac said:
    So there is no way for me to do this unless I contact my internet provider directly?
    That would be correct. But there is a workaround. There are Dynamic DNS services such as No-IP.com My router, and most modern routers have the client part built in. The router - or software you load on your computer, sends updates of yout changing public IP address to the DDNS server (such as No-IP.com). The DDNS server translates your IP address to a hostname such as yourname.no-ip.com. So whatever program you want to access your home network from goes to yourname.no-ip.com instead of the ip address, and, just like any other DNS lookup, the hostname yourname.no-ip.com returns your hopefully current IP address.

    A lot of DDNS services are free but you usually have to go to their website every 30 or 60 days to revalidate your login and look at an ad while doing so.
      My Computer


  6. Posts : 11,247
    Windows / Linux : Arch Linux
       #6

    Hi there

    If you have Fibre cable rather than the more traditional broadband then the chances are that once you are logged on you will keep the IP address the whole time your session is logged in. However even if it changes frequently you don't need to use DYNDNS / TEAMVIEWER or any of those services.

    I'm not sure how to do it in Windows but I'm sure any competent person who knows Windows scripting could probably replicate a really simple way in Linux of getting info so you can connect to a home server from a remote location.

    1) in CRONTAB issue a command every 30 mins (or whenever you want) to get the current external IP address (IPCONFIG or something like that). CRONTAB is the Linux job scheduler --I'm sure there's something equivalent in Windows to schedule command execution.

    2) Route the output of the command to a textfile

    3) issue SENDMAIL command to your email address. Send the textfile that you've outputted the IP address to via email to yourself. I think in Windows there's a MAILTO command or similar which should be able to dynamically send email.

    Now on your REMOTE computer you should be able to see the current IP address of your HOME computer - simply read the email received from the SENDMAIL command..

    With that info you can access via RDP / VPN or whatever services / applications you want.

    I'm sure there's any number of Windows Gurus on these Forums who should be able to do what I've done in Linux. I just haven't got enough knowledge of Windows to give the solution - but showing how it's done on another OS should give you an idea of what to do.

    Cheers
    jimbo
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:31.
Find Us




Windows 10 Forums