<div dir="ltr"><a href="http://192.168.1.0/25">192.168.1.0/25</a> just means 25 bits in the network portion of the IP address. In a 32 bit address, that means you have 7 bit of space left for the device address part. with 8 bits apiece in each octet, you can figure it out pretty quickly. I've always heard the /## notation referred to as cisco notation.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 8:51 AM, Keith Smith <span dir="ltr"><<a href="mailto:techlists@phpcoderusa.com" target="_blank">techlists@phpcoderusa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Very nice Kenn!!<br>
<br>
Ok so if I had <a href="http://192.168.1.0/25" rel="noreferrer" target="_blank">192.168.1.0/25</a> the range would be 192.168.1.0 - 192.168.1.127<br>
<br>
/26 would be 192.168.1.0 - 192.168.1.192 ? or is it 192.168.1.0 - 192.168.1.64 ?<br>
<br>
Is that correct?<br>
<br>
Not sure how to make a net mask out of <a href="http://192.168.1.0/25" rel="noreferrer" target="_blank">192.168.1.0/25</a> - would it be 255.255.255.128?<br>
<br>
<br>
Thanks!!<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 2015-08-31 02:55, <a href="mailto:parabellum7@yahoo.com" target="_blank">parabellum7@yahoo.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Keith,<br>
<br>
If I recall correctly, the /24 part of <a href="http://192.168.0.0/24" rel="noreferrer" target="_blank">192.168.0.0/24</a> is the subnet<br>
specified in CIDR notation (Classless Inter Domain Routing).<br>
<br>
Think in binary terms, that /24 equals<br>
11111111.11111111.11111111.00000000 (note there's 24 1's) equals<br>
255.255.255.0 so is a class C subnet with the first three octets being<br>
the network mask.<br>
<br>
Likewise if you had an IP addy followed by a /8 that equals<br>
11111111.00000000.00000000.00000000 equals 255.0.0.0 so is a class A<br>
subnet.<br>
<br>
Called octets cuz there's 8 bits hence a decimal max of 255.<br>
<br>
CIDR is usually seen at ISP's or in enterprise networks that need to<br>
subnet further as the network mask does not have to align with the<br>
octet boundary as it does in the classfull network addressing we're<br>
used to. That's where things get weird and all this because those<br>
silly routers only speak binary. :]<br>
<br>
If you're seeing <a href="http://192.168.0.0/24" rel="noreferrer" target="_blank">192.168.0.0/24</a> in a zenmap target field it means scan<br>
everything from and including 192.168.0.0 to 192.168.0.255.<br>
<br>
<br>
IP network classes or Classfull Network Addressing<br>
<br>
- Range - - mask - # of networks # of nodes CIDR mask<br>
A 1.1.1.1 - 126.255.255.255 255.0.0.0 126 16,777,214 /8<br>
B 128.0.0.1 - 191.255.255.255 255.255.0.0 16,384 65,534 /16<br>
C 192.0.0.1 - 223.255.255.255 255.255.255.0 2,097,151 254 /24<br>
D 224.0.0.1 - 239.255.255.255<br>
E 240.0.0.1 - 255.255.255.255<br>
<br>
<br>
<br>
--Kenn<br>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Keith Smith</font></span><div class="HOEnZb"><div class="h5"><br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">James McPhee<br><a href="mailto:jmcphe@gmail.com" target="_blank">jmcphe@gmail.com</a></div>
</div>