I have setup DHCP relay on a 3com 5500 switch and configured multiple subnets on DNSDHCP.exe.

After a lot of trial and error, I was able to get an IP assigned to a computer that wasn't on the same subnet as the dhcp server, but it was for the wrong subnet.

Here's the subnets I have:
10.20.0.0 /24
10.30.0.0 /16 **DHCP local subnet**
10.60.0.0 /16
10.80.0.0 /24
10.90.0.0 /16

The DHCP server always assigns an IP from the 10.20.0.0 subnet to the different VLANS (20,60,80,90). It assigns the correct 10.30.0.0 address to it's physical subnet fine. I configured the router for each subnet to the be the IP address for the VLAN interface, which is 10.X.0.1.

Any ideas on what I don't have configured right?