[Dnsmasq-discuss] How to NOT bind dnsmasq to lo?

Tim Tassonis stuff at decentral.ch
Thu Jul 11 20:03:13 UTC 2024



On 7/10/24 23:06, Sven Geuer wrote:
> Additionally:
> 
> On Wed, 2024-07-10 at 21:55 +0200, Tim Tassonis wrote:
>> [...]
>> DHCP_OPT="192.168.8.9,192.1688.8.99,255.255.255.0,192.168.8.255,8h"
>> dnsmasq --log-queries --user=dnsmasq \
>>           --dhcp-leasefile=/var/lib/misc/qemu-vde-dnsmasq.leases \
>>           --dhcp-range=$DHCP_RANGE \
>>           --listen-address=192.168.8.1 \
>>           --interface=tap0 --except-interface=lo \
>>           --domain=decentral.ch \
>>           --enable-tftp  \
>>           --dhcp-boot=/var/lib/qemu-vde/pxeboot/pxelinux.0 \
>>           --pid-file=/run/qemu-vde-dnsmasq.pid
>>
>> This works fine, but only if the local dnsmasq is not started.
> 
> Does it? Your setting DHCP_OPT while evaluating DHCP_RANGE, plus, the
> range DHCP_OPT is set to contains an invalid IPv4 address:
> 192.1688.8.99

Well, that was a typo, I do set DHCP_RANGE somewhere else, this here 
obiously doesn't work....





More information about the Dnsmasq-discuss mailing list