[Dnsmasq-discuss] Listen to two interfaces?

Markus Bergholz markuman at gmail.com
Tue Nov 30 15:39:03 GMT 2010


Ok, i've did this


###
log-queries
interface=eth0
dhcp-range=192.168.1.2,192.168.1.99,12h
dhcp-option=3,192.168.1.1
resolv-file=/etc/resolv.conf.dnsmasq
listen-address=127.0.0.1
bind-interfaces
cache-size=150
interface=wlan0
dhcp-range=192.168.1.102,192.168.1.199,12h
dhcp-option=3,192.168.1.101
###

and disable for testing shorewall, it seems that the server deliver
one ip adress from dnsmasq, but it don't receive at the client
http://nopaste.info/73551f0a00.html
in the messages.log from the client dhcpcd is just mentioned in two line.
dhcpcd[1315]: version 5.2.8 starting
dhcpcd[1315]: wlan0: broadcasting for a lease

thats all...any clues?

greetings
markus

On Mon, Nov 29, 2010 at 10:48 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> 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.
>
>



-- 
icq: 167498924
XMPP|Jabber: markuman at jabber.ccc.de



More information about the Dnsmasq-discuss mailing list