All pastes #634550 Raw Edit

dhcp

public text v1 · immutable
#634550 ·published 2007-07-26 14:08 UTC
rendered paste body
rdp# pwd && ls
/usr/tftpboot/network-install/tftpboot
chain.c32               initrd-centos4.5.img    menu.c32
deb-initrd.gz           initrd-freebsd6.2       pxelinux.0
deb-linux               mboot.c32               pxelinux.cfg
debian-installer        memdisk
rdp#


rdp# more /usr/local/etc/dhcpd.conf

allow booting;
allow bootp;
ddns-update-style ad-hoc;
option domain-name "rdp.biznesshosting.com";
option nis-domain " rdp.biznesshosting.com";
option domain-name-servers 4.2.2.1;
option option-128 code 128 = string;
option option-129 code 129 = text;

default-lease-time 600;
max-lease-time 7200;



##GH##ignore client-updates;


subnet 192.168.0.0 netmask 255.255.255.0 {
        range 192.168.0.224 192.168.0.254;
        option host-name "imaged";
        option domain-name " biznesshosting.com";
        option broadcast-address 192.168.0.255;
        option routers                  192.168.0.223;
        option subnet-mask              255.255.255.0;
##      option ntp-servers              192.168.0.175;
##      option netbios-name-servers     192.168.0.175 ;

### kickstart test
###     filename "/data/network-install/kickstart/fc2-ks.cfg";
### kickstart test

### PXE test
    filename "/pxelinux.0";
    next-server 192.168.0.223;
host blah {
        filename "/freebsd/pxeboot";
        next-server 192.168.0.223;
        hardware ethernet 00:1a:4d:24:6d:4f;
        option root-path "/data/network-install/freebsd6.2/";
}
### PXE test




# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#       option netbios-node-type 2;


# You can also assign specific IP addresses based on the clients'
# ethernet MAC address as follows (Host's name is "laser-printer":
#       host laser-printer {
#               hardware ethernet 08:00:2b:4c:59:23;
#               fixed-address 192.168.0.223;
#       }

}