Re: Instructing dhclient to set hostname of client



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
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Instructing dhclient to set hostname of client
    ... What you think about adding a new feature to dhclient - Alternate IP ... and take effect when a DHCP server not respond. ... it would resolve the ip given and set that as hostname, ...
    (freebsd-net)
  • Re: Instructing dhclient to set hostname of client
    ... What you think about adding a new feature to dhclient - Alternate IP Configuration. ... and take effect when a DHCP server not respond. ...
    (freebsd-net)
  • Re: Instructing dhclient to set hostname of client
    ... What you think about adding a new feature to dhclient - Alternate IP Configuration. ... and take effect when a DHCP server not respond. ...
    (freebsd-net)
  • Re: dhcp evils
    ... >> the client's name is stmike, that the server told the client that the ... my dhclient told Cable One's dhcp server that I ... but not a hostname. ...
    (Fedora)
  • Re: mail confusion
    ... The problem is that the hostname of your system is ... The entry for "localhost" is required for TCP/IP networking to work ... One other possibility is that you may have to change your sendmail ... configuration even if you do this. ...
    (Fedora)