routing with subnet

C

cdoc

Hello
Quick question.
Can I use Class C IP ie 192.168.1.2 with subnet mask 255.255.255.224.
Some where I read that routers will not route subnets with last octect
all 0s or 1s? I guess what I am asking is..if I use the subnet
255.255.255.224 can I use ip addresses from 192.168.2.2-192.168.2.30?
Will a nat routers work with these zero subnets?
Thanks in advance!
 
B

Bill Grant

Most modern routers can cope with subnetting of a class C address. The
subnet you describe would in fact contain the 30 IP addresses from
192.168.2.1/27 to 192.168.2.30/27 . 192.168.2.0 is reserved for the name of
the network itself and 192.168.2.31 is the broadcast address for the subnet.
You would describe the subnet as 192.168.2.0/27 (because it has a 27-bit
subnet mask). You could also use 192.168.2.32/27 , 192.168.2.64/27 etc
(eight subnets with 30 hosts in each subnet) .

But why do want to use it? What do you gain by using this subnet rather
than another 24-bit subnet like 192.168.3.0/24 ?
 
C

cdoc

I really don't. I saw a recent post where someone was critical for not
subnetting for small networks that would not ever exceed >30 nodes.
I am not sure why. Otherwise, I was just curious and learning at the
same time.
I don't plan to implement this. But I did read somewhere that you could
not create 8 subnets only 6 in the setup I described. Is this not the
case? I understand how to setup 8 but the reference I was reading
(http://www.pantz.org/networking/tcpip/subnetchart.shtml) states that
all 1s or 0s in the last octect cannot be used.
Thanks for you response.
 
B

Bill Grant

I see the reference you mention. I am not aware of any problems using
all subnets with Windows OSs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top