Hello group, I need to add a second provider,
which the mikrotik must configure a second wan.
I do not want to do PCC, but that different subnets of the Lan I select by which wan they should go to the internet.
My question is whether it is better to use SRC-nat or packet marking with mangrove prerouting?
The scheme would be like that.
Mikrotik:
Wan 1: 186.x.x.2 - gateway: 186.x.x.1
wan 2 : 181.x.x.2 - gateway 181.x.x.1
LAN
Clientes1: 172.16.1.xx
clientes: 2 172.17.1.xx
NAT has nothing to do with it, you will need it, but it does not affect routing. If it’s going to be static with no exceptions, i.e. clients1 using only wan1, client2 using only wan2, never e.g. ports forwarded from wan2 to clients1, then the simplest way is to use routing rules (in /ip route rule).
thanks, anyway I need to do mark-routing in mangrove?
I have this way now, is it the same as using rules?
which is convenient to use and which consumes less resources
As I wrote, if it’s all static like this, I’d go with routing rules. Btw, you originally wrote that gateways start with 186 or 181, but posted rules have 192.168.x.x as gateway, so it’s not clear if it’s correct.