Router won't take 16bit subnet on IP address assignment

This is a new config.  Can't get past the address assignement.

Why do the 8 bit and 24 bit subnet masks work but the 16 bit mask errors.

The IOS ver is a little old so I am going to update and see if that works but if you have other ideas please share them

IOS (tm) 2500 Software (C2500-I-L), Version 11.2(18)

router#
router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#int e0
router(config-if)#ip address 97.0.1.3 255.255.0.0
Bad mask /16 for address 97.0.1.3
router(config-if)#ip address 97.0.1.3 255.0.0.0
router(config-if)#ip address 97.0.1.3 255.255.255.0
everythingbutthemooAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JFrederick29Commented:
Use the "ip classless" command, it is enabled by default in IOS versions 12.0 and higher but disabled by default in previous IOS's (like yours).

router(config)#ip classless
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JFrederick29Commented:
Also, enable the following if not already:

router(config)#ip subnet-zero
0
Don JohnstonInstructorCommented:
You're trying to create an all zero's subnet. That's not allowed unless, like JFrederick mentions, you issue the "ip subnet-zero" command.

-Don
0
everythingbutthemooAuthor Commented:
Thanks, that worked.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.