LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   why DHCP client not sending own host name in DHCP request packet? (https://www.linuxquestions.org/questions/linux-networking-3/why-dhcp-client-not-sending-own-host-name-in-dhcp-request-packet-327908/)

sonika_singhi 05-28-2005 05:24 AM

why DHCP client not sending own host name in DHCP request packet?
 
hi,
everyone

I am implementing a DHCP server and a Dynamic DNS server. In DDNS i want to update the IP address corresponding to host name. Now generally, DHCP client sends it's own IP address to DHCP server. and DHCP server gives message to DDNS server that this host name's IP address is changed.

But the problem is that DHCP client is not sending it's own IP address.
so, my DDNS's table is not updating.

Note: I am using inbuilt DHCP client.

bramhastra 05-28-2005 05:27 AM

are you using some kind of filter or firewall or NAT

These might be a cause

sonika_singhi 05-28-2005 05:45 AM

No, there is no firewall on my DHCP server.
I am getting DHCP request packet from client but in this packet option:12 is for host_name and this option is not sending by client.

Is there any setting needed on DHCPclient machine?

bramhastra 05-28-2005 05:50 AM

Quote:

I am getting DHCP request packet from client but in this packet option:12 is for host_name and this option is not sending by client.
what actually comes at that option can u give a detail, since nothing special to be done with the dhcp client

sonika_singhi 05-28-2005 06:01 AM

DHCP client sending a options like 53(DHCP message type),54(server IP), 50(requested IP) , etc. but not option 12(host_name) in which he is specifying it's own host name. But to implement DDNS it is needed.

bramhastra 05-28-2005 06:07 AM

Can u provide the details of your OS version and if its fedora core it has alot of problems for sure

sonika_singhi 05-28-2005 06:11 AM

Ya, I am using FEDORA CORE. What is the problem in it?? can you give me a solution for it?

bramhastra 05-28-2005 06:18 AM

Well to be exact on it I can provide u a book if u like

and what u need is a patch

To use DHCP on your network, install a DHCP service (or relay agent),
and on clients run a DHCP client daemon. The dhcp package provides
the ISC DHCP service and relay agent.

dhclient-script no longer automatically honors $GATEWAY setting
if present in /etc/sysconfig/network-scripts/ifcfg-* files, but
requires that the DHCLIENT_USE_GATEWAY variable also be set.


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