The ACL needs to reflect which protocol to filter:
access-list 101 deny IP 10.138.56.79 0.0.0.255 172.16.0.0 0.0.255.255 log-input
access-list 101 permit IP 10.138.56.79 0.0.0.255 any
access-list 102 deny IP 10.138.58.161 0.0.0.15 172.16.0.0 0.0.255.255 log-input
access-list 102 permit IP 10.138.58.161 0.0.0.15 any
!
interface VLAN2
ip access-group 101 in
!
interface VLAN3
ip access-group 102 in
The log-input added to the end of the deny ACL entries are a great tool to view what is being dropped.
harbor235 ;}
Main Topics
Browse All Topics





by: photograffitiPosted on 2005-10-17 at 23:46:23ID: 15105180
Actually, on a router you would indeed have to set up an ACL to achieve this. The 4506 configuration would be the same as it would be on a router. The ACL would just be applied to a VLAN interface as opposed to a FastEthernet/Ethernet/Seri al interface on the router. The PIX firewall is the one that blocks traffic by default from a low security to a high security interface.
The ACL you would need would be something like:
!
access-list 101 deny 10.138.56.79 0.0.0.255 172.16.0.0 0.0.255.255
access-list 101 permit 10.138.56.79 0.0.0.255 any
access-list 102 deny 10.138.58.161 0.0.0.15 172.16.0.0 0.0.255.255
access-list 102 permit 10.138.58.161 0.0.0.15 any
!
interface VLAN2
ip access-group 101 in
!
interface VLAN3
ip access-group 102 in