This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Local DNS, DHCP

      So I have been researching the Local DNS, DHCP section of OMV 4 and need some help. I'm looking to use OMV to assign/manage all IPs on my network, as well as being able to type in something like home.nextcloud or home.OMV to access various servers or individual machines. What's the best way to configure this?

      I tried setting a static IP via System>Network>Interfaces, but OMV shows no interfaces. Per the official documentation, this is normal, but how am I suppose to set a static IP for my OMV server? When I attempt to Add>Ethernet>enp0s25 and setup the correct values (listed below), it returns an error, which according to journalctl -xe is Aug 22 19:16:52 HomeServer systemd[1]: Failed to start Raise network interfaces.. I used the following parameters:
      • IPv4
        • Method: Static
        • Address:
        • Netmask:
        • Gateway:
      I assume the Gateway should stay as the router?

      Also, under Services>Local DNS/DHCP>Setting I have "Enable" selected and inputed a Domain (HomerServer). Log Queries are selected. DHCP setting have the DHCP eneabled, along with log DHCP.
      • Lease Network does NOT allow me to select anything.
      • Gateway:
      • First IP:
      • Last IP:
      • Lease time: 12hours
      • DNS Search Domain(s): HomeServer
      • DNS Servers:,
      All this gives me an error: Network: The value 'NULL' is not a string. Should I assume this is because "Lease Network" doesn't allow me to set anything. Also, am I suppose to list the router as the Gateway? Should I list my OMV server IP as one of the DNS Servers, if I want to do the whole HomeServer.Nextcloud to access Nextcloud?

      New to Linux and this level of networking, so any help is greatly appreciated.
    • I do exactly what you describe.

      But I set it up on my router. It is a GL-iNet 300M. It has DHCP and dnsmasq. Your router might have it as well.

      I simply create static leases for each device and assign a meaningful name. And then I can use the names instead of the IP:s.

      Make sure to backup the config. Print out a screendump or something.
      OMV 4: 9 x Odroid HC2 + 1 x Odroid HC1 + 1 x Raspberry Pi 4
    • Ya, I have a lot of options on my Router, but the DHCP has me assign static IP's via Mac, without giving me the Hostname. So, I have to keep a separate list of MAC addresses to figure out how I'm assigning IP's, which I don't like. Also, I want to be able to go to something Like HomeServer.OMV or HomeServer.Nextcloud to make it easier to acess my different servers
    • So, you have a hybrid setup. Since there's no way to know for sure what the impact would be with a static address, to keep everything functional, it might be best to setup a permanent DHCP lease at your router.

      On the CLI, you can find the interface MAC address using ip addr. With that,you'll be able to set up the static lease at your router, which is the functional equivalent of assigning a static IP address to the workstation.

      The post was edited 2 times, last by crashtest ().

    • Users Online 1

      1 Guest