I ordered and setup the following equipment for 2 businesses. The 2 owners are friends, and they have agreed to use each other's internet connections for failover in case the other's ISP fails.
Each location hasa miktrok RB751G router, a RB250GS switch, and a SXT 5HPnD radio (setup as a bridge between the offices).
Company A RB751G-2HnD - Has IP address of 192.168.10.1/24 on "bridge-local"
ether1 - 3.5G internet provider - IP address 192.168.30.5/24
ether2 - not used
ether3 - not used
ether4 - RB250GS switch
ether5 - SXT 5HPnD
Company B RB751G-2HnD - Has IP address of 192.168.20.1/24 on "bridge-local"
ether1 - DSL internet provider - Public IP address
ether2 - not used
ether3 - not used
ether4 - RB250GS switch
ether5 - SXT 5HPnD - IP address of 192.168.10.75
One issue that I can't get around is that Company A ISP's router does not support bridge mode, so, the ISP router's LAN ip is 192.168.30.1/24, and the mikrotik's ether1 has an ip of 192.168.30.5/24. I don't think this will make much of a difference, but, I figured it was worth noting.
I can get Company A's network to failover properly the way the setup is now, if the connection is lost with their ISP, and it begins to route everything over through Company B's router, and on to the internet.
What I'm having issues with, is getting Company B's network to failover to to Company A's network if their DSL connection fails.
I've tried the following, but ended up with some odd issues with company B's DHCP addresses on the WiFi side of things, making have to put the configuration back to the above.
I set up 2 vlans between the 2 mikrotiks, with vlan10 being the 192.168.10.0/24 and vlan30 being 192.168.30.0/24, and both vlans being added to the ethernet interfaces on the routers that have the SXT's connected.
On Company A's mikrotik, I created a bridge with an IP address of 192.168.30.5/24, and added ethernet1 and vlan30 to that bridge's ports.
I created another bridge with an IP address of 192.168.10.75/24, and added vlan10 to that bridge's port.
This should have left me with 2 possible default routes of 192.168.30.1, and 192.168.10.75.
On company B's mikrotik, I created a bridge with an IP address of 192.168.30.10/24, and added vlan30 as a port on that bridge.
I added vlan10 to the "default-bridge".
I removed ethernet1 from the "default-bridge", and left it alone to get an IP address from the DSL internet provider.
This should have left me with 2 possible default routes of 192.168.30.1, and the IP address of whatever ethernet 1 obtained from the DSL provider.
This in theory should work, and my problems could have been a typo on my part, but, it just seems to be a convoluted solution to what I'm trying to do.
Anyone have a suggestion for my attempt at vlans across the bridge, or a suggestion for a better solution?
BTW, if it helps, I can sketch up a diagram of the networks if need be.