<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Is it actually not working? If so, try separating the fixed addresses into multiple declarations:<br>

<div class="im"><br></div></blockquote><div>Yeah def not working. It's handing out the 20 subnet address to a request from the 10 subnet. <br>I'll try seperating out the host declarations in to two, like you say.<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;"><div class="im">
host myhost1 {<br>
    hardware ethernet 00:1C:23:EE:C1:8E;<br>
    fixed-address x.y.10.10;<br>
}<br>
</div><div>host myhost1 {<br>
    hardware ethernet 00:1C:23:EE:C1:8E;<br>
    fixed-address x.y.20.10;<br>
}<br> 
<br></div></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
</div><div class="im">> 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?<br>

<br>
</div>Yes, for remote subnets. For local subnets, it uses its own network address for the comparison.<br></blockquote><div class="h5"><br>Yes, that makes sense for remote subnets. But for local subnets does it compare it to it's own IP address? <br>
What if there's more than 1 local subnet?<br><br><br></div></div>One other question which is bugging me, is if the lease time is set high, say 1 day,  and a laptop user in subnet 10  walks to another building and plugs in to subnet 20,  their machine still has the 1 day lease from subnet 10. From what I've seen in the DHCP logs, when the laptop starts up again, it doesn't do a DHCPDISCOVER but a DHCPREQUEST for it's subnet 10 address.  At the moment the DHCP sends back a DCHPACK saying yeah, that IP is fine, but it's clearly not, as it won't work in that subnet. What is the expected behaviour? Should it reconfigure itself auto-magically for subnet 20, or does it's lease have to expire, or does the user  have to do a<span style="font-family: courier new,monospace;"> ipconfig /release </span>then<span style="font-family: courier new,monospace;"> ipconfig /nenew</span>  to force it to get it's new subnet 20 IP address?<br>
<br>Thanks for all your help,<br><br>Paul<br><br><br><br>