cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
996
Views
0
Helpful
3
Replies

Different behavior of "ip default-network" in IOS 15.x

mastedarq
Level 1
Level 1

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.

3 Replies 3

mrdogantr
Level 1
Level 1

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

Not applicable

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

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

And by the way in 12.x this command works not only for classfull networks.
I know how this command works, I used it in many implementations in past few years and till now it works fine. Till 15.x...
Review Cisco Networking for a $25 gift card