Discussion Locked

Is This a Valid Subnet?

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have recently learned that 10.0.0.0, Mask 255.255.255.0, is NOT a valid subnet.

I know it is NOT ROUTABLE over the internet. The problem seems to be that 10.0.0.x with mask 255.255.255.0 is not valid because of the 0.0 part. I read that the subnet cannot contain all 0's or all 1's. This seems to violate that rule.

I have used it for over a year with no problems. Is my new information correct?

If so, what problems might I run into?

Thanks so much,

Mark

7 replies

by kelly_aitch

Perfectly valid as a network. I think you confuse the network address with the host address.

The "0.0" part can't be considered alone - the network address is 10.0.0.x.

What I believe you are confusing is that the host address - the last number that replaces the "x" - cannot be all ones or zeros in binary (0 or 255 decimal). If its all ones, then its the broadcast address; all zeros and its just the network address i.e.10.0.0.0 = 10.0.0.x.

Cheers

by bowieb

You are correct. The subnet is not valid because all of the subnet bits are zeros. With your subnet mask, 10.0.0.0 and 10.255.255.0 are both invalid.

However, most equipment doesn't have a problem with it. If I remember correctly, CISCO routers even have an option to enable this.

I would say that you should probably avoid using this type of subnet, but if it is already running without any problems, don't mess with it. Just keep it in mind later if you run into any strange routing issues.

by tomsal

Hi Mark.

Actually both the people who posted prior to me are right.

(Man why do they hide the posts when you are typing in a reply?)

The guy said that some Cisco hardware allows such addressing as you pointed out is correct, you can enable and define nearly any subnet you want pratically (some exclusions do apply though I've never tested the theory.)

The other poster was correct as well though in pointing out that the form in which you wrote "10.0.0.x with mask 255.255.255.0" is correct in FORM (which is obviously proven by the fact that you even said it has been working for you - if the octets were totally incorrect in form it wouldn't work at all.)

I used to have all the "mental tricks" for remembering the rules of subnetting and supersupnetting in my head, but as time goes by and responsibilities increase you eventually "wise up" and get yourself a subnet calculator. :)

Wish I suggest you do, several vendors publish their own subnet calculators - and if you go to any decent software site like www.hotfiles.com (ZDNet's site) you can find freeware and/or shareware subnet calculators.

The last part of my post is disagreeing with what someone said before. Which was the suggestion to the effect "if it works nowdon't worry about it until you have too". That's poor IT management there.

The fact is though it works for you, it is not a standard addressing scheme. You will run in to problems as your network gets more complex and larger. If you break into WAN or VPN I can guarantee you some nightmares.

Always, whenever possible, nip all problems in the bud - don't take a "cross that bridge when I come to it attitude". Besides, assuming you are an IT professional - that's part of why you are making the big bucks right? :)

This discussion is closed to new replies.