exclude ip address from dhcp allocation range

  • 14 November 2014
  • 4 replies
  • 477 views

Is there a way to exclude a range/single ip address from "configure vlan dhcp-address-range xxxx - xxxx"
for example: configure vlan vlan_name dhcp-address-range 10.1.1.20 - 10.1.1.254
Can I exclude 10.1.1.60 from being allocated?


4 replies

Userlevel 4
I have the same question
I didn't ever work with EXOS, but I guess you are able to configure static DHCP reservations? If so, just reserve 10.1.1.60 for MAC address aa:11:22:33:bb:cc.

I admit it's a workaround but will prevent duplicate IPs.
Userlevel 6
Ionut,

No, that's not possible. The DHCP server supports only a single continuous range of IP addresses.

The DHCP server implementation was originally meant to provide temporary short-lived IP addresses for Web-based network login, where the final IP address would be provided by a central company-wide DHCP server when the port was moved to the final VLAN.

I have a similar case with one of our customers is asking to exclude a DHCP Ranges:

Network Subnet: 10.0.0.0/20

DHCP Ranges (Required):

    10.0.0.2 - 10.0.4.254
    10.0.6.1 - 10.0.9.254
    10.0.12.1 - 10.0.15.254

DHCP Ranges (Exluded):

    10.0.5.1 - 10.0.5.254
    10.0.10.1 - 10.0.11.254


They had sent me one of their Cisco DHCP configuration which they have already applied in their Lab:

ip dhcp excluded-address 10.0.5.1 10.0.5.254
ip dhcp excluded-address 10.0.10.1 10.0.11.254
!
ip dhcp pool 0
   network 10.0.0.0 255.255.240.0

I wish that Extreme R&D Team that they can add this function especially in EXOS 30.0 or above ...

Reply