Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

ACL rule

I would like to allow outgoing traffic on 5 host 134.144.152.156/158/160/162/164 to 63.170.10.5

can i use wildcard mask ?

thanks!

2 REPLIES

Re: ACL rule

Hi

You better can define host based ACL permitting each and every host and make use of it..

regds

Hall of Fame Super Gold

Re: ACL rule

sir

To accurately answer your question we need to be clear about the binary value of the addresses. This will show us whether there is a wildcard mask that will match them. So the binary values of the last octet are:

156 is 10011100

158 is 10011110

160 is 10100000

162 is 10100010

As Edwin says one way to solve this is to create 4 host specific entries in your access list. There is also a possibility to use wildcard mask if you create 2 permit statements. You could:

permit 134.144.152.156 0.0.0.2 (which covers 156 and 158) and

permit 134.144.152.160 0.0.0.2 (which covers 160 and 162) and

HTH

Rick

259
Views
0
Helpful
2
Replies
CreatePlease to create content