DHCP and Printers

Diego, Emil ediego at exchange.sba.miami.edu
Tue Dec 12 19:34:03 UTC 2006


I am running DHCP 3.0.5 on fedora core 4.  I have about 30 network
printers ranging from HP JetDirect boxes to Lanier printers.  I have
setup the DHCP server to assign an IP address to the printer, but I am
running into a problem.  It seems that some of the printers never
acknowledge the IP sent to them from the DHCP server and then tries to
request the ip over and over again.  

Here is some of the dhcp server log for the MAC address of one of my
printers.
Dec 11 10:55:22 moya dhcpd: DHCPDISCOVER from 00:00:74:b2:53:64 via eth0
Dec 11 10:55:22 moya dhcpd: DHCPOFFER on 10.39.5.53 to 00:00:74:b2:53:64
via eth0
Dec 11 10:55:24 moya dhcpd: DHCPDISCOVER from 00:00:74:b2:53:64 via eth0
Dec 11 10:55:24 moya dhcpd: DHCPOFFER on 10.39.5.53 to 00:00:74:b2:53:64
via eth0
Dec 11 10:55:28 moya dhcpd: DHCPDISCOVER from 00:00:74:b2:53:64 via eth0
Dec 11 10:55:28 moya dhcpd: DHCPOFFER on 10.39.5.53 to 00:00:74:b2:53:64
via eth0
Dec 11 10:55:35 moya dhcpd: DHCPDISCOVER from 00:00:74:b2:53:64 via eth0
Dec 11 10:55:35 moya dhcpd: DHCPOFFER on 10.39.5.53 to 00:00:74:b2:53:64
via eth0
Dec 11 11:01:23 moya dhcpd: DHCPDISCOVER from 00:00:74:b2:53:64 via eth0
Dec 11 11:01:23 moya dhcpd: DHCPOFFER on 10.39.5.53 to 00:00:74:b2:53:64
via eth0
Dec 11 11:01:25 moya dhcpd: DHCPDISCOVER from 00:00:74:b2:53:64 via eth0

The only way to get it to work is to enter the IP address onto the
printer which I want to avoid doing.


Here are some of the relevant sections from my dhcpd.conf file
---------------------------------------------------------------
authoritative;
allow bootp;
allow booting;
ddns-update-style ad-hoc;

default-lease-time 10800;
max-lease-time 14400;
shared-network SBA {
  option domain-name "business.edu";
  option domain-name-servers 129.171.56.202, 129.171.56.6;
  option netbios-name-servers 129.171.56.6; #WINS server 11/10/05

        
group { 

 	subnet 10.39.5.0 netmask 255.255.255.0 {
            option routers 10.39.5.254;
        	option subnet-mask 255.255.255.0;
		#
		# Reserve Pool for special events
		#
            pool {
                   default-lease-time 10800;
                   max-lease-time 14400;
                   range 10.39.5.11 10.39.5.20;
                   allow members of "reserve";
            } 		
   	}
}

#Business Law Lanier LD425c Printer
host BSL_LD425c_PRINTER {
        hardware ethernet 00:00:74:B2:53:64;
        fixed-address 10.39.5.53;
}    
-------------------------------------------------------------------
As you can see I am defining a subnet 10.39.5.0-255.  It contains some
printers and a few desktop computers.  There is also a small pool of
reserve addresses I use for sepcial events.  I am assigning the address
10.39.5.53 to the printer, but the printer never seems to get it.
Anyone have any ideas what I am doing wrong ???


Thanks in advance for the help :)


More information about the dhcp-users mailing list