Solved

IP address summary

Posted on 2015-01-12
5
140 Views
Last Modified: 2015-01-21
I am trying to figure out why the 2 prefixes below would summarize 192.168.1.0/24, .2.0/24, and .3.0/24:

192.168.0.0/21 and 192.168.0.0/22
0
Comment
Question by:leblanc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 80

Accepted Solution

by:
David Johnson, CD, MVP earned 167 total points
ID: 40546024
192.168.0.0/21 doesn't 192.168.0.1-192.168.7.254 broadcast 192.168.7.255
192.168.0.0/22 does      192.168.0.1-192.168.3.254 broadcast 192.168.3.255
You need to understand how CIDR works
a prefix size of /22 gives: 2^32-22 = 2**10 addresses 1024
0
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 333 total points
ID: 40546472
The best you could accomplish is

192.168.1.0/24
192.168.2.0/23 (which includes 2.0 & 3.0)

There is no way to summarize all three networks with a single prefix (without including networks that shouldn't be included).
0
 
LVL 1

Author Comment

by:leblanc
ID: 40560871
"192.168.0.0/21 doesn't 192.168.0.1-192.168.7.254 broadcast 192.168.7.255". I am not sure I understand this. It looks like /21 cover .1.0, .2.0, and .3.0/24
0
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 333 total points
ID: 40560950
The reason why 192.168.0.0/21 won't work is because you are over summarizing.  That prefix includes networks:

192.168.0.0/24
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
192.168.5.0/24
192.168.6.0/24
192.168.7.0/24

So while the prefix does include 1.0, 2.0 and 3.0, it also includes a bunch of networks that you don't want advertised.
0
 
LVL 1

Author Comment

by:leblanc
ID: 40560999
ah... Got it.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Well known ports and optimal ports scanning range 12 97
How do you restart a stacked switch? Hp Procurve 3 57
Application timeout 4 39
Citrix App 7 26
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

761 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question