Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

what is the difference between the two commands?

what is the different between the command "ip default-network " and " ip route 0.0.0.0 0.0.0.0 s0"?

3 REPLIES
Silver

Re: what is the difference between the two commands?

ip default network says "my default will be where ever I am learning the specified network (classful)". This can change based out routing table and can be multiple links for the next hop if equal cost networks are learned.

IP route 0.0.0.0 0.0.0.0 S0 says " your default is out Serial 0" end of story. As long as Serial 0 is up this route would be installed and taken for all uknown destinations.

Hope this helps,

Don

New Member

Re: what is the difference between the two commands?

i don't know what you mean at all. Can you explain to me in great detail?

Cisco Employee

Re: what is the difference between the two commands?

just to add to the above, "ip default-network" essentially FLAGs an exisiting learnt route (classful) in your routing table as the gateway of last resort. Following URL explains further with en axample;

http://www.cisco.com/warp/public/105/default.html

HTH

R/Yusuf

113
Views
0
Helpful
3
Replies
CreatePlease login to create content