If the different subnets are on different physical interfaces, do not use shared-network - just list the subnets at the top level config.
If they are on the same subnet, you'll need to list the machines by MAC address or dhcpd can't know which machine you want in which subnet... -- Jussi Peltola