我正在使用dnsmasq提供DHCP服务的路由器。 从某个时候我的笔记本电脑没有得到分配的IP。 路由器抱怨:
May 13 08:16:01 dnsmasq-dhcp[432]: DHCPREQUEST(br0) 192.168.1.234 86:16:f9:4b:65:27 May 13 08:16:01 dnsmasq-dhcp[432]: DHCPACK(br0) 192.168.1.234 86:16:f9:4b:65:27 monster May 13 08:16:01 dnsmasq-dhcp[432]: not giving name monster.lan to the DHCP lease of 192.168.1.234 because the name exists in /etc/hosts.dnsmasq with address 192.168.1.100 May 13 08:16:01 dnsmasq-dhcp[432]: not giving name monster to the DHCP lease of 192.168.1.234 because the name exists in /etc/hosts.dnsmasq with address 192.168.1.100
现在奇怪的是没有任何笔记本电脑的接口有86:16:f9:4b:65:27 MAC! 而且,如果你将这个MAC粘贴到任何MAC查找器,它会告诉你没有这样的供应商!
做arp -a当然会在我的networking中显示这个MAC,有一次我看到了另外一个86:16 MAC。
那可能是什么意思?
dnsmasq是一个破碎的POS。 您不需要通过计算机上本地托pipe的DHCP服务器有效地路由networkingstream量。 禁用dnsmasq通过注释掉(在之前添加一个#)行dns = dnsmasq in
/etc/NetworkManager/NetworkManager.conf
然后用sudo service network-manager restart重新启动networkingpipe理器
而cat /etc/resolv.conf实际上应该列出你使用的DNS服务器。