<$BlogIt
Hi,

I have installed dhcp on Suse 11.0 and configured but it doesn't work.. I get error mesages.. Messages are below..

linux-dobj:~ # /etc/init.d/dhcpd start
Starting DHCP server Internet Systems Consortium DHCP Server V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.

No subnet declaration for eth1 (192.168.1.1).
** 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. **

Not configured to listen on any interfaces!

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
failed
This error is very bad but i solved... I write this solution as step by step
* never ever don't use /etc/init.d/dhcpd start
1- you should be configure dhcpd.conf -- /var/lib/dhcp/etc/dhcpd.conf
-- for example as subnet : 192.168.1.0;
ddns-update-style none;
ddns-updates off;
authoritative ;
log-facility local7;
default-lease-time 36000;
subnet "192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
option domain-name-servers 192.168.1.1;
range 192.168.1.2 192.168.1.200;
default-lease-time 36000;
max-lease-time 36000;
}
2- Must cofigured /etc/sysconfig/dhcpd file
DHCPD_INTERFACE="eth1" -- eth1 is your dhcpd interface!
-- you can see your interfaces via "ifconfig"
3- create dhcp start script.. my way : /root/dhcpdstart.sh

- vi /root/dhcpdstart.sh
- paste are below commands
/sbin/dhcpcd -C -D -K -N -t 999999 -h hostname -c /etc/sysconfig/network/scripts/d
hcpcd-hook eth0
/sbin/syslog-ng -a /var/lib/dhcp/dev/log -a /var/lib/named/dev/log
/usr/sbin/dhcpd -chroot /var/lib/dhcp/ -lf /db/dhcpd.leases -user dhcpd -group n
ogroup eth1
eth1 is my dhcp interface..
- save via ":wq" and exit vim window...

that's it!!

now you can try start via our satart script;
/root/dhcpdstart.sh
does work your dhcp? else let me know...

Etiketler: , ,

class="post-footer"> by <$BlogItDavut Topcanref="<$BlogIthttp://davuttopcan.blogspot.com/2008/08/no-subnet-declaration-for-ethx-error.html"permanent link"><$BlogIt08:57>

<$BlogIt0r!:

<$BlogItYorum Gönder

yazar hakkinda

Merhabalar, ben Davut Topcan

Buraya eminim ki bir sürü şey yazacağım ancak şimdi tasarımı tamamlamalıyım..!

eski yazılar