logo       

Re: Handing out host names: msg#00396

network.dhcp.isc.dhcp-server

Subject: Re: Handing out host names

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


On Wed, 2003-01-29 at 13:53, Yedidyah Bar-David wrote:

> > 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.
>

No, actually I thought this happened my default in Red Hat. At a training
session I attended we formatted the computers, reinstalled, and when they
booted up their hostnames were already set.

I couldnt find 'dhcpcd' on my machine but I do have the dhclient-3.0pl1-15
package installed.


-----------------------------------------------------------------------
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