difference between ip default gateway & ip default network

Unanswered Question
Dec 18th, 2008

wht is difference between ip default gateway & ip default network ?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
andrew.prince@m... Thu, 12/18/2008 - 03:38

ip default gateway is used when there is no IP routing and you need to pass traffic to a layer 3 device, when the IP address is not on any attached/connected interfaces.

ip default network is used when you do have ip routing enabled, and the device considers the default network as the route to any ip address that is not on any attached/connected interfaces, or in its routing table.


kaustubhchavan Thu, 12/18/2008 - 20:19


can u please give me any example if possible ?

andrew.prince@m... Thu, 12/18/2008 - 21:04

If you have a switch that is layer 3 manageable, and needs access to the internet - you configure the ip default-gateway, as the switch cannot run ip routing.

If you have a router, that is running ip routing, but is not configured to run a dynamic routing protocol, you could configure the ip default-network.

To be honest, I have been in networking for over 10 years, and have never had to use the ip default-network senario. I use the ip default-gateway all the time.


md farook Fri, 12/19/2008 - 06:07

In short, Default gateway need to configure on every router to get path for unknown destination packets.By using Default network command you need to configure only on one router in the network, so other routers can learn the exit gate by using routing protocol which distribute this information to others.

kaustubhchavan Fri, 12/19/2008 - 21:44

Hi Andrew,

but layer 3 switch like 3750 3550 u can give ip routing command then ?

andrew.prince@m... Sat, 12/20/2008 - 02:15

The 3750 and 3550 are MLS - Multi Layer Switches, capable of Layer 2 and Layer 3.

What is your question? What do you want to do exactly?

besjanvata Thu, 05/01/2014 - 15:46

Andrew u seem to have an answer.I have L3 switch with fa0/1 connected with a router on port fa0/0.I gave vlan 1 an ip : gave the fa0/0 of the router an ip of

I want to ping from the switch,the second interface of the router fa0/1 with an ip : the ip default-network could help me.I tried to with the command on switch : ip default-network,so i can ping but it wont ping.Have u an answer for this?


Login or Register to take actions

This Discussion

Posted December 18, 2008 at 1:16 AM
Replies:7 Overall Rating:4.5
Views:5441 Votes:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
Jon Marshall
Reza Sharifi
Giuseppe Larosa
Peter Paluch
Leo Laohoo
Rank Username Points
Jon Marshall
Reza Sharifi
Joseph W. Doherty
Peter Paluch
Bilal Nawaz