[Dnsmasq-discuss] Problem listening on only one interface

Simon Kelley simon at thekelleys.org.uk
Wed Nov 18 20:46:33 GMT 2009

Ejner Fergo wrote:
> Hola all,
> I'm a happy dnsmasq user for a couple of years now, though it is first
> now I turn to this list to hopefully get some help.
> I run dnsmasq on a server with 6 NICs, where 'eth0' talks to the
> outside world and 'eth1' is for the local network. The last 4 is
> bonded into 'bond0'.
> My problem is I only want to have 'eth1' to listen/respond to DNS/DHCP
> requests, but no matter which option I use (interface,
> except-interface, listen-address) the setup breaks and the
> workstations can't get an address. If all these options are commented
> out, everything works just fine but some workstations see 'bond0' as
> the nameserver instead of 'eth1'.
> Looking at /var/log/messages on the server shows that it is random
> whether 'eth1' or 'bond0' is used, for example:


Could you send the output from these two commands, please?

cat /proc/net/bonding/bond0
ip addr show



More information about the Dnsmasq-discuss mailing list