Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Next Hop Using DHCP

I have a question about using static routes with DHCP.

I understand that a static default route pointing to an interface, as the next hop, will generate superfluous ARP entries for every destination. So, with that in mind, will the static route (A) below, produce the same kind of superfluous ARP messages as the static route (B) below?

A. ip route 0.0.0.0 0.0.0.0 dhcp

B. ip route 0.0.0.0 0.0.0.0 fa 0/4

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Next Hop Using DHCP

Using DHCP in your static route will not produce the superfluous ARP entries on your router. I would recommend using ip route 0.0.0.0 0.0.0.0 dhcp over ip route 0.0.0.0 0.0.0.0 fa 0/4.

Having a static route to point to specific IP address is better practice than pointing to interface. Specifically for default route learned from DHCP server (in your case is probably the ISP DHCP server).

HTH,

Mark

3 REPLIES

Re: Next Hop Using DHCP

Using DHCP in your static route will not produce the superfluous ARP entries on your router. I would recommend using ip route 0.0.0.0 0.0.0.0 dhcp over ip route 0.0.0.0 0.0.0.0 fa 0/4.

Having a static route to point to specific IP address is better practice than pointing to interface. Specifically for default route learned from DHCP server (in your case is probably the ISP DHCP server).

HTH,

Mark

New Member

Re: Next Hop Using DHCP

Thanks! That makes sense!

Hall of Fame Super Silver

Re: Next Hop Using DHCP

Michael

I believe that your A static route will not generate the number of ARP entries that the B static route would. It is my understanding that Cisco added the ability to specify dhcp in a static route to address this very issue. The DHCP information typically includes the address of the gateway router and this configuration allows your router to use this learned address so that it does not need to ARP for the next hop address.

HTH

Rick

138
Views
0
Helpful
3
Replies
CreatePlease to create content