设置dnsmasq的问题
其目前的设置如下: # /etc/dnsmasq.conf domain-needed bogus-priv address=/doubleclick.net/127.0.0.1 except-interface=eth0 dhcp-range=interface:eth1,192.168.1.10,192.168.1.127,12h dhcp-range=interface:eth2,192.168.2.10,192.168.2.127,12h log-queries 我有3个网卡,eth0连接到ADSL路由器,eth1连接到无线AP,eth2连接到交换机,其他计算机连接到交换机。 当我尝试启动dnsmasq时,我得到“dnsmasq:无法创build侦听套接字:地址已经在使用中” lsof -i 只显示以下命令:portmap,rpc.statd,smbd,sshd,mysqld,named,samba和apache2。 netstat -antuevp 只显示程序:mysqld,smbd,rpc.statd,portmap,apache2,named,sshd和smbd。 在安装dnsmasq之前,我已经安装了dhcp客户端和服务器,但之后又删除了它。 这是/ etc / network / interfaces如果可以帮助: # /etc/network/interfaces auto lo iface lo inet loopback mapping hotplug script grep map eth1 auto eth0 iface eth0 inet static address 192.168.0.128 netmask 255.255.255.0 auto eth1 iface eth1 inet static […]