[Dnsmasq-discuss] Re: Using Machine Name to Allocate IP Address

Simon Kelley simon at thekelleys.org.uk
Sun Jun 3 20:33:44 BST 2007


Rajeshwar wrote:
> Hi,
> 
>  
> 
> I installed a dnsmasq.conf file successfully. And the DHCP is working 
> fine. My requirement is I want to do MAC based authentication.
> 
>  
> 
> When I tried to give the MAC address = IP Address. Its not taking
> 
> * *
> 
> *Example:*
> 
> * *
> 
> I have 10 computer and 5 laptops in my organization. If somebody will 
> bring the laptop and plug the network cable he will get the IP where he 
> can see all the data. Which Is wrong. The moment he will plug the cable 
> he should not get the IP because the mac address is not in the file.
> 
>  
> 
> So please tell me where and how to configure.
> 

You need to configure the DHCP range for static address allocation only. 
Something like

dhcp-range=192.168.0.1,static


See the man page entry for dhcp-range for more details.


Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list