No network traffic passing for specific network range on switch
I have an HP network 1820-48G J9981A switch. We have a 192.168.10.0/24 network range on this switch. It has been set with a 192.168.10.10 IP. Prior to this, our network switch was completely vanilla and had no IP configurations.
Now, majority of appliances plugged into this network are on the 192.168.10.0/24 range. However, we have 7-8 devices set to 192.168.9.0/24 range. So now, we are completely unable to get to anything on the 192.168.9.0/24 IP's, as the switch is currently only seeing the 192.168.10.0/24.
My question is, what's the best way now to configure this switch? I don't want to reset it to factory default as we won't have any management. So do I set up VLAN's on all ports? How would you do it?
Or, can I set routing on the switch to say anything on 192.168.9.0/24 network needs to be forwarded on to the 192.168.10.0 gateway?