Re: Difference between these two static default routes?

From: Bill Eyer (beyer@optonline.net)
Date: Fri Aug 22 2008 - 06:58:14 ART


Wilson,

There is enormous difference although in some situations both might
work. The first option:

ip route 0.0.0.0 0.0.0.0 FastEthernet0

Rely's on proxy arp from the next hop router. That will work if the
provider has proxy arp turned on, but otherwise it will not work because
ethernet is a broadcast network type.

The 2nd option:

ip route 0.0.0.0 0.0.0.0 FastEthernet0 dhcp

Instructs the router to listen to default route via DHCP on
FastEthernet0, therefore the router learns the next hop and is not
forced to rely on proxy arp to work.

Sincerely,

Bill

Wilson Chan wrote:
> I stumbled upon the "dhcp" option in setting a default route. Is there a
> difference between the two route statements in the example below and if
> there is which is the preferred way and why? Thanks!
>
>
> interface FastEthernet0
> description ***To ISP***
> ip address dhcp
>
> ip route 0.0.0.0 0.0.0.0 FastEthernet0
> ip route 0.0.0.0 0.0.0.0 FastEthernet0 dhcp
>
>
>
> Wilson
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:31 ART