LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 05-28-2005, 04:24 AM   #1
sonika_singhi
Member
 
Registered: Oct 2004
Location: india
Distribution: fedora core
Posts: 34

Rep: Reputation: 15
Question 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.
 
Old 05-28-2005, 04:27 AM   #2
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
are you using some kind of filter or firewall or NAT

These might be a cause
 
Old 05-28-2005, 04:45 AM   #3
sonika_singhi
Member
 
Registered: Oct 2004
Location: india
Distribution: fedora core
Posts: 34

Original Poster
Rep: Reputation: 15
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?
 
Old 05-28-2005, 04:50 AM   #4
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
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
 
Old 05-28-2005, 05:01 AM   #5
sonika_singhi
Member
 
Registered: Oct 2004
Location: india
Distribution: fedora core
Posts: 34

Original Poster
Rep: Reputation: 15
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.
 
Old 05-28-2005, 05:07 AM   #6
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
Can u provide the details of your OS version and if its fedora core it has alot of problems for sure
 
Old 05-28-2005, 05:11 AM   #7
sonika_singhi
Member
 
Registered: Oct 2004
Location: india
Distribution: fedora core
Posts: 34

Original Poster
Rep: Reputation: 15
Ya, I am using FEDORA CORE. What is the problem in it?? can you give me a solution for it?
 
Old 05-28-2005, 05:18 AM   #8
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp client not getting IP from dhcp server jkmartha Linux - Networking 2 06-17-2005 08:12 AM
Redhat DHCP client always request 10.0.0.4? Chowroc Linux - Networking 12 12-30-2004 07:28 AM
Sending hostname along with DHCP request adz Linux - Networking 4 10-23-2003 10:15 AM
*** REVERSE DHCP - Linux assumes ip according client gateway request *** domingo-br Linux - Networking 0 07-01-2003 07:53 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM


All times are GMT -5. The time now is 05:05 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