Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP Subnet

Status
Not open for further replies.

AZOldDog

Technical User
Dec 19, 2009
20
US
I get an error from dhcpd running Fedora 12 and dhcpd 4.1.1.

"No Subnet Declaration for 10.0.1.1"

I have the following in dhcpd.conf

subnet 10.0.1.1 netmask 255.255.255.0 {
authoritative;
range 10.0.1.100 10.0.1.200;
pool {
range 10.0.1.100 10.0.1.200;
}
}

Which to me appears to be correct. It has to be reading the file or it would not show the correct IP for the subnet I am trying to start.

Any ideas?

This is my first try at dhcp so if it is a rookie mistake feel free to say so.
 
Why do you have the same range defined twice?

I'd remove the pool section unless you're selectively defining options for your clients. And, most importantly, I'd put the authoritative statement outside the subnet section as a global statement.

 
Uh, I was trying to keep my DHCP away from the fixed addresses, guess I overkilled. I will try moving the Authoritative statement to a Global!

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top