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

Summarize this ?

Is there a way to summarize this

In an access list, if I wanted to summarize

192.168.6.40 - 49

is this possible? or do I have to list them all out?

6 REPLIES
Hall of Fame Super Blue

Re: Summarize this ?

Hi

Well you could do

192.168.6.40 0.0.0.7

host 192.168.40.49

although this is dependant on how 192.168.6.0 -> 39 hsa been subnetted (if indeed it has ).

HTH

Jon

Blue

Re: Summarize this ?

Sparky,

Here is the last octet binary for your range of numbers.

00101000 40

00101001 41

00101010 42

00101011 43

00101100 44

00101101 45

00101110 46

00101111 47

00110000 48

00110001 49

Note that only the 128, 64, and 32 bit value positions do not change, and are always 001 (32). If you use a mask of 0.0.0.31 to "don't care" the changing bits, you get a range of 32-63 for your summary. So a single summarization exceeds your range.

If you move two more bits right with the must match position (00101 or 40) the remaining 3 "don't care" bits mask 0.0.0.7 give you a range of 40-47. This is closer, but you still need 48 and 49.

The 48-49 range can be matched with a 0.0.0.1 mask.

So, 2 statements are required:

192.168.6.40 0.0.0.7

192.168.6.48 0.0.0.1

Please rate helpful posts.

Dave

Hall of Fame Super Blue

Re: Summarize this ?

Hi Dave

Thanks for catching that. My mistake with the .48 address.

Deserves rating

Jon

Hall of Fame Super Blue

Re: Summarize this ?

Hi Dave

Thanks for catching that. My mistake with the .48 address.

Apologies to sparky.

Deserves rating - only it won't let me rate it. Any ideas why - does Sparky have to rate it first ?

Jon

Blue

Re: Summarize this ?

Jon,

Fortunately perfection is not a requirement for posting on NetPro -- if it was, none of us would be here.

Strange on the rating, never had a problem with it.

Dave

Hall of Fame Super Blue

Re: Summarize this ?

Dave

Thanks for this. I stil can't rate this post which i don't understand so i have rated your multicast post in IP telephony which worked !!

Jon

158
Views
4
Helpful
6
Replies
CreatePlease to create content