[K12OSN] Re:dhcpd.conf

Keith Turner (turner@cyberxpress.co.nz)
Wed, 29 May 2002 19:26:49 +1200


This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C20746.CD42AFC0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0002_01C20746.CD42AFC0"


------=_NextPart_001_0002_01C20746.CD42AFC0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Here it goes.  Rip me to bits
 
# Sample configuration file for ISCD dhcpd
#Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
 
 
 
ddns-update-style none;
default-lease-time           21600;
max-lease-time              21600;
 
allow booting;
allow bootp;
 
option subnet-mask                    255.255.255.0;
option broadcast-address            192.168.1.255;
option routers                            192.168.1.21;
option domain-name-servers        192.168.1.21;
option domain-name                   "kendal.school.nz";
option root-path                          "192.168.1.21:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
 
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";
                                    }
 
            }
            
    }
 
# example configurations for specifying specific kernels to specific
clients
 
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";
            
            }
   }
 
 
 
Keith Turner
Principal
Kendal School
Burnside
Christchurch 8005
New Zealand
Ph 64-3-358-4783
Fax 64-3-358-4167
principal@kendal.school.nz
 

------=_NextPart_001_0002_01C20746.CD42AFC0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
























Here it goes.  Rip me to bits

 

# Sample configuration = file for ISCD dhcpd

#Don't forget to set run_dhcpd=3D1 in /etc/init.d/dhcpd

# once you adjusted this = file and copied it to /etc/dhcpd.conf.

 

 

 

ddns-update-style = none;

default-lease-time         = ;  21600;

max-lease-time=        &nbs= p;      21600;

 

allow = booting;

allow bootp;

 

option<= font size=3D2 face=3DArial> subnet-mask       &nbs= p;            = 255.255.255.0;

option<= font size=3D2 face=3DArial> broadcast-address            = 192.168.1.255;

option<= font size=3D2 face=3DArial> routers       &nbs= p;                = ;    192.168.1.21;

option<= font size=3D2 face=3DArial> domain-name-servers        192.168.1.21;

option<= font size=3D2 face=3DArial> domain-name       &nbs= p;           = "kendal.school.nz";

option<= font size=3D2 face=3DArial> root-path       &nbs= p;             = ;     = "192.168.1.21:/opt/ltsp/i386";<= /p>

option<= font size=3D2 face=3DArial> option-128 code 128 =3D string;

option<= font size=3D2 face=3DArial> option-129 code 129 =3D text;

 

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) =3D "PXEClient" = {

        = ;            = ;            = ;            = ;            = ;    filename "/lts/pxe/pxelinux.bin";

        = ;            = ;            = ;    }

else =

        = ;    {

        = ;    filename = "/lts/vmlinuz-2.4.9-ltsp-5";

        = ;            = ;            = ;    }

 

        = ;    }

        = ;   

    = }

 

# example configurations = for specifying specific kernels to specific = clients

 

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=3D8139too";

        = ;    }

 

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=3Dne IO=3D0x280";

        = ;   

        = ;    }

   = }

 

 

 

Keith = Turner

Principal

Kendal = School

Burnside

=

Christchurc= h = 8005

New = Zealand

Ph = 64-3-358-4783

Fax = 64-3-358-4167

principal@k= endal.school.nz

 

------=_NextPart_001_0002_01C20746.CD42AFC0-- ------=_NextPart_000_0001_01C20746.CD42AFC0 Content-Type: application/octet-stream; name="dhcpd.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dhcpd.conf" # Sample configuration file for ISCD dhcpd=0A= #=0A= # Don't forget to set run_dhcpd=3D1 in /etc/init.d/dhcpd=0A= # once you adjusted this file and copied it to /etc/dhcpd.conf.=0A= =0A= ddns-update-style none;=0A= default-lease-time 21600;=0A= max-lease-time 21600;=0A= =0A= allow booting;=0A= allow bootp;=0A= =0A= option subnet-mask 255.255.255.0;=0A= option broadcast-address 192.168.1.255;=0A= option routers 192.168.1.21;=0A= option domain-name-servers 192.168.1.21;=0A= option domain-name "kendal.school.nz";=0A= option root-path "192.168.1.21:/opt/ltsp/i386";=0A= option option-128 code 128 =3D string;=0A= option option-129 code 129 =3D text;=0A= =0A= shared-network WORKSTATIONS {=0A= ddns-updates off;=0A= subnet 192.168.1.0 netmask 255.255.255.0 {=0A= range dynamic-bootp 192.168.1.50 192.168.1.99;=0A= use-host-decl-names on;=0A= option log-servers 192.168.1.21;=0A= if substring (option vendor-class-identifier, 0, 9) =3D "PXEClient" {=0A= filename "/lts/pxe/pxelinux.bin";=0A= }=0A= else {=0A= filename "/lts/vmlinuz-2.4.9-ltsp-5";=0A= }=0A= }=0A= }=0A= # example configurations for specifying specific kernels to specific = clients=0A= =0A= group {=0A= use-host-decl-names on;=0A= option log-servers 192.168.1.21;=0A= =0A= host ws001 {=0A= ddns-updates off;=0A= hardware ethernet 00:50:fc:31:29:46;=0A= fixed-address 192.168.1.2;=0A= filename "/lts/vmlinuz-2.4.9-ltsp-5";=0A= option option-128 e4:45:74:68:00:00;=0A= option option-129 "NIC=3D8139too";=0A= }=0A= =0A= host ws002 {=0A= ddns-updates off;=0A= hardware ethernet 00:00:b4:84:cf:e7;=0A= fixed-address 192.169.1.3;=0A= filename "/lts/vmlinuz-2.4.9-ltsp-5";=0A= option option-128 e4:45:74:68:00:00;=0A= option option-129 "NIC=3Dne IO=3D0x280";=0A= }=0A= }=0A= =0A= =0A= ------=_NextPart_000_0001_01C20746.CD42AFC0-- _______________________________________________ K12OSN mailing list K12OSN@redhat.com https://listman.redhat.com/mailman/listinfo/k12osn For more info see