.
The DHCP range has to cover the entire spectrum of IPs you wish to have: Both reserved and dynamically assigned. The section in my code that says "config exclude-range" will prevent the listed addresses from being dynamically assigned freeing you to use them for reserved or just plain static. This is the only way to do what you want. It works this way in the M$ world as well.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
.
If you want to configure those static IPs at your routers, you can use "exclude-range" for the range. But if you want to assign those IPs statically to routers over DHCP , you need to use "reserved-address" to bind the IPs with MAC addresses. At that time, those IPs need to be a part of "ip-range" for a DHCP pool. You can add another pool in addition to existing pool if you want. It was not clear with your original post.
A router is not something you can (or should rather) assign an IP to, even if reserved.
My two cents.
I wouldn't want the network to fail if the DHCP server goes offline and the router loses its address. (Sorry, can't express sarcasm in a post)
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
I agree. I would never do that myself.
.
Delete the one you already created...
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
.
Exactly.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
.l
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1742 | |
1110 | |
759 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.