why DHCP client not sending own host name in DHCP request packet?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.