Newbie alert, I have setup different subnets on interfaces 2-5 and have separate DHCP servers working fine on all. Internet feed is on port 1 and all interfaces can get internet, cool, all working. What I now need to achieve is stopping the different subnets communicating with each other except to access internet. I have been back and forth following many of the posts instructions here on the forum creating Firewall rules but cannot for the life of me figure out why I can’t stop these different subnets communicating with each other.
Can someone please help a fulla out and give me a bit of advice on where I might be going wrong.
It’s my first foray into RouterOS as part of a project i’m working on and I am increasingly seeing Mikrotik gear around NZ.
It is normal that subnets on the same router communicate with each other, as you have discovered. As soon as you add an IP on one interface, its subnet is part of the connected routes. To stop them from communicating with each other, you need firewall filter routes.
For example, let suppose that you have 1.1.1.0/24 on ether2 and 2.2.2.0/24 on ether3. The firewall filter rules should be:
Thanks for the reply. Yeah I tried that and still no luck, used command line and then the gui in Winbox and still the connection continues to ping away happily between subnets.
You should not try it from the router itself, which obviously can reach those subnets, otherwise wouldn’t be able to route them. Try it from on device to another of different subnets.
With the above configuration and filter rules, you should not be able to ping 2.2.2.10 from 1.1.1.10.
Address 2.2.2.1, which is gateway for subnet 2.2.2.0/24, is on router interface, so it is normal that it will respond to your ping request. If you really want that subnet 1.1.1.0/24 should not be able to ping the gateway of the other subnet (2.2.2.1) ad well, then you need another filter rule on the input chain. Be carefull though, as you might leave yourself out of the router if you do it wrong:
Ok, some success I didn’t bother trying to ping a device on the other subnet earlier, so cool yes it’s blocking comms between addresses on the different subnets. I tried that input filter rule but I can still ping the gateway?
The rule in input chain works. In your case it is not working because you have a default configuration rule which accepts icmp protocol, which is ping. The rule I am talking about is: