I added a pool, 172.162.2.2 - 172.16.2.254 - named it dhcp_pool
I added a dhcp-server
when I try to use setup, it gives me the following error:
using the following information:
-interface: ether1
-dhcp address space: 172.16.1.0/23
ERROR: Invalid netmask
Select Network for DHCP addressess
172.16.1.0/23 with a network of 172.16.1.0 and a broadcast of 172.16.2.255 is not a valid IP address configuration for an interface, and 172.16.1.0/23 is not a valid network address. Subnets boundaries don’t work that way. Never fill out the network and broadcast addresses of IP address entries yourself - just provide the IP address and CIDR netmask, the router will calculate the rest and show you if you made mistakes by filling in values you didn’t expect.
172.16.0.1/23 with a network of 172.16.0.0 and a broadcast of 172.16.1.255 is valid, as is 172.16.2.1/23 with 172.16.2.0 and 172.16.3.255.
All that said, 2.6 is WAY too old for support. Upgrade.