Technical Note: Cannot reserve IP addresses from the excluded DHCP range
Description
Solution
This article provides a solution to enable the reservation of IP addresses from the excluded DHCP range.
This may be useful when there is a requirement to reserve some IP addresses from the DHCP pool to avoid them being reassigned. If an excluded range has been configured then this can be achieved by using the following solution.
This may be useful when there is a requirement to reserve some IP addresses from the DHCP pool to avoid them being reassigned. If an excluded range has been configured then this can be achieved by using the following solution.
Solution
Reserve IP from the DHCP Pool with bogus MAC Address and change them with the real MAC Address when they need to be used.
config system dhcp server
edit 1
config ip-range
edit 1
set start-ip 192.168.1.1
set end-ip 192.168.1.100
next
end
config system dhcp server
edit 1
config reserved-address
edit 1
set ip 192.168.1.1
set mac 00:00:00:00:00:01
next
edit 2
set ip 192.168.1.2
set mac 00:00:00:00:00:02
next
edit 3
set ip 192.168.1.3
set mac 00:00:00:00:00:03
next
edit 4
set ip 192.168.1.4
set mac 00:00:00:00:00:04
next
edit 5
set ip 192.168.1.5
set mac 00:00:00:00:00:05
next
edit 6
set ip 192.168.1.6
set mac 00:00:00:00:00:06
next
edit 7
set ip 192.168.1.7
set mac 00:00:00:00:00:07
next
edit 8
set ip 192.168.1.8
set mac 00:00:00:00:00:08
next
edit 9
set ip 192.168.1.9
set mac 00:00:00:00:00:09
next
edit 10
set ip 192.168.1.10
set mac 00:00:00:00:00:10
next
end
