logo       

Re: Handing out host names: msg#00380

network.dhcp.isc.dhcp-server

Subject: Re: Handing out host names

*** From dhcp-server -- To unsubscribe, see the end of this message. ***


On Wed, Jan 29, 2003 at 11:18:26AM -0600, Caleb Groom wrote:
> *** From dhcp-server -- To unsubscribe, see the end of this message. ***
>
>
>
> Server: Red Hat v8.0 with dhcp-3.0pl1-15 installed
> Client: Red Hat v8.0
>
> Here's my /etc/dhcpd.conf, MAC addressed changed to protect the
> innocent:
>
> --
> ddns-update-style none;
> subnet 192.168.1.0 netmask 255.255.255.0 {
> option domain-name-servers 192.168.1.200;
> option routers 192.168.1.1;
> option subnet-mask 255.255.255.0;
> option domain-name "mydomain.org";
>
> range 192.168.1.10 192.168.1.50;
> next-server server.mydomain.org;
>
> host server {
> hardware ethernet XX:XX:XX:XX:XX:00;
> fixed-address 192.168.1.200;
> }
> host client {
> hardware ethernet XX:XX:XX:XX:XX:01;
> fixed-address 192.168.1.201;
> }
> }
> --
>
> When "client" boots up it's being assigned the 192.168.1.201 IP address
> so I know I have the correct MAC address entered, however, it's hostname
> is not being set to client.mydomain.org. It stays
> localhost.localdomain.
>
> What am I doing wrong?

Are you sure your dhcp client tries to change the hostname?
For example, dhcpcd's default is not to, unless given the '-H' option.

>
> --
> Caleb Groom <caleb@xxxxxxxxxxxxxx>
>
>
> -----------------------------------------------------------------------
> List Archives : http://www.isc.org/ml-archives/dhcp-server/
> Unsubscribe : http://www.isc.org/dhcp-lists.html
> -or- : mailto:dhcp-server-request@xxxxxxx?Subject=unsubscribe
> -----------------------------------------------------------------------

Didi


-----------------------------------------------------------------------
List Archives : http://www.isc.org/ml-archives/dhcp-server/
Unsubscribe : http://www.isc.org/dhcp-lists.html
-or- : mailto:dhcp-server-request@xxxxxxx?Subject=unsubscribe
-----------------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise