How do I configure dnsmasq to only assign addresses on eth0, not wlan0?

link|improve this question
3  
Belongs to serverfault... – mosg May 22 '10 at 11:15
feedback

migrated from stackoverflow.com May 24 '10 at 8:45

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 4 down vote accepted

The man page explains it quite nicely. If it's just DHCP you don't want to run on wlan0 then you can use --no-dhcp-interface=wlan0. If you don't want dnsmasq to listen at all on wlan0 then you can use --except-interface=wlan0.

If you only want dnsmasq to listen on eth0 then you can use --interface=eth0.

link|improve this answer
Thanks very much! – Delan Azabani May 25 '10 at 12:14
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.