ASA NAT with DHCP assigned IP address on the outside interface

If the outside interface of an ASA is assigned an IP address using DHCP, it is still possible to configure dynamic NAT translation using that interface as the outside interface. This can be done using the following command:

nat (inside,outside) source dynamic internal_addresses interface

where

  • the internal_addresses is an object or ACL that specifies the internal address pool to be translated
  • the interface keyword is used to specify that the IP address of the outside interface should be used for translation

Links:

https://www.cisco.com/c/en/us/td/docs/security/asa/asa84/configuration/guide/asa_84_cli_config/nat_objects.html#pgfId-1455942

https://www.cisco.com/c/en/us/td/docs/security/asa/asa-cli-reference/I-R/asa-command-ref-I-R/n-commands.html#wp3072050573

https://forum.networklessons.com/t/cisco-asa-dynamic-nat-configuration/813/56?u=lagapides