Hai Everbody,
I have installed Fedora12(Constantine) Kernel 2.6.32.26-175.fc12.x86_64
dhcp does not start my configuration file is as follows.
default-lease-time 21600;
max-lease-time 21600;
ddns-update-style none;
allow booting;
allow bootp;
option subnet-mask 255.255.255.0;
option broadcast-address 172.31.100.255;
option routers 172.31.100.254;
option domain-name-servers 172.31.100.254;
next-server 172.31.100.254;
option domain-name "ltsp";
option option-128 code 128 = string;
option option-129 code 129 = text;
option option-221 code 221 = text;
shared-network WORKSTATIONS {
subnet 172.31.100.0 netmask 255.255.255.0 {
range dynamic-bootp 172.31.100.101 172.31.100.253;
use-host-decl-names on;
option log-servers 172.31.100.254;
# trick from Peter Rundle <peter.rundle@au.interpath.net>
# newer PPC Macs
if substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC"
{
filename "yaboot";
option vendor-class-identifier "AAPLBSDPC";
option vendor-encapsulated-options 01:01:02:08:04:01:00:00:01:82;
}
# really old ppc iMacs
elsif substring (option option-221, 0, 5) = "Apple"
{
filename "yaboot";
option vendor-class-identifier "AAPLBSDPC";
option vendor-encapsulated-options 01:01:02:08:04:01:00:00:01:82;
}
# Etherboot ELF (only 5.4), should work with Coreboot
elsif substring (option vendor-class-identifier, 0, 13) = "Etherboot-5.4"
{
filename "/ltsp/i386/elf.ltsp";
}
# Etherboot NBI (older clients)
elsif substring (option vendor-class-identifier, 0, 9) = "Etherboot"
{
filename "/ltsp/i386/wraplinux-nbi.ltsp";
}
# PXE
elsif substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
# NOTE: kernels are specified in /tftpboot/ltsp/i386/pxelinux.cfg/
filename "/ltsp/i386/pxelinux.0";
}
# if all else fails (likely BOOTP), default to an NBI image
else
{
filename "/ltsp/i386/wraplinux-nbi.ltsp";
}
# PPC Apple MAC prefixes
https://fedoraproject.org/wiki/Warre...leMACAddresses
# initrd did dhcp again with vendor-client-identifier "nash" so we need another way to set root-path
# This is most likely an incomplete list. You may need to add your own if you have a PPC not covered.
# 00:03:93
# 00:05:02
# 00:0A:27
if binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-3-93" or
binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-5-2" or
binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-a-27" or
binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-a-95" or
binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-d-93" or
binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-11-24" or
binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-14-51" or
binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-30-65" or
binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-50-E4"
{
option root-path "172.31.100.254:/opt/ltsp/ppc";
#option root-path "nbd:172.31.100.254:2001:squashfs:ro";
} else {
option root-path "172.31.100.254:/opt/ltsp/i386";
#option root-path "nbd:172.31.100.254:2000:squashfs:ro";
}
}
}
once i run service dhcpd restart i Get the following
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 leases to leases file.
No subnet declaration for ltspbr0 (172.31.100.254).
** Ignoring requests on ltspbr0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface ltspbr0 is attached. **
No subnet declaration for eth1 (192.168.0.254).
** Ignoring requests on eth1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1 is attached. **
No subnet declaration for eth0 (172.31.100.254).
** Ignoring requests on eth0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
Please report for this software via the Red Hat Bugzilla site:
http://bugzilla.redhat.com
exiting.
Pls suggest corrections on this
Thanking you all in advance.
regards,
venkat