[Dnsmasq-discuss] Listen to two interfaces?

Simon Kelley simon at thekelleys.org.uk
Mon Nov 29 21:48:48 GMT 2010


On 28/11/10 18:59, Markus Bergholz wrote:
> Hi
> is it possible that dnsmasq is listning to two interfaces (without
> bridge-utils!), so that they using same dhcp server?

It is.
>
> That what my config atm looks like.
>
> interface=eth0
> listen-address=127.0.0.1
> bind-interfaces
> dhcp-range=192.168.1.2,192.168.1.99,12h
> dhcp-option=3,192.168.1.1
> resolv-file=/etc/resolv.conf.dnsmasq
> log-queries
> cache-size=150
>
> just interface=eth0,wlan0
> don't work for me, the client don't get an ip-adress.
>
You need two dhcp-range lines,  for each interface and network.

HTH

Simon.




More information about the Dnsmasq-discuss mailing list