[Dnsmasq-discuss] serving specific mac/ip addresses only.
Simon Kelley
simon at thekelleys.org.uk
Tue Feb 16 17:51:26 GMT 2010
mlnp scd wrote:
> We use static ips on all our networks, but we have two laptops that
> migrate between networks. Is there a way to enable the dhcp server
> so that it will just serve designated mac addresses as designated in
> the dhcp-host directives?
>
>> From the dnsmasq, it looks like the answer is no; the best that can
>> be done is to serve a single non-mac-specific ip address as below,
>> but I figured I'd ask just to be sure.
>
> Thanks!
>
> from /etc/dnsmasq.conf
>
> # Uncomment this to enable the integrated DHCP server, you need # to
> supply the range of addresses available for lease and optionally # a
> lease time. If you have more than one network, you will need to #
> repeat this for each network on which you want to supply DHCP #
> service. dhcp-range=192.168.0.50,192.168.0.50,12h
This came up once today already.
dhcp-range=192.168.0.50,static
HTH
Simon.
More information about the Dnsmasq-discuss
mailing list