LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-30-2012, 06:16 AM   #1
Pemek
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Rep: Reputation: 0
Network manager does not set hostname received from DHCP server


Hi,

My RHEL server do not set hostname which is provided by dhcp server. It still uses the first one I got when I have configured this linux. Problem does not show up if I use ifup/down interface. What could be the reason of such behavior?
I know that hostname is stored in /etc/sysconfig/network, but it should be updated when new name comes from dhcp, right?

P.

Last edited by Pemek; 01-30-2012 at 06:17 AM.
 
Old 01-30-2012, 06:44 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
Quote:
it should be updated when new name comes from dhcp, right?
Evidently not.

From "man dhcpd.conf"
Quote:
It should be noted here that most DHCP clients completely ignore the
host-name option sent by the DHCP server, and there is no way to
configure them not to do this. So you generally have a choice of
either not having any hostname to client IP address mapping that the
client will recognize, or doing DNS updates. It is beyond the
scope of this document to describe how to make this determination.
 
  


Reply

Tags
dhcp, hostname, network manager


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No DHCP offers received when trying to connect to an Open wireless network Adam Jensen Linux - Newbie 6 10-07-2011 03:41 PM
Getting hostname to show up in DHCP network awatts Linux - Networking 2 02-02-2007 11:17 AM
DHCP seems to set hostname = Mac address, doesn't reverse lookup techsimian Linux - Networking 4 08-15-2006 04:11 PM
Networking via HOSTNAME over DHCP network tsphan Linux - Networking 4 12-15-2005 07:42 AM
DHCP hostname not set with a linux client tnine9 Linux - Networking 0 08-09-2005 08:48 AM


All times are GMT -5. The time now is 01:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration