USG40: strange DHCP Behavior
I've setup a USG40 with 3 network segments: Lan1 (192.168.20.0/24), Lan2 (172.31.2.0/23), OPT as WAN with a fixed IP address matching network segment for WAN connection (subnet 192.168.1.0/24).
DHCP was enabled on LAN2. Starting address 172.31.2.51, 400 clients available, so addresses should start from 172.31.2.51 to 172.31.3.145. But USG40 start to lease from 172.31.3.1
My configuration is wrong? Zyxel software do not support this kind of subnet overlap for /23 networks (aka Subnet Mask 255.255.254.0)
Thanks 😃
All Replies
-
Its not subnet overlap as your using the correct subnet for a bigger IP space so it may be simply be the way DHCP hands out IP's.
Set pool size to 205 this will make 172.31.3.1 to one device then add one more and the DHCP puts the device in the 172.31.2.xxx range.
1 -
Thanks for your thougs, @PeterUK, but this lease pattern to not match the previous experiences on Zyxel UTM (USG20 and 100 of the previous generation, firmware 3.x).
Currently i have no way to change the setup of USG40, which keeps working, at least i hope until the 146th device that will be connected.
But i surely will try a similar arrangement with an old USG20, for have an insight of what's happening.
0 -
I have a USG40 and tested with 192.168.252.0/255.255.254.0 IP pool start address 192.168.252.2 pool size 509
first device gets IP 192.168.253.0
second device gets IP 192.168.252.2
I then changed the IP pool start address 192.168.252.255 pool size 2
first device gets IP 192.168.253.0
second device gets IP 192.168.252.255
So it seems the starts in the middle then to low if I had more devices it might likely get 192.168.253.1
1 -
It’s doable to release from the 1st IP in the DHCP pool, however, the mechanism changing will lead to some kind of extra resource overhead due to pool sorting, recording, searching…etc especially when the pool size is huge. That’s why we didn’t implement DHCP mechanism in this way.
1 -
How many leases are necessary to define a pool "huge"?
0 -
Hi @mMontana ,
If the DHCP pool is larger than class C range, it will not release the IP in order base on daemon algorithm.
0 -
UP.
Considering "not small" environments like Hotels, Congress Centers, open areas, C-Class is still the reccomended settings?
Moreover...mMontana said:How many leases are necessary to define a pool "huge"?
0 -
Hi @mMontana,
Based on current design/behavior, if the pool is large than a class C, it would not release IP in sequence order. This area will not be impacted in DHCP release.0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight