[Dnsmasq-discuss] Simplest working "shared-network" configuration? (was Re: dnsmasq on an IPv4 /32 interface)
john doe
johndoe65534 at mail.com
Sat Jul 10 07:13:13 UTC 2021
On 7/10/2021 7:58 AM, Paul Gear via Dnsmasq-discuss wrote:
> Hi all,
>
> It's been a while since I originally posted about this, and I've done a
> lot of experimenting without landing on a working setup.
>
> I'm trying to get a very simple test case working, where I have a number
> of vnet interfaces, all configured with the link-local address
> 169.254.0.1/16, and have dnsmasq allocate the leases out of a different
> range (in this case, I'm using a portion of the documentation prefix,
> 203.0.113.0/29). Here's my configuration:
>
> pid-file=/var/lib/dnsmasq-vnet/dnsmasq-vnet.pid
> bind-dynamic
> interface=vnet*
> log-dhcp
> no-hosts
> dhcp-range=203.0.113.0, 255.255.255.248, 1d
From (1):
" this dhcp-range MUST include the netmask."
Unless I'm missing something, I don't see a subnet mask being specified.
1) https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
--
John Doe
More information about the Dnsmasq-discuss
mailing list