ip default-gateway and ip route

Unanswered Question
Nov 26th, 2007


what is main difference between ip default-gateway and ip route...as they are for the default gateway functionality...

in which situation i should use ip default-gateway and ip route...



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Kevin Dorrell Mon, 11/26/2007 - 07:00

ip default-gateway is only used when ip routing is disabled. ip route is only used when ip routing is enabled.

Kevin Dorrell


guruprasadr Tue, 11/27/2007 - 04:31

HI Devang, [Do Rate all HELPFUL POSTS]

Refer Link below for more detail:


ip default-gateway


The ip default-gateway command differs from the other two commands. It should only be used when ip routing is disabled on the Cisco router.

ip default-network


Unlike the ip default-gateway command, you can use ip default-network when ip routing is enabled on the Cisco router. When you configure ip default-network the router considers routes to that network for installation as the gateway of last resort on the router.

ip route


Creating a static route to network is another way to set the gateway of last resort on a router. As with the ip default-network command, using the static route to is not dependent on any routing protocols. However, ip routing must be enabled on the router.

Note: IGRP does not understand a route to Therefore, it cannot propagate default routes created using the ip route command. Use the ip default-network command to have IGRP propagate a default route.


Best Regards,

Guru Prasad R

CSCO10758684 Wed, 11/28/2007 - 19:58

hai prasad,

goood one ..cheers .... un4tntly still m not able to rate ...ticket opend with cisco ..they told applecation issue ...tey are investigating the same


guruprasadr Wed, 11/28/2007 - 23:24

HI Lijesh,

No Problem :-) and Do Rate for All Helpful POSTS once the Rating System is activated for your ID.

Best Regards,

Guru Prasad R

symonphares Thu, 11/29/2007 - 07:21

ip default gateway is used on workstations within a given network so as to enable them route packets that are destined to address not within the same network.

While ip route is used to statically assign routes to other routers. Its usually used when one does not intend to use routing protocols especially for very small networks where an administrator can keep track of changing routes


This Discussion