fedora, dhcpd fails to start
- by soxs060389
History: I got a tiny shiny plugserver which I want to plug to my ADSL router (or however you want to call it) on one end (eth0), and the other end (eth1) I want to run a dhcp server for my LAN. ATM I am stuck with getting LAN to work. OS is fedora 12. I configured my /etc/dhcp/dhcpd.conf like this:
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
# see 'man 5 dhcpd.conf'
#
option domain-name "unknown.org";
option domain-name-servers 192.168.44.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.44.255;
default-lease-time 86400;
max-lease-time 172800;
subnet 192.168.44.0 netmask 255.255.255.0
{
host fedorabigbox
{
hardware ethernet 00:19:66:8E:61:74;
fixed-address 192.168.44.21;
}
#host mobile
#{
# hardware ethernet ***;
# fixed-address 192.168.44.22;
#}
range 192.168.44.100 192.168.44.110;
option routers 192.168.44.1;
}
# this is just dummy, as read many howtos, some suggesting to add a subnet blah netmask blah for each interface
subnet 192.168.33.0 netmask 255.255.255.0
{
range 192.168.33.100 192.168.33.110;
option routers 192.168.33.1;
}
But the server fails to start when trying to start it via /etc/init.d/dhcpd start
In general it would be nice if someone can point me to a in detail explanation of how network works, I am pretty new to this stuff.
More concrete question: How to point the subnets to eth1 and the other to eth0, how can this be achieved?
Does someone see any errors or flaws? Syntax should be correct, allready checked that with the dhcpd syntax check.
Thanks for any help