How to change the local IP address

    • Offizieller Beitrag

    First, make sure you haven't reserved an IP for your server in your router (some people do that).


    Log in to the webUI

    Networks

    Click on your network device

    Under ip4, change from DHCP to Static


    IP (this will be the one you want)


    Netmask: If you don't know this, SSH your box and become root.

    Make sure net-tools is installed

    Code
    apt install net-tools


    Then use the route -n command to get your subnet (255.255.255.0 is mine because enp1s0 is my network device)



    Gateway IP: This is your router IP (probably 192.168.1.1)


    Then scroll down and set your DNS servers. You can log in to your router and find your service providers DNS servers, or use Googles.


    Code
    8.8.8.8,8.8.4.4

    Save and then eventually it will time out.


    Go to the IP you requested and log in.

  • And in addition make sure, 192.168.1.42 is not in the DHCP range of your router. Your router (DHCP-service) will know nothing about the fixed IP and issue it to another divice if you don't tell him not to do this.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!