[K12OSN] Dhcp problem still....
John T. Leonard
johnny at msad41.us
Wed Feb 23 13:02:29 UTC 2005
Quoting Nathan Sinton <nsinton at gmail.com>:
> Can please you post your /etc/dhcpd.conf and your /etc/sysconfig/dhcpd?
>
>
> On Tue, 22 Feb 2005 13:19:36 -0500, John T. Leonard <johnny at msad41.us>
> wrote:
> > This is my server that was serving IPs to 'outside' machines which are not
> part
> > of my K12LTSP system...now when I try to start dhcp I get the following
> error
> > message...can anyone help me out with this as I'm not quite sure where to
> go to
> > do the editing.....TIA, John
> >
> > [root at aberdeen1 root]# service dhcpd start
> > Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl2
> > Copyright 1995-2003 Internet Software Consortium.
> > All rights reserved.
> > For info, please visit http://www.isc.org/products/DHCP
> > Wrote 0 deleted host decls to leases file.
> > Wrote 0 new dynamic host decls to leases file.
> > Wrote 153 leases to leases file.
> >
> > No subnet declaration for eth0 (0.0.0.0).
> > ** 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!
Yes...here is the entry from /etc/sysconfig/dhcpd.....
# Command line options here
DHCPDARGS=eth0
and here is the entry from /etc/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.
#
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 192.168.0.255;
option routers 192.168.0.254;
option domain-name-servers 192.168.0.254;
option domain-name "ltsp";
option root-path "192.168.0.254:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
shared-network WORKSTATIONS {
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.100 192.168.0.253;
use-host-decl-names on;
option log-servers 192.168.0.254;
# trick from Peter Rundle <peter.rundle at au.interpath.net>
if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
filename "/lts/pxe/pxelinux.0";
# NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
}
else
{
filename "/lts/vmlinuz.ltsp";
}
}
}
# example configurations for specifying specific kernels to specific clients
group {
use-host-decl-names on;
option log-servers 192.168.0.254;
host ws001 {
hardware ethernet 00:E0:06:E8:00:84;
fixed-address 192.168.0.1;
filename "/lts/vmlinuz.ltsp";
option option-128 e4:45:74:68:00:00;
option option-129 "NIC=3c509";
}
host ws002 {
hardware ethernet 00:D0:09:30:6A:1C;
fixed-address 192.168.0.2;
filename "/lts/vmlinuz.ltsp";
option option-128 e4:45:74:68:00:00;
option option-129 "NIC=ne";
}
host ws003 {
hardware ethernet 00:D0:09:30:28:B2;
fixed-address 192.168.0.3;
# kernels are specified in /tftpboot/lts/boot/pxe/pxelinux.cfg/
filename "/lts/boot/pxe/pxelinux.0";
}
}
I have replaced both of the NICs, although I made no changes to either of the
dhcpd files...is this possibly the issue even though no file changes were made?
Penquis Valley HS/MS
48 Penquis Drive
Milo, Maine 04463
Ph:207-943-7346 Ext.211
Ph:207-943-5332
Fax:207-943-0962
More information about the K12OSN
mailing list