good day everyone,
I have some traffic I need to block on a catalyst 6509 layer 3 switch between two VLANs. I have dealt with standard and extended ACLs before but not to block specific VLANs from accessing each other. The concept of VALCs is new to me, so I need some help with this one... It's simple but it's racking my brain:
Let's say I have VLAN 20 and VLAN 66, I want traffic between these two VLANs to reach each other but drop all aother traffic from the other 15 or so VLANs I have confirgured on this switch, the catch is VLAN 20 is also Outbound traffic that cannot be blocked, for instance it runs internet traffic through there as well. Is there Any way I can accomplish this?
This is what I have tried so far by applying it on the VLAN Interface in the Out and In direction:
Applied to interface VLAN20 -
Access-list 150 permit ip 10.66.0.0 0.0.0.255 10.20.0.0 0.0.0.255
access-list 150 Permit ip any any
(allowing the invisible implicit deny at the bottom to block all else)
Applied to interface VLAN66-
Access-list 155 permit ip 10.20.0.0 0.0.0.255 10.66.0.0 0.0.0.255
permit ip any any
(allowing the invisible implicit deny at the bottom to block all else)
I have the ip any any there after my second try, when i applied on the permit ACL 150 & 155 i was blocked from reaching the WWW.
Any help on this would be deeply appreciated, thank you EE
GL137
Using the following as the criteria:
VLAN 20 is allowed to talk to VLAN 66 and internet but not other VLANs.
All internal VLAN IP addresses are 10.x.0.0/24 (where "x" is the VLAN number).
access-list 20 permit 10.66.0.0 0.0.0.255 ! allows VLAN 66 traffic
access-list 20 deny 10.0.0.0 0.255.255.255 ! denies all other VLANs
access-list 20 permit any ! allows all other IP addresses (internet traffic)
!
access-list 66 permit 10.20.0.0 0.0.0.255 ! allows VLAN 20 traffic
access-list 66 deny 10.0.0.0 0.255.255.255 ! denies all other VLANs
access-list 66 permit any ! allows all other IP addresses (internet traffic)
!
interface vlan 20
access-group 20 out
interface vlan 66
access-group 66 out