Is it possible to allow DHCP Server on some of the interfaces/subinterfaces and DHCP relay agent on other subinterface on a Cisco ASA?
I have a Cisco ASA what is DHCP server for several vlans.
I need MAC address reservation on one. As ASA doesn't support this feature I decided to set on the my Cisco switch.
The switch is connected to the ASA (there is no DHCP server on this subinterface)
IP of the switch is on a different subinterface like MAC reservation (10.50.30.100 interface sun_devices).
When I wish to activate the DHCP relay agent I got the following error message:
asa01(config)#dhcprelay server 10.50.30.100 sun_devices
asa01(config)#dhcprelay setroute sun_admins
asa01(config)#dhcprelay timeout 60
asa01(config)# dhcprelay enable sun_admins
DHCPRA: can't enable DHCP Relay when DHCPD is running on any interface
Use the 'no dhcpd enable <server_ifc>' command
on any interface that has been enabled.
dhcprelay command failed