[Dnsmasq-discuss] dhcp-option=121 doesn't seem to work
Simon Kelley
simon at thekelleys.org.uk
Sat Dec 22 16:22:44 GMT 2007
Guennadi Liakhovetski wrote:
> [OT] here, mainly concerns dnsmasq's client - dhclient.
>
> On Thu, 20 Dec 2007, Simon Kelley wrote:
>
>> Basically, dhclient does everything via those scripts, so if there isn't
>> shellcode in the script to take the information from option 33 or option 121
>> and call "route" then it won't work.
>
> Hm, really everything? Basic standard functions seem to be implemented
> internally, right?
I'm in danger of claiming more knowledge than I have, but on this
system, running Ubuntu and using dhclient, there's a big script in
/sbin/dhclient-script which does all stuff, include ifconfig and route.
Maybe that's an Ubuntu or NetworkMananger thing, but the copyrights at
least imply that it's derived from a generic script.
> In my installation I have no scripts (except debug) and
> most functions do work. So, perhaps, one would expect "all" _standard_
> functions to be implemented internally, like configuring the routing.
/sbin/dhclient-script seems to be a master script which invokes the
directories full of small, package-supplied ones.
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list