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

Re: [K12OSN] Re:dhcpd.conf



On Wed, May 29, 2002 at 07:26:49PM +1200, Keith Turner wrote:
> Here it goes.  Rip me to bits

> shared-network WORKSTATIONS {
>             
>             ddns-updates off;
>             subnet 192.168.1.0 netmask 255.255.255.0 {
>                         
>             
>             range dynamic-bootp 192.168.1.50 192.168.1.99;
>             use-host-decl-names on;
>             option log-servers 192.168.1.21;
>                         
>             if substring (option vendor-class-identifier, 0, 9) =
> "PXEClient" {
>                                                             filename
> "/lts/pxe/pxelinux.bin";
>                                     }
> else 
>             {
>             filename "/lts/vmlinuz-2.4.9-ltsp-5";
>                                     }
>  
>             }
>             
>     }


> group  {
>             use-host-decl-names       on;
>             option log-servers        192.168.1.21;
>  
> host ws001 {
>             ddns-updates off;
>             hardware ethernet 00:50:fc:31:29:46;
>             fixed-address 192.168.1.2;
>             filename "/lts/vmlinuz-2.4.9-ltsp-5";
>             option option-128 e4:45:74:68:00:00;
>             option option-129 "NIC=8139too";
>             }
>  
> host ws002 {
>             ddns-updates off;
>             hardware ethernet 00:00:b4:84:cf:e7;
>             fixed-address 192.169.1.3;
>             filename "/lts/vmlinuz-2.4.9-ltsp-5";
>             option option-128 e4:45:74:68:00:00;
>             option option-129 "NIC=ne IO=0x280";
>             
>             }
>    }

your hosts declarations does not belong to a subnet. I am no dhcpd
guru but this does not seem wright. E.g. what netmask is the dhcpd
supposed to give these hosts? See the dhcpd.conf file a included
in a previous letter for a simple working example.

-- 

Hans Ekbrand

Attachment: pgp00010.pgp
Description: PGP signature


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