Not clear here whether your two subnets are connected via a pair of routers with some sort of WAN in between them or by a single router directly connecting both subnets. However your approach is basically the same. there needs to be a routing table entry at each 'side' that tells the router about the distant IP network (defined by the network address and subnet mask) and the IP address of the gateway or interface that leads to it
Re: Deciding on Static Routing
10 years 10 months ago #23267
If you have two networks connected to the same router, you don't need any static routes on the router at all. Since the networks are directly connected to the router, the router already knows how reach it. All you have to do is configure the hosts to use the router as a default gateway.