Additional Dnsmasq Options Crash DHCP server

Post new topic   Reply to topic    DD-WRT Forum 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: 1496

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: 3800
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 44251 BS AP,NAT
TP-Link WR740Nv4 ------DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ----DD-WRT 444406 BS AP,NAT,AP Isolation,Firewall,Local DNS,Forced DNS,DoT,VPN
TP-Link WR1043NDv2 ----DD-WRT 44340 BS AP,NAT,AD Block,Firewall,Local DNS,Forced DNS,DoT,VPN
TP-Link WR1043NDv2 ----Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -------DD-WRT 44340 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -------DD-WRT 44340 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,DoT,VPN
------------------------------------------------------------------------------------------------
Stubby for 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 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