Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   Setting hostname with dhcp (http://www.linux-archive.org/red-hat-linux/181361-setting-hostname-dhcp.html)

Cesar Covarrubias 10-23-2008 10:27 PM

Setting hostname with dhcp
 
Hello,

I have a question regarding setting hostnames on servers using DHCP. It
is probably best if I give a background as to what we are doing.

I am setting up a cluster of nodes on a private subnet that boot and
install using PXE. In my dhcpd.conf, I have specified specific MAC
addresses get specific IP addresses. My kickstart is set to use a dns
server on the public network, which obviously doesn't have entries for
the nodes on the private subnet. The problem I am running into is
setting hostnames for these nodes that are on a private subnet.

Does anyone have any suggestions on how to set the hostname on these
nodes without having different kickstart files for each node?

Thanks for all your help.

Very Respectfully,
Cesar Covarrubias

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Cesar Covarrubias 10-23-2008 11:03 PM

Setting hostname with dhcp
 
Hello,

After doing some further reading in the man pages, along with some
testing, I found that I needed to add the use-host-decl-names on;
declaration in dhcpd.conf.

Go's to show that I shouldn't jump the gun and ask a silly question
unless I read the man pages twice over.

Very Respectfully,
Cesar Covarrubias

On Thu, 2008-10-23 at 15:27 -0700, Cesar Covarrubias wrote:
> Hello,
>
> I have a question regarding setting hostnames on servers using DHCP. It
> is probably best if I give a background as to what we are doing.
>
> I am setting up a cluster of nodes on a private subnet that boot and
> install using PXE. In my dhcpd.conf, I have specified specific MAC
> addresses get specific IP addresses. My kickstart is set to use a dns
> server on the public network, which obviously doesn't have entries for
> the nodes on the private subnet. The problem I am running into is
> setting hostnames for these nodes that are on a private subnet.
>
> Does anyone have any suggestions on how to set the hostname on these
> nodes without having different kickstart files for each node?
>
> Thanks for all your help.
>
> Very Respectfully,
> Cesar Covarrubias
>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 10:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.