I've run into a problem regarding inter-VLAN routing which I need some help with. This switch (3560) is already in use in a system that I am not permitted to interrupt traffic on. I'm being asked to tighten up the routing such that only two clients be permitted to route across to the other vlan. Here is my attempted configuration:
I thought that this would only permit 10.0.1.5 and 10.0.1.6 to communicate to vlan1, while all others would be dropped by the default route (null0).
This however doesn't seem to work as I would expect as anyone on the 10.0.1.x network is still able to communicate with anyone on the 192.168.1.x network. I'm wondering if this has something to do with the default vlan being used, vlan1?
Code:
ip routing
ip route 10.0.1.5 255.255.255.255 vlan2
ip route 10.0.1.6 255.255.255.255 vlan2
ip route 192.168.1.0 255.255.255.0 vlan1
ip route 0.0.0.0 0.0.0.0 null0
I thought that this would only permit 10.0.1.5 and 10.0.1.6 to communicate to vlan1, while all others would be dropped by the default route (null0).
This however doesn't seem to work as I would expect as anyone on the 10.0.1.x network is still able to communicate with anyone on the 192.168.1.x network. I'm wondering if this has something to do with the default vlan being used, vlan1?