Showing results for 
Search instead for 
Do you mean 
Reply
attes
Posts: 2
Registered: ‎03-27-2010

SRW2024 switch - ACL problems

I have a Linksys SRW2024 switch, and tried to create a new ACL named "protection":

There were two rules:

 

Action: Permit

Protocol: Any

Source IP address: 111.111.111.111        Wild Card Mask: 255.255.255.255

 

 

Action: Permit

Protocol: Any

Destination IP address: 111.111.111.111       Wild Card Mask: 255.255.255.255

 

I binded to my G20 port this ACL. I wanted to reach on that port only the 111.111.111.111 ip can communicate.

I have read on a forum that i don't have to treat denying other things, it will happen automatically.

But nothing happened :smileysad:

 

After this i tried to make another rule:

 

Action: Deny

Protocol: Any

 

 

Same problem :smileysad:

Did I something wrong? Can you help me with a clue?

Expert
Expert
Posts: 12,649
Registered: ‎07-16-2006

Re: SRW2024 switch - ACL problems

Source IP address: 111.111.111.111 Wild Card Mask: 255.255.255.255


Your ACL does allow all traffic. A wild card mask is the opposite of the standard netmask. A wild card mask says that every bit set in the mask can be anything while every bit not set in the wild card mask means the bit must be as set in the source IP.

In other words: wild card mask 255.255.255.255 matches all addresses.

You have to use wild card mask 0.0.0.0 to match IP address 111.111.111.111 exactly.
attes
Posts: 2
Registered: ‎03-27-2010

Re: SRW2024 switch - ACL problems

Thanks for your help, it works. I'm newbie in these things :smileysad: