[Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?
五月
allfox at live.cn
Tue Dec 16 05:54:23 GMT 2014
Greetings,
I have a setup in which the DHCP range is 192.168.2.128 to 192.168.2.250, and I manually give some devices an IP in range 192.168.2.1 to 192.168.2.127, using the dhcp-host line. So that I can use the u32 traffic classifier to split traffic streams.It looks working well. Is there some story about why the static address should be in the DHCP range?
――五月
Date: Mon, 15 Dec 2014 14:07:46 -0500
From: aweber at comcast.net
To: dnsmasq-discuss at lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?
ex:
dhcp-host=00:0c:29:ea:0d:a3,192.168.1.199
(so dhcp-host=<MAC_ADDRESS>,<STATIC_IP> )
That MAC address will always be given the same, explicit IP Address
(which should be in the DHCP Range that dnsmasq is responsible for).
-AJ
On 12/15/2014 1:37 PM, Chris Green
wrote:
As per the subject, if I want to give a host a specific IP address
using dnsmasq as DHCP server what's the neatest/easiest way to do it?
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss at lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20141216/a2f2fed6/attachment.html>
More information about the Dnsmasq-discuss
mailing list