04-15-2011 04:50 AM - edited 03-04-2019 12:04 PM
Hello,
In IOS 12.x router set the "candidate default" status to the network (set by "ip default-network" command) regardless of the mask. In IOS 15.x this only happen if this network will be classfull network. This is intended effect or bug?
Regards,
Darek
Little update.
Even if router set the "candidate" status, this net doesn't appear as default:
Gateway of last resort is not set
B* 192.168.1.0/24 [20/0] via 172.16.1.1, 00:32:42
And routing work only to the 192.168.1.0/24 network but not to outside of it.
04-15-2011 07:59 AM
Hi Derek,
"ip default-network" command use on the L2 switches. You can use command below L3 switches or routers.
ip route 0.0.0.0 0.0.0.0 x.x.x.x
hth
Muammer
04-15-2011 02:08 PM
The “ip default-network” command has always had to be a classfull address.
-Muammer you correct about the L2 part, but this command has a different effect on L3 devices with routing enabled.
Please Doc; http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094374.shtml
04-18-2011 12:46 AM
Guys,
The problem is, as I wrote above, that even if this command is set and even router prepend this beauty "*" before the prefix, this network isn't set as default. Please see the output once again:
Gateway of last resort is not set
B* 192.168.1.0/24 [20/0] via 172.16.1.1, 00:32:42
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide