DHCP Server

When I setup a DHCP server on an RB112 via the setup button, I get an error.

I change the IP address space to 172.16.5.0/24.
The next screen has the gateway as 172.16.5.21, so I change it to .1.
“Gateway must be in the same network as the IP address space” or something like that.
Setup closes.
I start over.
I change the IP address space to 172.16.5.0/24.
Next screen now has 172.16.5.1 as the gateway by default and I am allowed to complete the setup process as I should.