Your router has absolutely no way of knowing what netmask a node is using.
If your router is the nornal type with one wan port, a number of lan ports and possibly wifi, sll the lan ports and the wifi is on the same ip subnet, using a netmask of 255.255.255.0 (ie /24). The local subnet in your case seems to be 192.168.0.0/24, uding the address range of 192.168.0.1-192.168.0.255. All devices on this subnet must use the same netmask, otherwise they cannot talk to each other, as the traffic within the subnet isn’t routed.
It is quite possible, that the router from your isp won’t let you change the netmask on the local subnet but that is another thing.
If you are back to using dhcp on you ha node, what does the network settning in the configuration screen say? I am using an rpi4 and for me it states “auto configure. Detected wlan0 (192.168.1.22/23)” (yes i am using a 512 node subnet, hence /23)
If I were to change the ip to a static one, i would have to look in my router to see what addresses the dhcp server controls and choose one ip address outside that range but I still have to set the netmask to /23. If I don’t do both, things will break sooner or later.
For me, the setup is
Fiber into my home, this goes into a “media converter” (ie a switch). The switch has one fiber port and four rj45 ports labeled internet, tv, ip telephony and the ksstbone is unlabeled. The three labeled ports are on three different vlans, and all get their oen external addresses with /32 as netmask (i get only one address). The internet port us then connected to my router, which will acquire an external ip address with the /32 netmask on its wan port, and route the external traffic from the local 192.168.0.0/23 subnet to the wan port.