Default Route via DHCP on an ASA 5505

I finally got my ASA 5505 up and running at the house, but I ran into a little problem — the box wouldn’t add the DHCP-provided default route into its routing table.  That one threw me for a loop since the box is made for SOHOs, but it makes sense in some corporate, lazy way.

I got an IP from the DHCPD on the 5505, but I couldn’t get to the Internet.  I checked the console, and it had an IP from the provider, so I checked ACLs; those were fine.  I looked at the log and found this.

%ASA-6-110002: Failed to locate egress interface for UDP from inside:x.x.x.x/1028 to y.y.y.y/53 

I had no clue what this really meant until I checked the routing table; there was no default route at all.  For some reason, the ASA 5505 was ignoring the default route from the DHCP server upstream.  The fix?  Assuming your outside interface is VLAN 1, just do this.

interface Vlan1
ip address dhcp setroute

The box will go out and get the DHCP default route by itself, so no need to shut/no shut.

Aaron Conaway

I shake my head around sometimes and see what falls out. That's what lands on these pages.

More Posts

Follow Me:
Twitter

9 comments for “Default Route via DHCP on an ASA 5505

  1. shines
    March 24, 2008 at 9:53 am

    That ASA sounds like it really rocks! where’d you get it and how much was it?

  2. March 24, 2008 at 8:34 pm

    My Cisco partner got it for me as a thank you. 🙂

  3. John
    May 8, 2009 at 2:14 pm

    Thanks Aaron, this was very helpful!

  4. July 21, 2009 at 1:58 pm

    Interesting note also is the “ip address dhcp setroute” command creates a static default route. If you are running EIGRP you will need to use the redistribute static command to propagate to other devices.

  5. Mendez
    May 31, 2013 at 3:37 am

    Thanks man!!

  6. FYIunRE
    April 23, 2014 at 8:38 am

    Hey, why isn’t this ASA installing a route?

    Google led me here, this was exactly what I needed.

    Thank you Aaron!

  7. Matthew Yauch
    December 29, 2015 at 5:39 pm

    A new network admin just getting my hands on my first ASA, no default route, found the answer here! Thanks for the quick tip.

  8. mike
    August 18, 2016 at 11:08 am

    Thanks for the info…. It saved me some time.

    M

Leave a Reply

Your email address will not be published. Required fields are marked *