DHCP Plugin: issue with network mask!

Hi

I’m running into a problem for configuring the DHCP server avalaible as add-on in hassio. My network configuration is 192.168.1.0/22 which means basically a netmask 255.255.252.0 and IP from 192.168.1.0 till 192.168.1.3.254 Here is my configuration file so far (I tried to add the range option that exists on some DHCP servers but it doesn’t work !

Thanks for your help,

Vincèn

{
  "default_lease": 21600,
  "max_lease": 172800,
  "domain": "mynetwork.local",
  "dns": [
    "1.1.1.1",
    "1.0.0.1"
  ],
  "networks": [
    {
      "subnet": "192.168.1.0",
      "range": "192.168.1.0-192.168.1.254",
      "netmask": "255.255.252.0",
      "range_start": "192.168.1.100",
      "range_end": "192.168.1.199",
      "broadcast": "192.168.1.252",
      "gateway": "192.168.1.1",
      "interface": "eth0"
    }
  ],
  "hosts": [here list of my host not relevant for the problem)

Too many octets. I assume you mean until 192.168.3.254.

  "range_start": "192.168.1.0",
  "range_end": "192.168.3.254",

There is no "range": option.

Thanks for answer but sorry I think I miexplained myself ! My problem is that I tried to manually setup the range of mask as it looks the server is not able to handle a network with a mask of 255.255.252.0 but range here is for the DHCP range of IP address it distributes :frowning: Any ideas if and if how to do that ?
Side note: the sample config file supplied on your link is not valid. When I copy/paste the code in the DHCP server configuration field it gets a syntax error :frowning:

Vincèn

The sample config was copied directly from the example. You must have something else wrong.