Because you have two different subnets, what you need is a router that supports RIP. (rip is a routing protocol, that is used to exchange information between two network segments)
I am know some Linksys and Netgear routers support this protocol.
You could also use a Vlan switch for this scenario, the only problem is that it needs to be a layer 3 switch, in order to router traffic and the cost is not very cheap.
Or you could use GNS3, which is a virtual router software.
http://www.gns3.net/