[Phpip-support] Understanding CIDR entries and Prefixes
Brought to you by:
trilexcom
From: <php...@li...> - 2006-10-25 17:45:57
|
I have some questions about Phpip that are not really addressed in the documentation. Hopefully you can point me in the right direction or to a user forum or something like that. I am having trouble understanding how the CIDR entries and the Prefix entries relate to each other. I wonder if my problem stems from the fact that our network is really constructed as VLSM not CIDR and perhaps I do not understand CIDR well enough... I know that if I create a CIDR entry for 10.0.0.0/8, Phpip generates one Prefix -- 10.0.0 If I create 10.0.0.0/16 Phpip generate 256 Prefixes -- 10.0.0 through 10.255.0 If I create 10.0.0.0/24 Phpip generates 65535 Prefixes -- 10.0.0.0 through 10.255.255.0 As far as I can tell all these entries go into the DB, and as you might expect some of them they make the prefix related dynamic web pages extremely LARGE and difficult to deal with. Let's say the following five sub networks make up the entirety of my network - how do I get this network described in Phpip? What CIDR entries must I create in in order to generate the five (and only five) correct prefixes and associated ip address pools? 10.0.0.0/24 (256 ip's) 10.0.2.0/23 (512 ip's) 10.0.4.0/22 (1024 ip's) 10.0.8.0/21 (2046 ip's) 10.0.16.0/20 (4094 ip's') This isn't really how my network is constructed, but I think the explanation of this example will help me understand how this works. Thanks in advance. JD |