[SOLVED] DHCP stops to work when add several static leases

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Fedex03
DD-WRT User


Joined: 18 Nov 2010
Posts: 89
Location: Italy

PostPosted: Fri Oct 07, 2022 16:16    Post subject: [SOLVED] DHCP stops to work when add several static leases Reply with quote
Hi there,

today I added several static lease to my DHCP on br1 and after the router reboot, each WiFi device cannot receive its static IP address.

The DHCP on bridge br1 is configure with start IP address 64 and end to 254.

My Wifi devices are connected to two WiFi AP (one Mikrotik and one Ubiquiti) the are connect to a two different trunk port.

Each trunk port transport two VLANs: VLAN4 (Private) VLAN10 (IoT).

The fact that the DHCP stops to work (also on Private Lan that has no static leases) can be related to the VLANs?

Thanks in advance for the help.

BR,
Federico
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1931

PostPosted: Fri Oct 07, 2022 16:35    Post subject: Reply with quote
Are you sure that you don't have invalid characters in your hostname that would result in dnsmasq failing to start? You only needed to obfuscate the MAC addresses, if anything, in your screenshot. Check your syslogs and ps to see if dnsmasq is running. You may have to "forget network" on your wireless clients as well.

If you're still on this build, it might be wise to update to current release (50357 at present) or wait, depending on the ongoing VPN development work:
Fedex03 wrote:
I start with a new build (DD-WRT v3.0-r49934 std (08/28/22)), reset the router and then I configured everytihng manually.


https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2022/10-05-2022-r50357/

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Fedex03
DD-WRT User


Joined: 18 Nov 2010
Posts: 89
Location: Italy

PostPosted: Tue Oct 11, 2022 8:31    Post subject: Reply with quote
dale_gribble39 wrote:
Are you sure that you don't have invalid characters in your hostname that would result in dnsmasq failing to start? You only needed to obfuscate the MAC addresses, if anything, in your screenshot. Check your syslogs and ps to see if dnsmasq is running. You may have to "forget network" on your wireless clients as well.

If you're still on this build, it might be wise to update to current release (50357 at present) or wait, depending on the ongoing VPN development work:
Fedex03 wrote:
I start with a new build (DD-WRT v3.0-r49934 std (08/28/22)), reset the router and then I configured everytihng manually.


https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2022/10-05-2022-r50357/


Hi Dale,

I followerd your suggestion, and I enabled the Syslog.

I rebooted the router and I check the Syslog that reports:

Quote:
Oct 11 09:50:00 DD-WRT daemon.crit dnsmasq[2777]: bad DHCP host name at line 26 of /tmp/dnsmasq.conf
Oct 11 09:50:00 DD-WRT daemon.crit dnsmasq[2777]: FAILED to start up


I checked the dnsmasq.conf file and at line 26 I found that the host name is "*".

If I remember the "*", was allowed for the static leases. Am I right?

Thank you for your help!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12881
Location: Netherlands

PostPosted: Tue Oct 11, 2022 9:34    Post subject: Reply with quote
Only numbers, letters a hyphen and an underscore
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Fedex03
DD-WRT User


Joined: 18 Nov 2010
Posts: 89
Location: Italy

PostPosted: Tue Oct 11, 2022 9:36    Post subject: Reply with quote
egc wrote:
Only numbers, letters a hyphen and an underscore


Hi egc, thanks for the clarification.

I fixed my problem!

Thank you guys!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum