Showing results for 
Search instead for 
Did you mean: 

Regarding IP default-network


Hi All

Please see the diagram in attachment. Anyone can help me understand the meaning of the question ? What is relation between and ? The correct answer is A and B. The command ip default-network should be followed by instead of, right ?


2 Replies 2


The ip default-network command is used mostly with routing protocols. The ip route command is used with static routing. Both are achieving the same goals but can be used in different scenarios. If you have a routing protocol for a domain, and you would like to advertise to the rest of the routers that a default route, you would implement the ip default-network command. This would cause the routing protocol to carry the candidate for default network in its routing updates to all routers in the domain.


The ip route xx is a command that is statically assigned. This is called a default network because the all-zeros syntax means to catch all routes. The ip route command is not automatically carried in routing updates like the ip default-network command is in some routing protocols. You must redistribute the static command into a routing protocol for it to be carried.



Ashok Kumar
Cisco Employee
Cisco Employee


When you configure ip default-network the router considers routes to that network for installation as the gateway of last resort on the router.

Long story in short is, You understood correctly. 

ip default-network makes the routes candidate default route.

2513#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
2513(config)#ip route
2513(config)#ip default-network


Below is a very good article on this, you must read

Configuring a Gateway of Last Resort Using IP Commands

- Ashok


Please rate the useful post or mark as correct answer as it will help others looking for similar information


Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers