R
R
Rus_Tem2021-03-08 17:20:01
network hardware
Rus_Tem, 2021-03-08 17:20:01

Two routers three subnets, how?

Hello.
There are 2 routers at home. The first MikroTik hAP ac2, the second tp link wr841n flashed with the OpenWrt operating system 19.07.6 Also at home, there is an Esxi server on which there are n number of virtual machines.

The Internet goes to the Mikrotik router, then I connected it by wire to the OpenWrt router, with which (with openwrt) the Esxi server is connected by wire.

The most important question is how to make sure that the second router has several subnets other than 192.168.88.*, for example 192.168.33.* and 192.168.44.* and that Mikrotik knows about them and all networks see each other, but the data networks could be restricted by a firewall.

Schematically depicted below

6046323d13b48618392815.jpeg
PS Put everything into one subnet, for example 192.168.88.* I did it, I also managed to make it so that on all equipment connected to openwrt I had a different subnet, let it be 192.168.44.*. But I want openwrt to have not one subscore, but several.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Pilipchuk, 2021-03-09
@SLIDERWEB

In this scheme, I don’t see the point at all in tp link as a router. Instead, a switch is enough (you can configure it as an L2 device on the WRT). Then on the microworld you create as many virtual subinterfaces as you want. They will be gateways for your networks. And in order not to suffer with routing by hand - raise some kind of dynamic protocol on the microworld (OSPF / BGP / RIP, etc.) so that your new networks are automatically added to GRT. You will have intervlan routing =)

D
Drno, 2021-03-08
@Drno

give different subnets to the interface on OpenWRT.... and that's all... there will be different subnets from each interface
remove it from the common bridge, create a new one and shove it there... and make the settings as on the main bridge

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question