I have 2 Linksys WRT54GL routers flashed with DD-WRT. On each I have a different ISP, and thus a different private network. I would like to be able to talk to either network regardless of what network I am on.
Example:
ISP1 -> Router1 -> Client
ISP2 -> Router2 -> Client
What I would like to do is something like:
ISP1 -> Router1 -> Client
^
|
v
ISP2 -> Router2 -> Client
This would be ideally because then I don't need to introduce another device in the mix, unless I have to.
But I guess the first question is - is this even possible?
Edit: Both routers are in the same office right next to each other.
Sounds like you want a VPN tunnel.
Here is the wiki page on how to set this up. http://www.dd-wrt.com/wiki/index.php/OpenVPN_-_Site-to-Site_routed_VPN_between_two_routers
You'll want to make sure that when looking at the network at the other location, it forwards through the tunnel. But when browsing internet traffic, it doesn't pass through the tunnel (uses locally connected ISP).
EDIT: Alternatively, if you're saying that both routers are on the same network segment in the same office then follow this guide. http://www.roadrunnerguide.com/dualwan.html
If you cannot combine the two subnets, you'll need to route between them, somehow. Matt's VPN suggestion is one possibility, but I don't think it's the easiest or most efficient way route traffic between the two networks. You must have some sort of routed connection between the two networks, though there are several possible alternatives.
My first suggestion is to connect both of the existing networks together across a 3rd router. This new router could be any Windows or Linux machine with an extra NIC, or another LAN router like the WRT54G (with NAT and firewall "deny" rules disabled). Then, on each of your existing DD-WRT routers, you would configure a static route to the opposite network via the 3rd router. This seems easiest, to me, because you don't have to mess around with VPNs or any complex IP configurations on your existing routers. The downside is that you'd have to set up that 3rd router, but that's really easy.
My second suggestion is to route via your existing routers interfaces. It's more more complex, but it will save you from having to deploy a new router. It won't work if either router configures its public IP address using DHCP (from your ISP's equipment, or otherwise), and it requires an extra Ethernet switch.
There is one more little downside to this second suggestion: If somebody compromised your ISP's equipment attached to that new Ethernet switch, they might be able to sniff the traffic between the two networks. It's not a very likely threat, but it's something to understand if you go this direction. A more secure variation would be to employ the same technique on your routers' internal interfaces. But this won't work if you need DHCP services on both private networks.
Now, personally, I don't think either of these two suggestions is particularly elegant. But I think they're both relatively simple to understand and configure. So depending on your technical comfort level, they might work for you. But there are some other techniques that could apply:
BUT... Realize that all of these routed setups (these two, plus Matt's VPN suggestion) are more complex, harder to set up, and less efficient than just bridging the two networks. I understand that re-configuring IP addresses, DNS hostnames, etc. on a network can be a pain, and that there are potential security/privacy issues, but I would really push for that option.
I'm sorry if my reiterating that last part offends, BTW. I believe that you probably have a perfectly valid reason for why you can't bridge the existing networks. But since all of the routed options are more complex, the issue is whether you're going to be technically comfortable with them.
How do you feel about the relative technical challenges, here, anyway?