connecting two subnets on LAN

SPOCK78

Commendable
Aug 21, 2016
3
0
1,510
Please bear with me, I have 38 years experience in the RF world but only about 3 seconds in the I.T. world. Equipment Mikrotik RB2011 series 6.36OS. I have two LANS 172.16.99.0/24, and 172.16.100.0/24 that I have connected via a GRE tunnel over the internet. Each LAN is located in a different county and works exactly as I need in this configuration. I want to keep this ability but only as a backup path moving forward. We have installed a microwave system that now is able to connect the two individual LANS and have confirmed via the discovery interface in the Mikrotik that we can see the IP addresses from the equipment from each LAN at our office router that also serves as the gateway for the equipment on the 99 LAN. In need to be able to route the 99 and 100 traffic together on the LAN side of my gateway router. Currently I have the 172.16.99.0/24 traffic running on this LAN interface and the 172.16.100.0/24 traffic connects via the GRE tunnel\internet. Goal is to turn off the GRE tunnel (no data loop) and route all of the traffic on the LAN unless something fails in the microwave links, then turn on the GRE tunnel and backup the network via the internet. Can I program this router to do this and if so please provide specific instructions.
 
Solution
Since you have actual router and it appears you understand the problems of 2 different subnet I will describe the way this is done in a commercial installation. I can give you no actual details because I have not used that particular device but from what I have read it is fairly advanced router.

So first just to make things a little easier on the gre tunnel define a point to point network...like 192.168.200.1 and 192.168.200.2 with a mask of 255.255.255.252. Then do similar on your microwave using similar addresses like 192.168.200.5 and 192.168.200.6. Just for example I will assume r1 is 172.16.99.0/24 in on the end with 192.168.200.1/192.168.200.5 and r2 172.16.100.0/24 is on the other.

So if you are willing to do this all...
Since you have actual router and it appears you understand the problems of 2 different subnet I will describe the way this is done in a commercial installation. I can give you no actual details because I have not used that particular device but from what I have read it is fairly advanced router.

So first just to make things a little easier on the gre tunnel define a point to point network...like 192.168.200.1 and 192.168.200.2 with a mask of 255.255.255.252. Then do similar on your microwave using similar addresses like 192.168.200.5 and 192.168.200.6. Just for example I will assume r1 is 172.16.99.0/24 in on the end with 192.168.200.1/192.168.200.5 and r2 172.16.100.0/24 is on the other.

So if you are willing to do this all manually all you do is route 172.16.100.0/24 to 192.168.200.2 on r1 and 172.16.99.0/24 to 192.168.200.1 on r2

You would then remove these routes and use the other pair of address to move it to the other connection.

Now what is really nice when you have a real router is you can use a routing protocol to do all this automatically. What you would do is activate OSPF on both routers. You would then define both point to point interfaces into ospf in area 0. You would then add the 172.16.xx.0 network on their respective router in ospf.

Now OSPF will constantly send hello messages over both point to points. It will detect any outage and switch to the other. In most cases the link over your microwave (I assume appears ethernet) will be favored over the GRE by ospf but you can adjust the costs to make it prefer which ever you prefer.

Now if you want to really get ambitious you could use your microwave to act as a back for the internet itself. If it loses the internet connection on one end you could have OSPF Inject the default route from the remote location.
 
Solution

SPOCK78

Commendable
Aug 21, 2016
3
0
1,510


 

SPOCK78

Commendable
Aug 21, 2016
3
0
1,510
Bill thank you for the response. I looked and this router does have OSPF in it. When I select that tab I get lots of other selections so I will try some things and see if I can make the connection.

The microwave is simply a wireless ethernet connection, don't need to do anything with it for it to pass the traffic. I have one radio set with a 99 IP and the other with a 100 IP.