Solved

ip default gateway command

Posted on 2004-08-15
4
688 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Forwarding web requests to different web servers 15 115
Read-only SNMP string example ? 7 89
Vlan to Vlan communication 9 102
Setting up static routes to  sonicwll 4 29
It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
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…

785 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