All pastes #163666 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-09-07 19:14 UTC
rendered paste body
# dhcpd.conf

ddns-update-style             ad-hoc;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.1.255;
option routers                192.168.1.220;
option domain-name-servers    192.168.1.220;
option domain-name            "your_domain.org";   # You really should fix this
option option-128 code 128 = string;
option option-129 code 129 = text;


get-lease-hostnames           true;

next-server                   192.168.1.220;
option root-path              "192.168.1.220:/opt/ltsp/i386";

subnet 192.168.0.0 netmask 255.255.255.0 {
    range   192.168.0.100   192.168.0.199;
    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
        filename "/lts/2.6.16.1-ltsp-1/pxelinux.0";
    }
    else{
        filename "/lts/vmlinuz-2.6.16.1-ltsp-1";
    }
}
#
# If you need to pass parameters on the kernel command line, you can
# do it with option-129.  In order for Etherboot to look at option-129,
# you MUST have option-128 set to a specific value.  The value is a
# special Etherboot signature of 'e4:45:74:68:00:00'.
#
# Add these two lines to the host entry that needs kernel parameters
#
#        option option-128     e4:45:74:68:00:00;       # NOT a mac address
#        option option-129     "NIC=ne IO=0x300";
#


i got this error dhcpd startup failed
Sep  7 19:06:31 localhost dhcpd: Internet Systems Consortium DHCP Server V3.0.2
Sep  7 19:06:31 localhost dhcpd: Copyright 2004 Internet Systems Consortium.
Sep  7 19:06:31 localhost dhcpd: All rights reserved.
Sep  7 19:06:31 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Sep  7 19:06:31 localhost dhcpd: Wrote 0 leases to leases file.
Sep  7 19:06:31 localhost dhcpd: 
Sep  7 19:06:31 localhost dhcpd: No subnet declaration for eth0 (192.168.1.220).
Sep  7 19:06:31 localhost dhcpd: ** Ignoring requests on eth0.  If this is not what
Sep  7 19:06:31 localhost dhcpd:    you want, please write a subnet declaration
Sep  7 19:06:31 localhost dhcpd:    in your dhcpd.conf file for the network segment
Sep  7 19:06:31 localhost dhcpd:    to which interface eth0 is attached. **
Sep  7 19:06:31 localhost dhcpd: 
Sep  7 19:06:31 localhost dhcpd: 
Sep  7 19:06:31 localhost dhcpd: Not configured to listen on any interfaces!
Sep  7 19:06:31 localhost dhcpd: 
Sep  7 19:06:31 localhost dhcpd: If you did not get this software from ftp.isc.org, please
Sep  7 19:06:31 localhost dhcpd: get the latest from ftp.isc.org and install that before
Sep  7 19:06:31 localhost dhcpd: requesting help.
Sep  7 19:06:31 localhost dhcpd: 
Sep  7 19:06:31 localhost dhcpd: If you did get this software from ftp.isc.org and have not
Sep  7 19:06:31 localhost dhcpd: yet read the README, please read it before requesting help.
Sep  7 19:06:31 localhost dhcpd: If you intend to request help from the dhcp-server@isc.org
Sep  7 19:06:31 localhost dhcpd: mailing list, please read the section on the README about
Sep  7 19:06:31 localhost dhcpd: submitting bug reports and requests for help.
Sep  7 19:06:31 localhost dhcpd: 
Sep  7 19:06:31 localhost dhcpd: Please do not under any circumstances send requests for
Sep  7 19:06:31 localhost dhcpd: help directly to the authors of this software - please
Sep  7 19:06:31 localhost dhcpd: send them to the appropriate mailing list as described in
Sep  7 19:06:31 localhost dhcpd: the README file.
Sep  7 19:06:31 localhost dhcpd: 
Sep  7 19:06:31 localhost dhcpd: exiting.