[Dnsmasq-discuss] failed to bind DHCP server socket: Address already in use

richardvoigt at gmail.com richardvoigt at gmail.com
Tue Oct 14 02:17:58 BST 2008


On Mon, Oct 13, 2008 at 6:55 PM, Michael Rack
<dnsmasq.list at michaelrack.de> wrote:
> Hi List,
>
> i have two DHCP-Servers / Forwarders running on one machine. My router have
> five interfaces one for LAN, WIRELESS, SERVER, IP-TUNNEL and one for WAN.
>
> On WAN there is running a dhcp-client to assign an official ip-address from
> my ISP. On Wireless and IP-Tunnel runs the DHCP-Forwarder (dhcp-fwd) wich is
> connected to only this two interfaces.
>
> Now i like to setup dnsmasq on the last two interfaces (lan and server). But
> i can not start dnsmasq without the following error-message: failed to bind
> DHCP server socket: Address already in use
>
> My configuration-file like this:
>
> --- SNIP ---
> # Port Settings
> except-interface=lo
> interface=lan
> interface=server
> listen-address=10.10.0.1
> listen-address=192.168.178.1
> bind-interfaces
>
> # Include another lot of configuration options
> conf-dir=/etc/dnsmasq.d
> --- SNAP ---
>
> Why is DNSMASQ listen on all Interfaces? DHCP-FWD is also listen to only the
> defined interfaces (wlan and ip-tunnel).

Please post "netstat -a -p udp" while running only DHCP-FWD and only DNSMASQ.

>
> Thanks in advance,
> Michael
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



More information about the Dnsmasq-discuss mailing list