First I would like to wish you a happy new year 2023.
I am using several RouterOS switches with separate VLANs.
Each RouterOS switch obtains an IP address on each VLAN.
This makes all switches accessible on each VLAN, which might cause security issues.
I don’t understand why each switch has an IP on each VLAN as this is layer 2 VLAN.
Should I use /32 IPs for each VLANs?
How to make the switches accessible on a single VLAN only (the admin vlan)?
Also I would like to manage all ARPs on my main router with static entries.
No these are static IPs on /24 netmask on each VLAN.
I modified setting with static /32 netmask which makes the switches inaccessible.
So this issue is fixed.
However a problem remains : from any VLAN I can ping the main router on each router IP.
I think this is because the router fetches the IPs from his ARP table.
Example :
if my router has two IPs : a.b.c.254 and d.e.f.254, I can ping both from any VLAN.
How can I restrict ping to the IP belonging to the working VLAN?
From a.b.c.0/24 network I would like to ping only a.b.c.254 and not d.e.f.254