- I have a cisco ASA-5505 configured to route internal network traffic "10.0.50.0/24 via tunnel - gateway IP is 126.96.36.199 with the following:
route inside 10.0.50.0 255.255.255.0 188.8.131.52 1
- I would need to configure the gateway using a Hostname "FQDN" as the hostname IP is always changing, when checked I found that route accepts Hostname:
route inside 10.0.50.0 255.255.255.0 ?
configure mode commands/options: Hostname or A.B.C.D The address of the gateway by which the foreign network is reached.
My problem is each time I add the hostname or any hostname like "host.cisco.com" I received the error ---> ERROR: % Invalid Hostname
DNS is configured and I can ping any host, also created a object network for the hostname and fqdn but still receive the same error
How to configure route using a hostname as a gateway, any examples?