Could you explain a little why you want to do the packet filter on Level 2 Mac address layer.
Do you have a router in front ?. For the purpose of filtering you could make a setup of VLAN (Config) and on the VLAN form a layer 3 device filter the traffic.
Good known Network setup policy:
Access Layer, Distribution layer, Core Layer.
Where in this order is the 3324 ? I assume distribution layer, packet filtering should be done in distribution layer or the core layer.
The ACLs are applied to ingress traffic flows as they physically enter the switch. An example using your ACL --
Your statement designates that any source IP address and any port are permitted to communicate with a specific host, 192.168.0.10, via port 80. This rule is also applied to interface eth. 13.
This assumes that 192.168.0.10 is connected to another interface (aside from eth. 13) and is accessible from the 3324. Applying this rule to interface eth. 13 implies that you are attempting to connect to 192.168.0.10:80 from eth. 13 via "any" IP address. The traffic physically enters the switch via eth. 13, therefore the rule will be applied.
Your configuration has been tested and proves successful on establishing a connection only via port 80. When an attempt was made to telnet, SSH, or ping, -- utilizing your ACL -- connectivity would not establish. Please ensure that the ACL is applied to the correct interface, in order for the rules to correctly apply to the designated traffic flows.
If you were attempting to apply this ACL to the interface that 192.168.0.10 was attached to, you will need to redesign the ACL.
Message Edited by DELL-Randy on 07-06-2004 10:50 AM
I'm still having the same problem, maybe it could be that
the switch is bad :(
Like you assumed, 192.168.0.10 is on 1/e1 and I'm trying to connect to it through 1/e13 (where the rule is applied).
The here is my config is:
interface vlan 1
ip address 192.168.0.20 255.255.255.128
exit
ip default-gateway 192.168.0.2
ip access-list test
permit-tcp any any 192.168.0.10 0.0.0.0 80
exit
interface ethernet 1/e13
service-acl input test
exit
I'm basically trying to get it to allow JUST port 80 traffic to 192.168.0.10, and drop everything else.
But it allows ANY (TCP) port to get to .10 (and no where else).
I've also tried allowing everything to pass through and blocking just a certain port, but it just blocks everything
(it seems to just completely ignore the port and just validate the rule/ACE).
Any help on this would again be really appriciated.
cooledit
25 Posts
152
0
Posted July 5th, 2004 07:00
hi, there
Could you explain a little why you want to do the packet filter on Level 2 Mac address layer.
Do you have a router in front ?. For the purpose of filtering you could make a setup of VLAN (Config) and on the VLAN form a layer 3 device filter the traffic.
Good known Network setup policy:
Access Layer, Distribution layer, Core Layer.
Where in this order is the 3324 ? I assume distribution layer, packet filtering should be done in distribution layer or the core layer.