Thanks for the replies guys,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">No, no, and no. No range or pool declaration is necessary to serve hosts that have fixed-address statements.<br>

<br></blockquote><div><br>Yeah, I want fixed static addresses - so I have not specified pool or ranges.<br> <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

It should work as posted and it should be automatic.<br>
<br></blockquote><div><br>That's what I thought. I'm not clear on how the DHCP server knows which subnet to use though?  Does it use the the router address of the subnet (where ip helper address is configured)  to determine which subnet the request is coming from?  All requests come in on eth0  but some some "via x.y.10.1"  which is the router address in subnet 10.<br>
One issue might be that the DHCP server is in subnet <span style="font-family: courier new,monospace;">x.y.20.0</span>  and requests for this do not come from a router address  as it's on the same local subnet.<br><br>
<span style="font-family:courier new,monospace"><br><br></span></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In the absence of shared network statements, the fixed-address value used will be the one in the same network as the DHCP relay, or if local, the same network as the DHCP server itself.<br></blockquote><div> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

>From the man-page:<br>
> When dhcpd tries to find a host declaration for a client, it first looks for a host declaration which has a fixed-address declaration that lists an IP address that is valid for the subnet or shared network on which the client is booting. If it doesn't find any such entry, it tries to find an entry which has no fixed-address declaration.<br>

<br>
host declarations are always global, even if written inside some other scope such as a subnet or pool. But option inheritance works as written. This can make it very confusing if you write your host declarations anywhere other than the global scope.<font color="#888888"></font><br>
</blockquote><div><br>So putting the host within the subnet declarations won't make any difference then?<br><br>Regarding the shared-network configuration, I think I might give that a go.<br>Would this be the right config?<br>
<br><span style="font-family: courier new,monospace;">shared-network  MYNETWORK   {<br><br>      subnet x.y.10.0 netmask 255.255.255.0 {<br>                      </span><span style="font-family:courier new,monospace">option subnet-mask 255.255.255.0;</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">                     
option routers x.y.10.1;</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">                     
max-lease-time 600;</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">                     
default-lease-time 600;</span><br><span style="font-family: courier new,monospace;"><br>      host myhost1  { hardware ethernet 00:1C:23:EE:C1:8E;  fixed-address x.y.10.10; }<br>                      } <br><br><br></span><span style="font-family: courier new,monospace;">      subnet x.y.20.0 netmask 255.255.255.0 {<br>

                      </span><span style="font-family:courier new,monospace">option subnet-mask 255.255.255.0;</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">                     
option routers x.y.20.1;</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">                     
max-lease-time 600;</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">                     
default-lease-time 600;</span><br>
<span style="font-family:courier new,monospace"><br>
                      host myhost1  { hardware ethernet 00:1C:23:EE:C1:8E;  fixed-address x.y.20.10; }<br>
                      } </span><br>}<br><br>Thanks<br>Paul<br>
</div></div>