<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Fixed addresses should NOT be in any range. It's possible for
DHCP to assign that address<br>
before the device with that fixed address gets it.<br>
<br>
BTW, your subnet and addresses are not in the RFC 1918 range.
<a class="moz-txt-link-freetext" href="https://tools.ietf.org/html/rfc1918">https://tools.ietf.org/html/rfc1918</a><br>
</p>
<pre class="newpage">The Internet Assigned Numbers Authority (IANA) has reserved the
following three blocks of the IP address space for private internets:
10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
</pre>
<p>You are using public addresses on your private network.<br>
<br>
Bill<br>
</p>
<div class="moz-cite-prefix">On 12/30/2020 7:57 AM, Michael Schnyder
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:FB99777C-FF31-419B-99DB-695FC2C0850D@open-systems.com">
<pre class="moz-quote-pre" wrap="">Hi
Need to have an answer for correct configuring / assigning fixed ip addresses:
We defined a while ago our "best practice" to configure a fixed address definition outside the dhcp range:
-------------- example
subnet 172.1.2.0 netmask 255.255.255.0 {
range 172.1.2.10 172.1.2.50;
option routers 172.1.1.1;
default-lease-time 21600;
}
# Fixed Address 1
host abc {
hardware ethernet ab:c2:33:22:66:44;
fixed-address 172.1.2.51; ### <- ip is NOT within the range 172.1.2.10 172.1.2.50;
}
# Phone Fixed Address
host cde {
hardware ethernet cd:e2:33:22:66:44;
fixed-address 172.1.2.52; ### <- ip is NOT within the range 172.1.2.10 172.1.2.50;
}
------------- example end
For me it's unclear why we should define it like that and unfortunately, I could not find yet an answer in the manual (also see [1]), therefore my question:
Is it mandatory that a "fixed" ip address is part of the range?
Or is it mandatory that it is _explicitly not_ part of the defined range?
Or does it matter at all? Can I define within the subnet whatever ip address I would like to?
[1] <a class="moz-txt-link-freetext" href="https://kb.isc.org/docs/isc-dhcp-41-manual-pages-dhcpdconf#RESERVED%20LEASES">https://kb.isc.org/docs/isc-dhcp-41-manual-pages-dhcpdconf#RESERVED%20LEASES</a>
Thanks for your tipps.
Kind regards
michael
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at <a class="moz-txt-link-freetext" href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
</body>
</html>