starcomsis DD-WRT Novice
Joined: 16 May 2017 Posts: 2
|
Posted: Thu Oct 10, 2019 4:19 Post subject: Additional Dnsmasq Options Crash DHCP server |
|
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 |
|
Alozaros DD-WRT Guru
Joined: 16 Nov 2015 Posts: 6410 Location: UK, London, just across the river..
|
Posted: Thu Oct 10, 2019 9:05 Post subject: |
|
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
|
Posted: Tue Oct 22, 2019 17:50 Post subject: |
|
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. |
|