04-23-2008 10:35 PM - edited 02-20-2020 09:40 PM
Can an inbound ACL have an ip range as source which does not belong to that VLAN?
04-24-2008 05:15 AM
Yes, but it will have to be an extended ACL
Lets say your VLAN range is 192.168.1.0/24 you can create a ACL targeted for a different network
Router(config)# access-list 101 allow ip 192.168.2.0 0.0.0.255 any
This would allow any traffic from 192.168.2.0/24
You could then place this access list on the SVI of your VLAN
Router(config-if)#ip access-group 101 in
04-24-2008 06:24 AM
The only source addresses from that vlan would be 192.168.1.0/24 when the acl is applied in.
int vlan 10
ip addr 192.168.1.1
ip access-group 101 in
If it were applied "out", then the source could be any.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide