Hi!
Stuck in maybe simple problem! How to connect two routers with different WAN, simple need to use the same domain (DNS and AD server)! Look at sheme below! Thanks!
2routers.png
Plug R1 into R2 using un-bridged, un-switched (master/slave) ports.
e.g. ether2 / ether3 as shown in diagram.
Put a /30 IP network on this link - set R1 = 192.168.255.1/30 (interface=ether2) and R2 = 192.168.255.2/30 (interface=ether3)
On R1, create static route dst=192.168.12.0/24 gateway=192.168.255.2
On R2, create two static routes - dst=192.168.20.0/24 gateway=192.168.255.1 - and dst=192.168.11.0/24 gateway=192.168.255.1
Finally, make sure the firewall does not NAT between these networks and allows necessary traffic across the link.
(feel free to block unwanted things)
Now go to the break room and get a nice cup of coffee / can of Mt. Dew / beverage of choice. You’re done.
Great! It worked thanks for reply!
Awesome. This is a pretty common question on here, and some people - I don’t know what they’re doing, but they find two dozen ways to do it wrong and say the solution didn’t work - it’s actually very very simple. ![]()
If you’re feeling froggy, you could replace the static routes with OSPF routes.
on R1, set default instance → router ID = 1.1.1.1
on R2, set it = 2.2.2.2
On both routers, add network = 0.0.0.0/0 area=backbone
Done. ![]()
Then if you’re even more adventurous, on each router, in the default instance, set “distribute-default” → if-installed (type 1) and then set your default gw route on each router to ping-test. Make sure each will allow all traffic out to Internet, and will masquerade ANY source IP going out the Internet… if you do all that, then you have redundant Internet connections.
(also quite easy until you try to do load sharing craziness)