LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-09-2005, 06:09 AM   #1
sonika_singhi
Member
 
Registered: Oct 2004
Location: india
Distribution: fedora core
Posts: 34

Rep: Reputation: 15
Unhappy pls help me


we are building dhcp server,
the problem is we are unable to detect DHCP-DECLINE AND DHCP-RELEASE
message types packets from the client.
what may b the problem.
we run the ethereal on the server to detect those packets, but the client is not sending these packets at the time of its shutdown.
We are able to detect DHCP-DISCOVER and DHCP-REQUEST packets from the same client but not DHCP-release from client and dhcp-decline from server.

pls help,
its urgent
thanx in advance
 
Old 03-10-2005, 03:21 AM   #2
dylants
Member
 
Registered: Oct 2003
Location: Bath UK
Distribution: RedHat 7,9 RHEL 2.1-4 Suse 9.1, 9.2, Ubuntu, Centos 3-4, Fedora 3-5
Posts: 44

Rep: Reputation: 15
dhcp server help

Perhaps the clients are not sending these messages. I believe that some clients do not do this, so as a dhcp server you have to leave the ipaddress allocated until the lease expires.

Have you got access to the clients? Can you install a packet sniffer on the clients?

Is it possible to look for another lease request from a device with the same mac address and if you get one then delete the old lease?

HTH

Dylan
 
Old 03-13-2005, 11:44 PM   #3
sonika_singhi
Member
 
Registered: Oct 2004
Location: india
Distribution: fedora core
Posts: 34

Original Poster
Rep: Reputation: 15
Angry thanx but...........

how the server comes to know that client is not in need of the ip-add further-if it is not sending DHCPrelease packet
how to know that?

yes, we do run ethereal at client side but unable to detect those packets.

what may b the reason that the client is not sending those dhcpreleases

pls elaborate any solution if u have
its urgent
 
Old 03-14-2005, 03:20 AM   #4
dylants
Member
 
Registered: Oct 2003
Location: Bath UK
Distribution: RedHat 7,9 RHEL 2.1-4 Suse 9.1, 9.2, Ubuntu, Centos 3-4, Fedora 3-5
Posts: 44

Rep: Reputation: 15
As I recall that is just the way that their dhcp clients have been programmed! If they're not sending a dhcp release then (in my opinion) you have to assume that the lease is still in use until the lease expires.
Does the rfc for dhcp state anything about this issue?

If you are running ethereal on the client and you can see the dhcp request and discover packets but not the release and decline packets then I would think that that is a very good indication that the client is not sending these responses.

Dylan
 
Old 04-13-2005, 03:07 AM   #5
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
From my understanding DCHP Servers work this way for a reason. You set a release time of say 24 hours. (usually a longer period of time like 3 days) and that way you are not assigning a different IP address every day. It makes life easier for all involved I think.

Why you need to know when its released? whats the purpose of that?
 
  


Reply



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
Help! Pls! Yull29m Linux - General 2 02-03-2005 12:57 PM
Can someone pls help me pancake Linux - Newbie 3 04-13-2004 12:22 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM
.pls Chazb Linux - Software 1 07-02-2003 07:49 PM
More C help pls The Bag Programming 6 03-11-2002 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration