Default-network with or without default route ?

Answered Question
Jan 11th, 2009

Is it needed to set a default route, i.e:

ip route ISP_Address or Exit_interface

before issuing a default network command:

ip default-network subnet_number_of_connection_to_ISP

Or it is sufficient enough to let only the "ip default-network ..."?

Correct Answer by Edison Ortiz about 8 years 1 month ago


I wanted to expand on what you wrote.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
badalam_nt Sun, 01/11/2009 - 16:34

Could you give me some more details, as I miss the difference?


1) If a router has an interface declared with IP@ connected to another router with [email protected], what is the difference between:

a)ip route

ip default-network


b)ip default-network

2) If a router has no directly connected interface in the subnet, what is the difference between the 2 cases listed above?

Edison Ortiz Sun, 01/11/2009 - 17:16

As per your example, the second option will only generate a default route when is in the routing table.

The first option is generating a default route with the Quad 0 statement (first line of the command). The second line will only generate a default route if is in the routing table so you need ip route ISP_Gateway for the second line to work as intended.



Please rate helpful posts

badalam_nt Mon, 01/12/2009 - 02:09

I hope I get it right, please correct me if I'm wrong:

1) There is no difference between the cases a) and b), the same router behavior will be observed in both cases

2) Case b) won't work as intended, i.e the default network won't be advertised nor used as a default route. However, it could work but only in case additionally there is a static route (not a default route) towards that default network defined. That is to say for point 2) if we use a default route or a static route together with the "ip default-network" won't make any difference.

Edison Ortiz Mon, 01/12/2009 - 06:10

Basically a conditional advertisement of a default route, the default network command - that is.

It will advertise the Quad 0 to the rest of devices only when the default network is on the router's routing table.

Inserting a Quad 0 statement won't force a default network Quad 0 origination but the static Quad 0 on itself is doing it.

Keep in mind, the default network send the default route advertisement by using an IGP while the static route needs to be manually redistributed into the IGP for advertisement.




badalam_nt Mon, 01/12/2009 - 10:23

Edison, sorry I didn't really catch the exact level is quite basic, just started to read the CCNA books.

Could you please acknowledge/deny directly the statements I made in my previous post?


Correct Answer
Edison Ortiz Mon, 01/12/2009 - 10:29


I wanted to expand on what you wrote.




This Discussion