Instructing dhclient to set hostname of client
Harti Brandt
hartmut.brandt at dlr.de
Tue Oct 24 07:16:11 UTC 2006
On Mon, 23 Oct 2006, Joe Holden wrote:
JH>Andrey V. Elsukov wrote:
JH>> Doug Barton wrote:
JH>>> If you're talking about a laptop where you're not sure what the DHCP
JH>>> server is going to send you, then I have this in /etc/rc.local:
JH>>
JH>> Hi, Doug.
JH>>
JH>> What you think about adding a new feature to dhclient - Alternate IP
JH>> Configuration. This configuration can be specified in dhclient.conf
JH>> and take effect when a DHCP server not respond. MS Windows have a
JH>> similar feature.
JH>>
JH>Really I was hoping dhclient would have this sort of functionality where
JH>it would resolve the ip given and set that as hostname, as as far as im
JH>aware, isc-dhcpd will not send hostnames?
Sure it does. On my machines I set hostname to "" in rc.conf and let
dhclient set it. Works fine.
harti
More information about the freebsd-net
mailing list