Posted: Sat Feb 22, 2025 11:50 Post subject: Incorrect IP assignment. Broadcast assignment!
Netgear R7800 - Firmware: DD-WRT v3.0-r59661 std (02/14/25)
Hello, I created two VLans with address 10.10.10.1/29 10.10.11.1/29. I assign DHCP to clients. The problem is that the first client that connects to the router gets address 10.10.1x.7! In practice, the broadcast and the client is, of course, not able to navigate and communicate.
Is it a bug
Since your start address is 2, I believe your Max should be set to 5, not 6.
Also, the first one in the dhcp server list has a subnet mask of 28 (not 29 as mentioned in your post), so it's max could be as high as 13, again since you are starting with 2. _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
@kp69 You said it better than I did. Given that his start address is .2 with a max of 6 addresses, that would make the last address 10.10.20.7 which of course is NOT usable as it's the broadcast address. So there may be a bug in that the dhcp server should not assign anything above 10.10.20.6 with a subnet of /29 and a network address of 10.10.20.0, regardless of the Max setting.
I may test this later, time permitting. _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
Ah, I was unaware the dhcp server is ignorant to the subnet. So it's definitely not a bug, just a bad configuration. No need to bother testing now that I know this. lol _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
The mistake arises from the fact that "MAX" is ambiguous. It is not clear whether the maximum refers to the number of configurable hosts or to the last IP. You have to put MAX (HOSTS) or an explanatory wording on the right, it would be advisable. On the /28 I typed wrong and it must have been /29 too. I hadn't noticed. I also tried starting from 1 to 6 but it doesn't seem to work correctly, (IP 1 is not addressed correctly, 10.10.10.0/29) I don't waste any more time in case you do the tests. Greetings.
DDWRT/DNSmasq DHCP is not that different...you can even start either from .64 or .100
you can use dhcp-sequential-ip to get the next available IP but, sadly it doesn't work like this always..
my personal experience...you have to be careful and know what you are doing...the use of /24
is the best...that...you can limit the IP range with DNSmasq and choose where to start..
so if you set limit at DHCP given IP to 8 and start from .100.....that would mean .100-.107 included..
as simple as that..
but as
ho1Aetoo wrote:
The DHCP server does not know any subnets, it does what you configure.
And if you configure nonsense then you will also get nonsense.
We're already used to that from the OP
Nothing could be done... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 58184 WAP
TP-Link WR1043NDv2 -DD-WRT 61745 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 61843 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x2VLAN,Vanilla
Netgear R7800 --DD-WRT 61843 Gateway/DNSCryptv2,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 61711 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Dynalink DL-WRX36-DDWRT 61745
Broadcom
Netgear R7000 --DD-WRT 61745 Gateway/DNScrypt-proxy2/AD-Block,IPset Firewall,Forced DNS,x4VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
The mistake arises from the fact that "MAX" is ambiguous. It is not clear whether the maximum refers to the number of configurable hosts or to the last IP. You have to put MAX (HOSTS) or an explanatory wording on the right, it would be advisable. On the /28 I typed wrong and it must have been /29 too. I hadn't noticed. I also tried starting from 1 to 6 but it doesn't seem to work correctly, (IP 1 is not addressed correctly, 10.10.10.0/29) I don't waste any more time in case you do the tests. Greetings.
Has anyone had time to do some verification tests?
Bye!
P.S. (to Kernel-pani69 I use an automatic translator but the tone did not seem very courteous to me.)
There's nothing to test and you're annoying us with your nonsense.
When you create a new DHCP server the settings are start=100 and max=50
So question answered??
The last IP address is 149 and cannot be 50 because it only starts at 100.
Always the same stupid questions from you... if this is too difficult for you then don't play around with it and use full /24 subnets like any normal person.
Joined: 08 May 2018 Posts: 16146 Location: Texas, USA
Posted: Wed Feb 26, 2025 15:18 Post subject:
I concur on topic closed. You were given the same answer over 8 - almost 9 years ago on how to fix this. There is nothing to fix except entering the correct value.