Additional Dnsmasq Options Crash DHCP server

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
starcomsis
DD-WRT Novice


Joined: 16 May 2017
Posts: 2

PostPosted: Thu Oct 10, 2019 4:19    Post subject: Additional Dnsmasq Options Crash DHCP server Reply with quote
Hi,
Additional Dnsmasq Options (With various models of tp-link routers and with various firmware versions, including the latest beta versions).
I use to prevent some of host from getting IP address from DHCP Server.
Example:
interface=br0
dhcp-host=00:xx:xx:xx:xx:01,00:xx:xx:xx:xx:02,00:xx:xx:xx:xx:03,00:xx:xx:xx:xx:04,00:xx:xx:xx:xx:05,00:xx:xx:xx:xx:06,00:xx:xx:xx:xx:07,ignore


if i use up to 5 mac entries alright, bad if i use 6 or more, by the time i apply the confirmations, the dhcp server definitely crashes and only comes back up if i eliminate the exceeds 5 mac.
It seems to exceed the limit of the variable.
I need help understanding and solving this.
Thanks
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Thu Oct 10, 2019 6:46    Post subject: Reply with quote
Thanks; please report your findings to the SVN (Bugtracker link up top). https://svn.dd-wrt.com/
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Thu Oct 10, 2019 9:05    Post subject: Reply with quote
try this way

dhcp-host=11:22:33:44:55:66,set:known
dhcp-ignore=tag:!known

you can also try to add them in additional DHCP work.. instead..if DNSmasq rules, can not execute it....

also you can try your way just use one MAC per line ignore

sadly, this way will eat a lot of space..

you can try to block those mac via IPtables too..

but than again if they are smart to change MAC you get the wood..again..

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
starcomsis
DD-WRT Novice


Joined: 16 May 2017
Posts: 2

PostPosted: Tue Oct 22, 2019 17:50    Post subject: Reply with quote
Alozaros wrote:
try this way

dhcp-host=11:22:33:44:55:66,set:known
dhcp-ignore=tag:!known

you can also try to add them in additional DHCP work.. instead..if DNSmasq rules, can not execute it....

also you can try your way just use one MAC per line ignore

sadly, this way will eat a lot of space..

you can try to block those mac via IPtables too..

but than again if they are smart to change MAC you get the wood..again..


I have two DHCP servers (in need of backwards compatibilidate) on the network one of them with tftpboot PXE UDP service, the other with DHCP (tp-link dd-wrt router) is from normal internet. I want you to block the machines that request IP in DHCP from internet and that they can exclusively receive the DHCP IP with tftpboot PXE UDP service.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions 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 can attach files in this forum
You can download files in this forum