[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [rhelv5-list] dhcpd issues



 

>>> On Wed, Sep 24, 2008 at  4:20 PM, in message
<86E21A982A7C5249956350A6746108C261B8C6 CHVPKNTXC5M chvpk chevrontexaco net>,
"Collins, Kevin [Beeline]" <KCollins chevron com> wrote: 

> 
> -----Original Message-----
> From: rhelv5-list-bounces redhat com
> [mailto:rhelv5-list-bounces redhat com] On Behalf Of Tony Placilla
> Sent: Wednesday, September 24, 2008 12:15 PM
> To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
> Subject: RE: [rhelv5-list] dhcpd issues
> 
> 
> 
> 
> 
> Tony Placilla <aplacilla jhu edu>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> I don't see:
> 
>>  HOST bkeefe.dkc.jhu.edu { fixed-address 128.220.212.85;
> 
> in the file you sent, which makes it hard to see why this might cause a
> problem :)
> 
> My guess would be that you are putting it inside this block:
> 
> 	subnet 128.220.212.64 netmask 255.255.255.192 {
>         	option routers 128.220.212.65;
>         	option time-servers ntp1.jhu.edu;
>         	option domain-name-servers 120.220.8.20,128.220.8.21;
>         	authoritative;
>         	ddns-updates off;
> 
> 
> } 
> 
> If that is the case, it might be that since you do specify a "range"
> option listing the available DHCP IP addresses for the subnet, you see
> the "no free leases" message when that block is matched.
> 
> In my dhcpd.conf files, I have fixed addresses outside of
> "shared-network" blocks and in a separate "group" block. Something like
> this:
> 
> 
> default-lease-time            21600;
> max-lease-time                21600;
> ddns-update-style             none;
> 
> option subnet-mask            255.255.254.0;
> option broadcast-address      146.27.79.255;
> option routers                146.27.78.1;
> option domain-name-servers    146.27.66.35;
> option domain-name            "chvpk.chevrontexaco.net";
> option root-path              "146.27.79.181:/opt/ltsp/i386";
> 
> shared-network WORKSTATIONS {
>     subnet 146.27.78.0 netmask 255.255.254.0 {
>     range 146.27.79.77 146.27.79.80;
>      }
> }
> 
> shared-network WORKSTATIONS-PRIVATE {
>     subnet 10.0.78.0 netmask 255.255.254.0 {
>     range 10.0.79.79 10.0.79.80;
>     }
> }
> 
> group   {
>     use-host-decl-names        on;
>     option log-servers        146.27.79.181;
>     filename                  "/lts/2.6.20.9-ltsp-1/pxelinux.0";
>     #filename                  "/lts/2.4.26-ltsp-3/pxelinux.0";
> 
>     host cpafiszw {
>         hardware ethernet     90:12:02:50:4E:89;
>         fixed-address         146.27.79.81;
>     }
>     host cpafiszx {
>         hardware ethernet     90:12:02:50:1F:EF;
>         fixed-address         146.27.79.82;
>     }
>     host cpafiszy {
>         hardware ethernet     90:12:02:50:4E:96;
>         fixed-address         146.27.79.83;
>     }
>     host cpafiszz {
>         hardware ethernet     90:12:02:50:4E:9D;
>         fixed-address         146.27.79.84;
>     }
> }
> 
> 
> Hope this helps.
> 
> Kevin
 --snip--

I specify the actual host addresses in separate confs called with an include. Here's the exact entry for that workstation.

	# Beatrice Keefe's Macbook.  
	HOST bkeefe.dkc.jhu.edu { fixed-address 128.220.212.85;
		#option dhcp-client-identifier "bkeefe.dkc";
		option dhcp-client-identifier 00:62:6b:65:65:66:65:2e:64:6b:63;
		#hardware ethernet 00:1c:b3:b5:33:6d ;
		#hardware ethernet 00:1C:B3:B5:33:6D;
		option time-servers ntp1.jhu.edu;
		option routers 128.220.212.65;
	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]