Description |
This article describes the scenario where a directly connected client connected on different VLAN can ping each other on Standalone FortiSwitch and how to block the client from ping each other.
Consider the below example :
Laptop-1 from VLAN10 can ping Laptop-2 from VLAN20 without any static route configured. |
Scope | FortiSwitch. |
Solution |
FortiSwitch routing table shows below output :
get router info routing-table-all
The laptop although being on a different VLAN will be able to ping the reason is they are directly connected devices. Directly connected networks are automatically installed in the routing table if the interface to the network is up.
Connected routes always take precedence over static or dynamically discovered routes because they have the administrative distance value of 0 (the lowest possible value).
To stop the reachability between the VLANS, configure ACL by going under FortiSwitch GUI -> SWITCH -> ACL -> Ingress -> set ID - 1 -> enable ACTIVE, under Classifier only configure the Source IP prefix and Destination IP prefix and under Action, select DROP and Select OK.
Related document: |