DHCP SERVER POOL AND DHCP RELAY COMMIT ERROR IN EX SERIES SWITCH
 

DHCP Server Pool and DHCP Relay commit error in EX series Switches,User cannot configure DHCP Server Pool and DHCP Relay on the same interface in EX series Switches, commit check returns an error, “DHCP Server Pool and Relay can not be configured for this interface.

This error message appears because the switch cannot support both DHCP Relay and BootP on the same interface, RVI (routed virtual interface), or INET interface. This is to prevent DHCP lease conflicts between the DHCP pool and the external DHCP server.
This can be done by moving the bootp configuration to another interface and the configuration will commit and supports both features.

The following configuration samples provide:

  • Problem – DHCP Server Pool and BootP configured for the same interface and then commit check failure.
  • Solution – DHCP Server Pool configured for one interface and DHCP Relay (bootp) configured on a seperate interface

DHCP Server Pool and BootP configured for the same interface and then commit check failure. 
vlans {
V-Router-1 {
vlan-id 10;
l3-interface vlan.10;
}
}
interfaces {
unit 10{
family inet {
address 10.10.10.1/27;
}
}

}
system {
dhcp {
pool 10.10.10.0/27 {
address-range low 10.10.10.4 high 10.10.10.30;
maximum-lease-time 86400;
default-lease-time 86400;
name-server {
10.228.26.40;
10.229.26.40;
}
router {
10.10.10.1;
}
}
}

vlan {
unit 10 {
family inet {
address 10.10.10.1/27;
}
}
}

forwarding-options {
helpers {
bootp {
server 10.20.20.40;
interface {
vlan.10 {
maximum-hop-count 16;
}
}
}
}
}

root# commit check
[edit interfaces vlan unit 10 family]
'inet'
DHCP Server Pool and Relay can not be configured for this interface.
error: configuration check-out failed

DHCP Server Pool configured for one interface and DHCP Relay (bootp) configured on a seperate interface

forwarding-options {
helpers {
bootp {
server 10.20.20.40;
interface {
vlan.20 {
maximum-hop-count 16;
}
}
}
}
}

 

Hope you will like my post.DHCP Server Pool and DHCP Relay commit error in EX series Switches.Please share with others & friends.