Description

This article explains how to exclude IP addresses from an IP pool & how to configure static binding (IP to MAC) on DHCP server

Symptoms

In some scenarios, network administrators may need to exclude certain IP or need to bind IPs to MACs address from a DHCP pool. In ELS devices, the exclude keyword was removed, hence the exclusions of addresses is not as intuitive as in a legacy configuration.

Solution

Create Static bindings:
set access address-assignment pool vlan200-pool family inet host buttercup ip-address 192.168.25.10 hardware-address 00:00:00:00:00:aa:00
set access address-assignment pool vlan200-pool family inet host buttercup1 ip-address 192.168.25.10 hardware-address 00:00:00:00:00:aa:01
set access address-assignment pool vlan200-pool family inet host buttercup2 ip-address 192.168.25.10 hardware-address 00:00:00:00:00:aa:02
set access address-assignment pool vlan200-pool family inet host buttercup3 ip-address 192.168.25.10 hardware-address 00:00:00:00:00:aa:03

Note: Any addresses configured with a static binding won’t be assigned by DHCP


Create Ranges:

Define a range of addresses in the address-assignment pool. The range is a subset of addresses within the pool that can be assigned to clients. If no range is specified, then all addresses within the pool are available for assignment. Configure the name of the range and the lower and upper boundaries of the addresses in the range:
set access address-assignment pool pool1 family inet range range1 low 199.51.100.3
set access address-assignment pool pool1 family inet range range1 high 199.51.100.15
set access address-assignment pool pool1 family inet range range2 low 199.51.100.30
set access address-assignment pool pool1 family inet range range2 high 199.51.100.40

Former Article Id

NA

Modification History

#2023-06-09: Changes_format, content, titile & category

Related Information