Solved

ip default gateway command

Posted on 2004-08-15
4
693 Views
Last Modified: 2010-04-17
When would you use the "ip default-gateway" command in a cisco router?  

Do you only use the "ip default-gateway" command it when ip routing is disabled?

Which is better. Having IP routing enabled or defining a default gateway?

How does this differ from gateway of last resort?

Thanks
0
Comment
Question by:dissolved
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
scampgb earned 50 total points
ID: 11804739
Hi dissolved,

The "ip default-gateway" command is used to specify the gateway of last resort.
It's the equivalent of specifying a route to 0.0.0.0

As for the difference between default-gateway and turning off IP routing, they aren't related.

If you turn off IP routing, it does exactly that - and essentially defeats the point of having a router :-)

Does that help?
0
 

Author Comment

by:dissolved
ID: 11804760
thanks man
0
 
LVL 15

Expert Comment

by:scampgb
ID: 11805593
Hi Disolved.

Thanks for the "A" :-)
0
 

Expert Comment

by:tut404
ID: 15094903

I had a cisco soho router, which NAT with my Office internal LAN behind.

on this router, i had placed a command
ip 0.0.0.0 0.0.0.0  <isp_wan_ip>

this will also internet traffic to comes into and go out via my router.

I just order a new sets of 14 LAN ip address, which I will need to conffig  for my LAN


Internet
 |
 |
ATM0 :  210.210.100.82 / 30
cisco router
Ethernet0 : 64.64.100.145 / 28
 |
 |
interface : 64.64.100.146 / 28
Firewall
interface : 192.168.20.1 / 24


The firewall of course will do an NAT for 192.168.20.1 .

But what sort of  ip route i need to put in my cisco router?
or do i need need to use ip default-gateway  command ?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question