Hello Dear,
You have to change the subnet mask so that the third octet changes as well.
I am a professional network engineer and I have a Cisco CCNP certificate. I have great experience in IP addressing
We can discuss it further, let me know if you are interested.
Regards,
Ahmed Fakkar