LinuxQuestions.org
Help answer threads with 0 replies.
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 07-03-2005, 08:53 AM   #1
prital
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Rep: Reputation: 15
dhcp configuraion


Hello,
I'm using my linux machine to be dhcp server.
Please, help me to configure it in a way it should not remember the clients, which have just disconnected from it.

The example of my problem is:
...server is up with IPs pool={IP1 ....IP100}
...client1 connects and gets IP100
...client2 connects gets IP99
...cleant1 disconnects
...client3 connects and gets IP98 !!!!!!!!!! My target is that the client3 should get the IP100, because this IP is the first IP-free in the pool.

The only way to solve this problem I've found, is to remove the dhcpd.leases file and to restart the dhspd. The change of dhcpd.conf of "max lease time and default lease time" doesn't change this behaviour.

Please give me you advise.
 
Old 07-03-2005, 09:48 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why would you want it to act like this? that's not the way that dhcp is meant to work. Each client will usually remember what it's last IP was, and ask for that same one with a DHCPREQUEST query to the DHCP server. As DHCP is dynamic, you should never try to build any systems around it, where you trying to maybe keep all existing connections in a single range of IP's...?
 
  


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
DHCP problems - multiple DHCP servers sat86 Linux - Networking 4 10-02-2005 05:43 AM
ADSL DHCP A-OK, but Mandrake 10.1 to be DHCP for other subnet is a problem turnbui Linux - Networking 2 08-20-2005 09:34 AM
dhcp client not getting IP from dhcp server jkmartha Linux - Networking 2 06-17-2005 08:12 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 AM
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

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

All times are GMT -5. The time now is 01:25 AM.

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