Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm back today, because I can't do a trick that is simple to do on Debian. Indeed, I'm using a RHEL 5.3 server as a DHCP client on Windows Domain. To be able to correctly reach it form my windows clients, I'm trying to set it to be able to gently send it's hostname to the windows DHCP.

On my Debian bow, it's quite easy, I just have to edit my dhclient.conf file and add the two following options:

1°/- send host-name "server.domain.tld";

2°/- send fqdn.server-update on;

Now I try to do the trick on my RHEL, but unfortunatly there is no dhclient.conf file and I can't find anything about those two options or their equivalent on RHEL Network-script style.

So, if anyone can lead me on this problem, it will be greatly appreciated ;-)

share|improve this question
add comment

1 Answer

Couldn't you just create the dhclient.conf file and let RHEL do its thing?

If not, /etc/sysconfig/network-scripts/ifcfg-eth0 should work if you add there

DHCP_HOSTNAME="yourhost.yourdomain"

value.

share|improve this answer
    
Indeed, RHEL dhclient is just named differently, I've finally found it after some googling. DHCLIENT binary provided by RedHat is the same than for Debian, excepted that you have to look for a file named dhclient-ethx-config.conf and then add the precedent directives right on it ;-) So, I guess that I can close this topic. I've done what I was looking for, with your help and a little bit of more deeper search. Once again, thanks a lot ServerFault's community ;-) –  Dr I May 9 '12 at 19:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.