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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ACL

Can you create a ONE LINE ACL that permits the range 10.0.0.0 - 10.192.255.255 or would you have to do it in separate statements?

2 ACCEPTED SOLUTIONS

Accepted Solutions
New Member

Re: ACL

I am not sure, but I think you have to do it with multiple statements:

10.0.0.1 255.128.0.0 (0 - 127)

10.128.0.1 255.192.0.0 (128 - 191)

10.192.0.1 255.255.255.0 (192)

New Member

Re: ACL

Hello,

no, it is not possible. If you write it down as binary :

10.0.0.0 00001010.00000000.00000000.00000000

10.192.255.254 00001010.11000000.11111111.11111110

you can reveal, that the only common part what can be masked is the first octet, that is, with one mask you can specify only the whole class A 10.0.0.0 address range.

Laszlo

2 REPLIES
New Member

Re: ACL

I am not sure, but I think you have to do it with multiple statements:

10.0.0.1 255.128.0.0 (0 - 127)

10.128.0.1 255.192.0.0 (128 - 191)

10.192.0.1 255.255.255.0 (192)

New Member

Re: ACL

Hello,

no, it is not possible. If you write it down as binary :

10.0.0.0 00001010.00000000.00000000.00000000

10.192.255.254 00001010.11000000.11111111.11111110

you can reveal, that the only common part what can be masked is the first octet, that is, with one mask you can specify only the whole class A 10.0.0.0 address range.

Laszlo

100
Views
0
Helpful
2
Replies
CreatePlease login to create content