From: Ronnie Angello (angello@jlab.org)
Date: Wed Jun 21 2006 - 15:12:23 ART
I actually found a more accurate explanation than what I had on the top
of my head (imagine that). So it's not dependent on whether you are
running an IGP or not, but on whether or not ip routing is enabled.
From the IP routing FAQ on Cisco's website.
http://www.cisco.com/en/US/tech/tk365/technologies_q_and_a_item09186a008012d8f7.shtml#qa7
The ip default-gateway command is used when IP routing is disabled on
the router; however, ip default-network and ip route 0.0.0.0/0 are
effective when IP routing is enabled on the router and they are used to
route any packets which do not have an exact route match in the routing
table. Refer to Configuring a Gateway of Last Resort Using IP Command
for more information.
Ronnie Angello wrote:
> Aamir,
>
> From what I understand...
>
> 'ip default-gateway' should be used when no IGP is running and should
> not be used if you're running an IGP.
>
> 'ip default-network' should be used when an IGP is running and you
> want to set the gateway of last resort.
>
> Ronnie
>
> Aamir Aziz wrote:
>> Hi folks,
>>
>> I could never understand the difference between default-network and
>> default-gateway command even in doc cd its not clear can someone
>> elaborare.
>>
>> Thanks
>> Aamir
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:33 ART