I upgraded my NS 76 to NS 7 vis rsync. This time everyting went fine, execpt, that non of the IP-Phones (Yeahlink TG-46 and 42) is getting an IP-adress.
From messages.log:
Jun 15 21:18:21 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a3:79 ignored
Jun 15 21:18:21 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a2:90 ignored
Jun 15 21:18:22 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:9d:6d ignored
Jun 15 21:18:23 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a3:71 ignored
Jun 15 21:18:25 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a3:79 ignored
Jun 15 21:18:25 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a2:90 ignored
Jun 15 21:18:25 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a3:45 ignored
Jun 15 21:18:26 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:9d:6d ignored
Jun 15 21:18:27 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a3:71 ignored
Jun 15 21:18:28 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a3:79 ignored
Jun 15 21:18:29 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a2:90 ignored
Jun 15 21:18:29 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a3:45 ignored
Jun 15 21:18:29 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:a2:ad:78 ignored
Jun 15 21:18:29 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:9d:6d ignored
Jun 15 21:18:29 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:c2:c0:00 ignored
Jun 15 21:18:30 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:d2:a3:71 ignored
Jun 15 21:18:32 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:a2:ad:78 ignored
Jun 15 21:18:32 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:c2:c0:00 ignored
Jun 15 21:18:34 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:a2:b0:0c ignored
Jun 15 21:18:35 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:a2:ad:78 ignored
Jun 15 21:18:36 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:c2:c0:00 ignored
Jun 15 21:18:37 nethserver dnsmasq-dhcp[10168]: DHCPDISCOVER(br0) 00:15:65:a2:b0:0c ignored
Hi guys, thanks for helping, but I found it myself.
Standard config is with mac-filtering => dhcp-ignore=tag:!known
outcommented this and everything runs fine!
@davidep or @giacomo do you think it’s good to enable mac-filtering by default?
O.k. it’s security relevant. But if you don’t know that it’s enabled by default you don’t know why dhcp doesn’t work at all. So may be a hint in the server-manager-panel would be fine.
Good to know you could solve this yourself.
IMO mac address filtering is more like security by obscurity and not that safe. Mac address spoofing isn’t the most difficult config thinkable. And getting a ‘valid’ macaddress can be done reasonably easy with a packetsniffer.
Hi Ralf, I searched a bit inside our productions server but I didn’t found the dhcp-ignore=tag:!known option.
Reading the man pages, such option should be disabled by default. Since this problem has never been reported, could you help me a bit to find the cause?
Just post the output of following commands:
O.k. seems you got me
There is an old template custom. But I can’t remember about it. It’s from Nov. 2016.
It seems that this was active on my old NS6, but without any impact, so I forgot about it.
I know that I didn’t us it on the old NS.
But it can only be my own one, so I have to say: IT WAS MY OWN FAULT!
Sorry that I botherd you with that.