i have some issues with dnsmasq DHCP feature. I have setup a static lease for a client, but the client never get that ip.. its always the same but not the configured one.
config host
option name 'MacBookPro-Arbeit'
option dns '1'
option ip '192.168.3.176'
option hostid '0176'
option mac 'C8:89:F3:E4:DE:7B'
option instance '5'
list match_tag 'known'
option duid '000100012aee5001c889f3e4de7b'
IPv6 is fine, but IPv4 didnt work. The log isn helpfull at all. It looks like, something fucked up here
PS: I have that issue for multiple devices and its always related to IPv4
odhcpd is providing the RIGHT ip-adresses, however other stuff breaks then, mainly due to the multiple dnsmasq intances before .. so it is INDEED a dnsmasq issue.
For the config:
its quite big, i will provide some snippets:
config host
option dns '1'
option mac 'e0:63:da:5c:e6:b0'
option hostid '09'
option ip '192.168.1.9'
option name 'Wohnzimmerswitch'
option instance '2'
list match_tag 'known'
shouldt this be in the leasefile? so stop dnsmasq, delete lease file, start dnsmasq ? I tried this, but its wroting the wrong ip there instead.
@krazeh again. This would NOT help, its copy/paste so if you cant find an issue in this config lines, u cant find an issue in the others (and vice-versa, thats why iam fixed the limit already)
Update:
I tried to stop,delete,start and now its getting ANOTHER ip adress (not the same anymore) but still the wrong one. Looks the the static elases are beeing ignored since the latest snapshot )
I guess you are a bot, because u cant really understand what i wrote down. U can see ALL you need, the other stuff is the S A M E but different names. The static leases, apart from the one with the issues, are not relevant.
No. We can see all you think we need to see. There's a big difference between that and seeing everything. You might think your config files are absolutely fine (and you might be right), but time and time again issues have only been solved after the poster has finally given us what we asked for and it turns out there was simple misconfiguration issues.
Not wanting to wade into this debate, but please stay civil. If on a forum like this, people actually interact with your question, just be grateful; and if some responses seem not to your liking, please ignore them politely.