All pastes #448237 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-19 15:08 UTC
rendered paste body
ddns-update-style none;

subnet 10.0.58.0 netmask 255.255.255.0 {
        authoritative;
        option routers                  10.0.58.1;
        option subnet-mask              255.255.255.0;

        option domain-name              "example.com";
        option domain-name-servers      10.0.58.2;

        option nis-domain "nisserver.example.com";
        option nis-servers 10.0.58.2;
        option ntp-servers 10.0.58.2;

        #next-server 10.0.58.7;
        #filename "pxelinux.0";

        class "pxeclients" {
                match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
                next-server 10.0.58.7;
                filename "pxelinux.0";
        }

        class "xenhosts" {
                match if substring(hardware, 1, 3) = 00:16:3e;
        }

        pool {
                allow members of "xenhosts";
                range 10.0.58.95 10.0.58.138;
                default-lease-time 7200;
                max-lease-time 14400;
        }

        pool {
                deny members of "xenhosts";
                range dynamic-bootp 10.0.58.205 10.0.58.254;
        }

        host sample {
                hardware ethernet 00:C0:9F:41:87:AA;
                fixed-address 10.0.58.7;
        }

}