Mon Feb 19, 2018 6:40 pm
Well, "back to basics":
You can easily have 2 subnets inside the same layer 2 domain (or physical media, or VLAN, whatever you are calling a single layer 2 network). You just put the gateway addresses on the same interface, for example:
/ip address add interface=ether2 address=192.168.1.1/24
/ip address add interface=ether2 address=192.168.1.2/24
Even though those 2 subnets are inside of the same layer 2 network, they can't "talk" to each other without the packets being routed by the router. So just put firewall rules on the router.
Of course, anyone with even a little bit of network experience can then dump the traffic, see the 2nd subnet, then put an IP from that subnet on their local interface and speak directly with the other subnet. You can't really prevent this in any way that I'm aware of. Or not simply, anyway.
If you really want to keep that traffic separate and you're worried about what I just said above, you have to segregate the layer 2 domains.