Communication between 2 subnets

Hello,

I am fairly new to mikrotik and would like to ask some advice.
As of now, we have a client who has 2 subnets configured for 2 ethernet ports.
The problem is that we are about to set up a file share on one of the subnets which would need to be accessed from the other subnet.
Would it be possible to ask for a simple guide on how to set up communication between the 2 subnets so that users from both can access the file share.

Well, despite the physical port separation which suffices at layer 2 separation, one still needs to ensure that the subnets cannot reach each other at L3 (via the router).
I do this in two steps by ensuring my subnets are on different VLANs - separation at layer 2 (vice physical ports) so that regardless of how cables or devices are connected my expectations are met.
As for layer 3 (the router) separation between subnets can be accomplished by firewall rules.

In general in the forward chain one makes rules as to what is allowed and the last rule is DROP ALL ELSE.
In other words if its not explicitly allowed it is blocked.
SO in your case it would look like this.
a. all rules/traffic you want to allow normally

  • subnetA to internet
  • subnetB to internet
  • router admin to all subnets
    etc…
    b. ******************************************************************
    c. DROP ALL ELSE rule.

b. is where you make exceptions rules… for example there is a shared printer in subnet B that you want users in subnet A to access.
Thus make a rule stating From Subnet A, to printer IP in subnet B, ALLOW!

In your case, the file share (or in example the printer) that is in a subnet is already accessible to those in that subnet.