I recently changed from 192.168.1.1/24 to 10.1.0.0/16, reorganized my vlans and now it seems that proxmox can’t connect to anything when in a vlan? It should get the 10.20.0.2 address and should connect
DIY OPNSense router > Unifi aggregation > Proxmox
Maybe I don’t understand what you’re trying to say here, but it seems to me like you got it the wrong way round. A /16 network is larger than a /24, i.e. has more addresses.
10.0.0.0/24 is the range from 10.0.0.0 up to 10.0.0.255 (that’s 2^(32-24) = 2^8 = 256 addresses). 10.0.0.0/16 is the range from 10.0.0.0 up to 10.0.255.255 (that’s 2^(32-16) = 2^16 = 65,536 addresses).
So if you’re concerned about wasted address space, it makes no sense to choose a /16 over a /24.