cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1639
Views
0
Helpful
3
Replies

Cisco ASA ACL with 255.0.0.255 Mask

Peyman Sadeghi
Level 1
Level 1

Hi,

We have many hosts that share the same first and last octet. Is it possible if we can aggregate all those host like below ACL in the destination?

access-list test permit ip host 1.1.1.1 10.0.0.126 255.0.0.255

 

Thanks,

Peyman

1 Accepted Solution

Accepted Solutions

Hi,

Actually , you can add these discontinuous mask on the ASA device ACL.

If the mask fulfills the requirement , it will work on the ASA device.

Thanks and Regards,

Vibhor Amrodia

View solution in original post

3 Replies 3

david-swope
Level 1
Level 1

No, that is not a valid subnet mask and you would not be allowed to input that into the ASA anyway for that reason.

What you need to do is a create an object-group and then underneath that input all of your individual hosts then you reference that in the ACL

 

object network Server

host 10.0.0.126

 

object-group network HOSTS

network-object 1.1.1.1

network-object 2.2.2.2

network-object 3.3.3.3

network-object 4.4.4.4

 

access-list test permit ip object-group HOSTS object Server

 

Hi,

Actually , you can add these discontinuous mask on the ASA device ACL.

If the mask fulfills the requirement , it will work on the ASA device.

Thanks and Regards,

Vibhor Amrodia

Peyman Sadeghi
Level 1
Level 1

Vibhor,

 

Thanks for the confirmation. We also tested this and it worked perfectly fine.

Regards,

Peyman

Review Cisco Networking for a $25 gift card