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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

when to use no ip classless

what are common situations for using no ip classless?

6 REPLIES

Re: when to use no ip classless

Hi!

You use the 'no ip classless' command when your network is not using subnetted IP addressing scheme.

Refer the following link for more -->

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094823.shtml

Please rate all helpful posts.

Regards,

AbhisheK

New Member

Re: when to use no ip classless

NO IP CLASSLESS

the router makes decision as it is classfull if packet destined to 10.10.10.10/16 and 10.10.0.0 is not in it routing table but any 10.0.0.0/8 is in its routing table. the packet will not go to any next hop even if IT HAS DEFAULT ROUTE.

if IP CLASSLESS

the packet move becoz of default route.

This means "no ip classless" does not make decision on the basis of default route if it has to route subnetted network and the routing table contain the major network.

Hope this will help you.

Please rate this if it help you.

Blue

Re: when to use no ip classless

ip classless is used to allow the router to forward packets to supernets. ie: 192.168.2.0/23

packets of ip networks on 'classful' boundries, ie: 10.1.1.0/24 or 172.31.1.0/16, do not require 'ip classless' forwarding.

(this is not true if the default or supernet route is learned via OSPF or ISIS; ip classless behavior is used)

New Member

Re: when to use no ip classless

Hi Matt,

It will helpful when you use default route. That is when the router does't know the path for it uses default route. But if it knows the major class network but not all the subnet, it will not forward the packet to default route and it drops the packet. To avoide this problem we use ip classless, that is ip lookup in the routing table is classless.

Thanks.

C.Senthil

Hall of Fame Super Silver

Re: when to use no ip classless

Matt

I believe that Senthil has given a good answer with some detail focusing on default route. I will suggest a more general answer: unless you have a particular situation that needs classful behavior, it is best to use ip classless.

HTH

Rick

Re: when to use no ip classless

I aggee with Rick...

and in fact the question should be :

When not to use ip classless?

This is a default command now (since ios 11.3), might be a reason for this, right?

Vlad

204
Views
0
Helpful
6
Replies