On 02/28/2013 01:32 AM, TJ wrote:
That then leaves the issue of different DHCP relay agents requiring
different command-line parameters. I was looking at the discussion about the
<option> element and wondering if that could have a
dual use here, especially in the name= variety, e.g:
<ip ...>
<dhcp relay='yes' agent='some-agent-we-dont-know'>
<option name="bridge">
<value data="-b"/>
</option>
<option name="interface">
<value data="-i"/>
</option>
<option name="pidfile">
<value data="-r"/>
</option>
</dhcp>
</ip>
No, definitely not. the <option> element is for options in the dhcp
request/response packets, as defined in RFC2132 (and others), other than
coincidentally (because the dhcp options can be specified on the dnsmasq
commandline) it has nothing to do with commandline parameters of any
particular program.