ip default-gateway works if ip routing is disabled and
the router is basically a host on the network like
your PCs, etc. You would turn IP routing off (no ip
routing) to bridge all traffic for example.
Using ip default-network would let you propagate a
route via IGRP/EIGRP or RIP to a neighbor router also
doing IGRP/EIGRP or RIP and all the rules were met
(IGRP/EIGRP especially - RIP just announces a 0.0.0.0
no matter what ip default-network is pointing to on
the router). ip default-network must use a classful
network address.
ip route 0.0.0.0/0 next-hop will forward traffic to
unknown networks. If you have 'no ip classless' and
your next-hop is a directly connected network the
0.0.0.0/0 route won't be used.
--- "West, Karl" <[EMAIL PROTECTED]> wrote:
> I think what you really wanted to do was use "Ip
> default-network"
> here is a link that will explain it to you further
> and what the difference
> is. It has to do with weather you have ip routing
> enabled on your system.
>
> Karl
> http://www.cisco.com/warp/public/105/default.html
>
> -----Original Message-----
> From: birs [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 15, 2001 5:02 AM
> To: [EMAIL PROTECTED]
> Subject: Ip default gateway
>
>
> Hello
>
> I just had a situation like this:
> I connected a Cisco1750 to Catalist2924, and
> then Catalist2924 to
> Catalist8540 and configured "ip default-gateway
> 10.0.1.1" in
> 1750(10.0.1.1 is the ip of 8540). Then 1750 was
> ping'in only 10.0.1.1
> 255.255.255.240's hosts and no other network in my
> backbone.
> Then I turned "ip default gateway 10.0.1.1" into
> "ip route 0.0.0.0
> 0.0.0.0 10.0.1.1" and my Cisco1750 started pinging
> every ip in my
> backbone.
>
> I will be grateful if anyone explains why "ip
> default-gateway"
> didn't worked and what is the difference between
> these two. Thanks.
>
> Birsen Ozturk
>
> _________________________________
> FAQ, list archives, and subscription info:
> http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to
> [EMAIL PROTECTED]
>
> _________________________________
> FAQ, list archives, and subscription info:
> http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]