On Feb 25, 2007, at 6:45 PM, Bray Mailloux wrote:
I've been toying with the DHCP server options but cannot seem to
bring up the process; everytime I run ps there is no dhcpd process
to be found and no computers on my network are pulling down
addresses from the server.
My DHCPD.conf file looks as such.
-bash-3.1# nano /etc/dhcpd.conf
GNU nano 1.2.5 File: /etc/dhcpd.conf
# $OpenBSD: dhcpd.conf,v 1.1 1998/08/19 04:25:45 form Exp $
#
# DHCP server options.
# See dhcpd.conf(5) and dhcpd(8) for more information.
#
# Network: 192.168.1.0/255.255.255.0
# Domain name: none
# Name servers: 68.94.156.1 and 68.94.157.1
# Default router: 192.168.1.1
# Addresses: 192.168.1.20 - 192.168.1.35
#
shared-network LOCAL-NET {
option domain-name "example.com";
option domain-name-servers 68.94.156.1, 68.94.157.1;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
range 192.168.1.20 192.168.1.35;
}
}
And my interfaces are configured as such.
cat /etc/hostname.rl0 < External interface
inet 192.168.1.2 255.255.255.0 NONE
cat /etc/hostname.rl1 < Internal Interface
192.168.1.3 255.255.255.0
nano rc.conf.local reads as such
dhcpd_flags=""
What does /etc/dhcpd.interfaces have in it? This should have the
interface with which you would like to run a DHCP server from.
To manually test that your dhcpd.conf is working try:
# dhcpd rl1
# ps aux | grep dhcpd