Solved

IP address summary

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

860 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