local server with subnetmask 22

hi

i hava more than 254 client so i used subnetmask /22 and now i have mor than 1000 ip address

my problem :

i have local server inside my network with ip address 192.168.1.2

i can’t access this local server from the computers with different ip class

that is mean i can’t access local server from computer with this class 192.168.2.x

how i can access my local server from different ip class ??

i’m not good at english but i hope you can understand what i mean

Set a proper subnet mask on your devices.

Set a proper subnet mask on your devices.

i’m using dhcp-server where i can set this subnet mask

In the dhcp settings. It still has the old /24 subnet