Cisco ASA: DHCP set route

Design & Configure

Cisco ASA: DHCP set route

Technology: Network Security
Area: Firewalls
Vendor: Cisco
Software: 8.X, 9.X
Platform: Cisco ASA

Sometimes you need to define the interface on ASA as that the IP address will be given from DHCP server. But you may ask how to set routing on ASA if you don’t know the next hop IP address? In such case you can use the set route option that sets the next hop for default gateway to gateway address given in a DHCP offer.

ASA#configure terminal
ASA(config)#interface GigabitEthernet1/4
ASA(config-if)#ip address dhcp setroute

Author: Marcin Bialy