LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-25-2003, 11:18 AM   #1
ms_lyon
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Rep: Reputation: 0
DHCPD problem - no free leases


Hi,

I get this message form my (Suse) DHCP server:
DHCPDISCOVER from x:x:x:x:x via eth0: network 192.168.1.0/24: no free leases

Here is my /etc/dhcpd.conf

ddns-update-style none;

subnet 192.168.1.0 netmask 255.255.255.0 {
host example {
hardware ethernet x:x:x:x:x {
fixed-address 192.168.1.10;
}
}


And the client (the printer) which is configured to get automatically the IP address never gets it!!!

Can anyone help?

Many thanks.
 
Old 02-26-2003, 12:35 AM   #2
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
your file are missing most of the important lines. Here is my file.

#This is my dhcp server setting
default-lease-time 86400;
max-lease-time 86400;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
ddns-update-style ad-hoc;
option domain-name-servers 151.164.14.201,151.164.1.8;
option netbios-name-servers 192.168.1.1;
option domain-name "COJO";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}

It should work for your network. Since, we use the same subnet. You could change the domain name to whatever you want. Let me know if you still need help.
 
Old 02-26-2003, 02:32 AM   #3
ms_lyon
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Original Poster
Rep: Reputation: 0
You didn't understand...
I just want my printer to have a fixed address assigned..I don't want to use range declaration..
 
Old 02-26-2003, 11:52 AM   #4
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
Ok, I guess I don't really understand. If your want a fixed address assigned to your printer. Why don't you manually assign a static IP to your network pritner? Won't that be easier and save your linux box from running an extra process?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCPD no free leases HiOctane21 Linux - Networking 6 10-03-2013 12:21 AM
DHCPD Has No free leases? FishGills Linux - Networking 7 01-24-2009 07:49 PM
find out all free leases from dhcpd saavik Linux - Networking 2 07-27-2005 03:03 AM
dhcpd server leases wont work :( hath Linux - Networking 4 02-21-2002 06:21 PM
dhcpd server not letting go of leases Jase Linux - Networking 10 01-17-2002 06:57 PM


All times are GMT -5. The time now is 09:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration