[Dnsmasq-discuss] Dnsmasq as dhcp relay agent for another dnsmasq server

Simon Kelley simon at thekelleys.org.uk
Wed Jul 30 22:32:20 BST 2014


On 29/07/14 11:08, Prashant wrote:
> Hi,
> 
> I am trying to use one Dnsmasq to forward dhcp request to other dnsmasq
> server , But how should I configure it.
> 
> For relay agent , I tried with,
> 
> --dhcp-relay=<local address>,<server address>*
> 
> *as mentioned here,
> http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
> 
> But the its saying it is invalid option , even dnsmasq --help is not
> having such options.

What version of dnsmasq do you have? That link gets you the man page for
the latest release, if you have an earlier release, it may not have the
DHCP relay code. The DHCP relay feature was added quite recently.



Cheers,


Simon

> 
> On server side I have following configuration,
> 
> listen-address=192.168.56.1
> dhcp-range=192.168.40.2,192.168.40.254,255.255.255.0,12h
> dhcp-leasefile=/tmp/dnsmasq.leases
> 
> Please let me know, in case anything wrong I am doing.
> 
> Thanks,
> Prashant
> 
> 
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list