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: 192.168.1.200
- Netmask: 255.255.255.0
- Gateway: 192.168.1.1
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: 192.168.1.1
- First IP: 192.168.1.10
- Last IP: 192.168.1.250
- Lease time: 12hours
- DNS Search Domain(s): HomeServer
- DNS Servers: 1.1.1.1, 1.0.0.1
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.