DHCP set route

    Sometimes we need to define the interface on ASA so that the IP address will be given from DHCP server. Also we may need to set routing on ASA if the next hop IP address is unknown?

    In such case we can use the set route option that sets the next hop for default gateway to gateway address given in a DHCP offer. For example

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

    We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.