cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
24139
Views
10
Helpful
3
Replies

How is the "ip classless" command in CLI used?

thatoneshadykid
Level 1
Level 1

This is using Packet Tracer 5.3.1.0044 emulating a Cisco 2811 router.

Apparently, I'm using the command wrong because this is the output I see:

Router1(config)#interface fa0/0
Router1(config-if)#ip classless
                              ^
% Invalid input detected at '^' marker.

I'm trying to set an IP address of 198.133.219.0 for FE 0/0 with a SM of 255.255.255.240 and it says "Bad mask /28 for address 198.133.219.0".

I posted this on Yahoo Answers, but Yahoo is run by immature children who will erase a question that contains any mention of Yahoo not being grander than God Himself.

So what am I doing wrong?

(For the record, this is from CCNA lab 11.5.1.)

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

ip classless is a global configuration command which is the default on all modern IOSes and it doesn't relate to the following message about the bad mask.

Bad mask /28 for address 198.133.219.0

198.133.219.0 is not a host address but a subnet address so it can't be applied to an interface.

Regards.

Alain.

Don't forget to rate helpful posts.

Thank you, I get it now. I'm new to this. So what would I set as the address for the FE 0/0 interface? 198.133.219.14? And would this address also be the default gateway on each computer connected to this network?

Hi,

You can put any address in the subnet, here with a /28 you can put  1 to 14 as last octet.

Yes this must be the default gateway.

Regards

Alain.

Don't forget to rate helpful posts.
Review Cisco Networking for a $25 gift card