Bug 64298 - DHCP Client does not send hostname to dhcp server
Summary: DHCP Client does not send hostname to dhcp server
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: dhcpcd
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-01 21:26 UTC by BIX Redhat Network Account
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-05-01 21:26:51 UTC
Embargoed:


Attachments (Terms of Use)

Description BIX Redhat Network Account 2002-05-01 21:26:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
The dhcp client in redhat 7.2 running on an intel machine is not sending it's 
hostname to the dhcp server.  Therefore, the client receives an IP address but 
receives as a hostname the default hostname configured for the scope.  I 
inspected my dhcp server's log which contains all the traffic between client 
and server among other things and did not see the hostname passed for my 
redhat machine.  I did a release/renew on my windows XP box and did see the 
hostname being passed.  So for whatever reason the client is not properly 
sending its hostname to the server.  

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Release and/or delete the lease assigned to the client
2. Reboot the client
3. Inspect lease file after client receives address and see that it's hostname 
is not properly registered with the IP it received.
	

Actual Results:  Client received an IP address but the hostname registered for 
it in DNS was the default hostname assigned by the server

Expected Results:  I expected the client to properly send its hostname to the 
dhcp server.

Additional info:

Comment 1 Elliot Lee 2002-05-01 21:43:03 UTC
You need to add a line of the format:

DHCPCDARGS="-h hostname"

to /etc/sysconfig/network

In most situations the server has the correct knowledge of the hostname, and not
the client, thus a default setting that doesn't work in your situation.


Note You need to log in before you can comment on or make changes to this bug.