Solved

IP address summary

Posted on 2015-01-12
5
129 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
  • 2
  • 2
5 Comments
 
LVL 79

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

862 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now