Error in relay while using ISC DHCP code????

Glenn Satchell glenn.satchell at
Wed Dec 14 13:41:06 UTC 2011

On 12/14/11 23:56, ameen.shajahan at wrote:
> The below subnet declaration is enough right??
> subnet netmask {
> }
> Otherwise I should change some other parameters inside the subnet
> Because I am new to DHCP.
> Please let me know.
> Regards,
> Ameen S

There is pretty reasonable documentation in the dhcpd.conf man page, 
including examples for subnet definition.

Usually you will need to add:

option routers 20.5.1.x;
range 20.5.1.y 20.5.1.z;

to specify the default gateway for clients in that subnet. This is 
needed so that they can talk directly to the dhcp server for lease 
renewals - these don't go through the dhcrelay, but rather direct to the 
dhcp server.

You need a range of addresses to offer to the client, unless you use a 
host statement to hand out a fixed-address.


More information about the dhcp-users mailing list