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

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


On 12/14/11 23:56, ameen.shajahan at wipro.com wrote:
> The below 20.5.1.0 subnet declaration is enough right??
>
> subnet 20.5.1.0 netmask 255.255.255.0 {
> }
>
>
> Otherwise I should change some other parameters inside the subnet 20.5.1.0
>
> 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.

regards,
-glenn




More information about the dhcp-users mailing list