Solved

IP address summary

Posted on 2015-01-12
5
127 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 78

Accepted Solution

by:
David Johnson, CD, MVP earned 167 total points
Comment Utility
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
Comment Utility
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
Comment Utility
"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
Comment Utility
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
Comment Utility
ah... Got it.
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Join & Write a Comment

Article by: IanTh
Hi Guys After a whole weekend getting wake on lan over the internet working, I thought I would share the experience. Your firewall has to have a port forward for port 9 udp to your local broadcast x.x.x.255 but if that doesnt work, do it to a …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 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

11 Experts available now in Live!

Get 1:1 Help Now