Hello,<br><br>I'd like client computers to be able to move between subnets, and get an appropriate IP address specific to that subnet.<br>The
dhcpd.conf says you can have multiple fixed-addresses in the host
entry, and the DHCP server will provide the one which is viable on the
subnet from which the client is requesting a lease from.<br>
<br>I've tried this, but have not had much success in getting it to work.<br>I have two subnets, subnet 10 and subnet 20 <br>Here's what I have. <br><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">subnet x.y.10.10 netmask 255.255.255.0 {</span><br style="font-family:courier new,monospace">
<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 style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
}</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
subnet x.y.20.0 netmask 255.255.255.0 {</span><br style="font-family:courier new,monospace"><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 style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
}</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">host myhost1 { hardware ethernet 00:1C:23:EE:C1:8E; fixed-address x.y.10.10, x.y.20.10;}</span><br><br><br>How
can I ensure that requests from subnet 10 get the x.y.10.10 address,
and requests from subnet 20 get the x.y.20.10 address?<br>
<br>Thanks<br><font color="#888888">Paul</font>