I haven't found useful infromation via googling or at the dhcpd.conf man page. When there is useful information it seems to point to a config file that slackware uses or some other distro besides mine
So here's my problem: I want to lease out ip addresses on eth0 in the 192.168.0.255 network. I think I've got everything set up in my dhcpd.conf file:
Code:
#/etc/dhcpd.conf
default-lease-time 172800;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option routers 192.168.0.14;
option domain-name-servers 192.168.0.14;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.250;
}
ddns-update-style none;
ddns-updates off;
When I try to run the dhcpd server it gives me an error saying I need to specify my ethernet card:
Code:
[root@localhost network-scripts]# service dhcpd start
Starting dhcpd: Internet Systems Consortium DHCP Server V3.0.1rc14
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit //////
Wrote 0 leases to leases file.
No subnet declaration for eth1 (128.113.145.186).
** 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]
[root@localhost network-scripts]#
Interface eth1 has a network on it too, which connects to the internet
so my question is... how do i specify which interface to use?