Instructing dhclient to set hostname of client

Joe Holden joe at joeholden.co.uk
Mon Oct 23 21:36:02 UTC 2006


Andrey V. Elsukov wrote:
> Doug Barton wrote:
>> If you're talking about a laptop where you're not sure what the DHCP
>> server is going to send you, then I have this in /etc/rc.local:
> 
> Hi, Doug.
> 
> What you think about adding a new feature to dhclient - Alternate IP
> Configuration. This configuration can be specified in dhclient.conf
> and take effect when a DHCP server not respond. MS Windows have a
> similar feature.
> 
Really I was hoping dhclient would have this sort of functionality where
it would resolve the ip given and set that as hostname, as as far as im
aware, isc-dhcpd will not send hostnames?

Ta,
Joe



More information about the freebsd-net mailing list