Results 1 to 3 of 3

Thread: How to properly setup a machine from changing private IP address?

  1. #1
    Join Date
    May 2016
    Beans
    8

    How to properly setup a machine from changing private IP address?

    Greetings,

    So I setup a home server, using Ubuntu 20.04 LTS Desktop, to have my files hosted there (synced using NextCloud btw). I have access to them from my Windows 10 PC, but I noticed that at times, the private IP changes for the Ubuntu machine. I make emphasis on private because that's what the network details give me, not the public IP one. I have DynDNS services that point to a hostname and my router (ARRIS) has the option of using Dynamic DNS (Which I have configured). However anytime the Ubuntu machine has it's IP changed, I have to go into ARRIS panel and change the port forwarding IP address (it only accepts private IP and not public IP).

    My ISP only offers static ip options but only if I have a commercial account...which I don't have since it's at Home.

    Is there any way to remediate this that doesn't require me to open a commercial account in order to get the static IP?

    Thank you!

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    22,472
    Distro
    Ubuntu

    Re: How to properly setup a machine from changing private IP address?

    https://ubuntu.com/server/docs has a section on networking. In there is how-to setup a static IP for ubuntu Server.

  3. #3
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,441
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to properly setup a machine from changing private IP address?

    My ISP only offers static ip options for public IP addresses but only if I have a commercial account...which I don't have since it's at Home.
    Aren’t you asking about private IP addresses? 192.168.x.y, etc.?

    If so, as I assume, It is easy to set a static IP address in the Network Manager interface, just like this:



    Just be certain to select an address outside of the DHCP pool in the router. If the routers pool is, for example, 192.168.1.2 to 192.168.1.51, then an address of 192.168.1.101 is therefore available.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •