I have two /16 networks which I want to divide : 10.84.0.0/16 and 10.94.0.0/16. I divided the first one in 4 equal subnets /18. But for the second I want a quarter of it in the first subnet, and all other IPs in a second subnet :
10.94.0.0/18 => 16382 IPs 10.94.64.0 ?? => all the remaining 49152 IPs
Is it possible ?
EDIT: to clarify, I have servers with databases. Each server has a primary IP address on interface eth0. Then on each servers I have several databases, each listening on there own IP address. I want to filter so that only secured workstations in a specific VLAN can access the main servers IP's (eth0) on port 22, and only applications in some VLANs can access databases IP's on DB ports (like 5432, 3306, 1521, etc.). So I have X IPs for servers, and a few times X IPs for databases. It's not a quarter, probably more like 5 to 10 databases per server. I could not find a solution by dividing a network, but I wondered if it was possible.