Hey everyone. I'm having trouble getting my DCHP server working. I have a Mac G5 with Fedora 9 installed on it. It has two NICs, one is the onboard Apple NIC (eth1), the other is an Intel (eth0).

I'm trying to get it to where eth1 has outside access to the network and get's assigned an IP address by the outside network's DHCP server (which is working fine). I also want a DHCP server to run on eth0 to server the private subnet.

I've got DHCP installed just fine and I'm pretty sure I've got things configured correctly, but when I try and start the DHCP service it fails.

Here's the contents of the configuration files:


# Intel Corporation 82541PI Gigabit Ethernet Controller


ddns-update-style none;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

option domain-name "cslabs.ewu.edu";
option domain-name-servers,;
option subnet-mask;

subnet netmask {
  option routers;
  option broadcast-address;


# Command line options here

Just to note, in /etc/sysconfig/dhcpd, I've tried:




and I still get failure when starting the DHCP service. I've also tried including things like the gateway & netmask and all that stuff in the ifcfg-eth0 file as well.

If anyone has any suggestions, I'd appreciate it.


OK, I got it figured out. I had a bad combination of my subnet number & the netmask. I wasn't aware that they had to match up. Just changed netmask from to and it works fine now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.