Subnet mask and DHCP server
Moderator: Moderators
Subnet mask and DHCP server
I couldn't find anything from a quick search, but I have my DHCP server handing out addresses from 192.168.1.60-192.168.1.253 and then I changed my subnet mask to /23 and it's giving out 192.168.0.x in addition to the defined set. Is this normal behavior? I'm on 1.10.0, so maybe it's been fixed in the years since I first installed Gargoyle.
Re: Subnet mask and DHCP server
I think I'm probably running into a similar issue as viewtopic.php?f=11&t=12245&p=55415 but not sure. The assigned static IPs are assigned correctly, but it seems like the DHCP server is handing out in the 192.168.0.60-192.168.0.253 range.
I wonder if I change my router IP to 192.168.2.1, and have a /23 subnet mask, would Gargoyle hand out from the lower range, leaving me the upper range of 192.168.3.x to use for other things...
I wonder if I change my router IP to 192.168.2.1, and have a /23 subnet mask, would Gargoyle hand out from the lower range, leaving me the upper range of 192.168.3.x to use for other things...
Re: Subnet mask and DHCP server
Yes it is normal behaviour.
I think you should look at a subnet calculator to understand what is going on. You’ve asked it to use a /23 (255.255.254.0) and it is doing just that
Note that Gargoyle still isn’t well defined on subnets larger than a /24 so your mileage may vary
I think you should look at a subnet calculator to understand what is going on. You’ve asked it to use a /23 (255.255.254.0) and it is doing just that

Note that Gargoyle still isn’t well defined on subnets larger than a /24 so your mileage may vary
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Subnet mask and DHCP server
I have it using a /23 mask, so it can deal with addresses from 192.168.0.1-192.168.1.254, right? But in the DHCP configuration page, I can only choose 192.168.1.x-xxx range of IP addresses (I guess because the IP address of the router is 192.168.1.1). However, the DHCP server hands out addresses in the 192.168.0.x-xxx range.Lantis wrote: ↑Fri May 13, 2022 9:39 amYes it is normal behaviour.
I think you should look at a subnet calculator to understand what is going on. You’ve asked it to use a /23 (255.255.254.0) and it is doing just that
Note that Gargoyle still isn’t well defined on subnets larger than a /24 so your mileage may vary
Re: Subnet mask and DHCP server
The code doesn’t know what to do with it. It is designed for a /24
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Subnet mask and DHCP server
Ok, I can deal with that. I’ll just give out the range in the lower half.