This article explains how to exclude IP addresses from an IP pool & how to configure static binding (IP to MAC) on DHCP server
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.
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:00set access address-assignment pool vlan200-pool family inet host buttercup1 ip-address 192.168.25.10 hardware-address 00:00:00:00:00:aa:01set access address-assignment pool vlan200-pool family inet host buttercup2 ip-address 192.168.25.10 hardware-address 00:00:00:00:00:aa:02set 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
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.3set access address-assignment pool pool1 family inet range range1 high 199.51.100.15set access address-assignment pool pool1 family inet range range2 low 199.51.100.30set access address-assignment pool pool1 family inet range range2 high 199.51.100.40