[Dnsmasq-discuss] Having problems using cmd line --not getting static-route option

kfriedman at syncadence.com kfriedman at syncadence.com
Sat Jun 26 03:32:57 BST 2010


Thanks!  That worked perfectly.

-----Original Message-----
From: "richardvoigt at gmail.com" <richardvoigt at gmail.com>
Sent: Thursday, June 24, 2010 10:44pm
To: kfriedman at syncadence.com
Cc: dnsmasq-discuss at lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Having problems using cmd line --not getting static-route option

On Thu, Jun 24, 2010 at 11:07 PM, <kfriedman at syncadence.com> wrote:
> Hello,
>
> Hopefully someone can help me out.  I'm running dnsmasq version 2.55 on
> linux 2.6.28
> Starting it with a command line argument in the following fashion (I split
> up the line for easier reading)
>
> /usr/local/sbin/dnsmasq -o -f -b -D --clear-on-reload -Q 2007 -i eth0
> -F interface:eth0,set:eth_intf,192.168.13.100,192.168.13.150,60
> --dhcp-option=tag:eth_intf,option:static-route,192.168.13.31,192.168.13.31
>
> The DHCP gets served up fine but wireshark does not show the static-route
> option getting served up.  If I understand correctly, any
>
> Any ideas?

From the man page:

--dhcp-option-force=[tag:<tag>,[tag:<tag>,]][encap:<opt>,][vi-encap:<enterprise>,][vendor:[<vendor-class>],]<opt>,[<value>[,<value>]]
This works in exactly the same way as --dhcp-option except that the
option will always be sent, even if the client does not ask for it in
the parameter request list. This is sometimes needed, for example when
sending options to PXELinux.


>
> Thanks,
>
> KF
>
>
>
> _______________________________________________
> 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/20100625/9809b71b/attachment.htm 


More information about the Dnsmasq-discuss mailing list