Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 601
  • Last Modified:

class B subnetting

If we have a class B network x.y.0.0/20 for example.
How many subnets we have ? 16 or 14?
That means x.y.0.0 and x.y.240.0 are valid subnets or must be reserved to notify the hole
net(x.y.0.0) and  broadcast to all subnets (x.y.240.0) ?
Jim
0
dimi67
Asked:
dimi67
  • 3
  • 3
  • 2
1 Solution
 
beckman55Commented:
With the subnet you have you have an incrementing factor of 16.   So your ip address' will be as follows:  with a subnet mask of /20

x.y.0.0
x.y.16.0
x.y.32.0
x.y.48.0
etc

x.y.0.1-x.y.15.254

x.y.16.1-etc

I hope that answers your question.  If not please give me some more information
0
 
pavaneeshkumarCommented:
The table below summarizes all of the Class B subnet masks and the number of
networks and hosts.
Subnet Mask 	# of Unique Valid Networks	# of Hosts on Each Network
255.255.0.0 	1—standard subnet mask		65,534
255.255.128.0 	Invalid—only 1 bit for subnet portion
255.255.192.0 	2 				16,382
255.255.224.0 	6 				8,190
255.255.240.0 	14 				4,094
255.255.248.0 	30 				2,046
255.255.252.0 	62 				1,022
255.255.254.0 	126 				510
255.255.255.0 	254 				254
255.255.255.128 510 				126
255.255.255.192 1,022 				62
255.255.255.224 2,046 				30
255.255.255.240 4,094 				14
255.255.255.248 8,190 				6
255.255.255.252 16,382 				2
255.255.255.254 Invalid—only 1 bit left for host portion 
255.255.255.255 Invalid—no bits left for host portion

Open in new window

0
 
dimi67Author Commented:
the two answers are different...wich is the correct?? 14 or 16??
kumar please be more specific..why x.y.0.0 and x.y.240.0 are not valid subnets?
Thanks in advance...
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
beckman55Commented:
valid subnets can only end in the following 0,128,192,224,240,248,252,254,255

So 255.255.0.0 and 255.255.240.0 are both valid subnets.  It depends on how your networking them and how you want to use them.  His chart is correct you will only get 14 networks with a 255.255.240.0 subnet.    My half that I explained shows how those 14 networks are broken up in the x.y.240.0 subnet.  x.y.0.0,x.y.16.0, 32, 48, 64, etc 14 times till you max that subnet.

Give us a little more info on what your trying to accomplish if that doesn't answer your question
0
 
beckman55Commented:
maybe just a little more to clarify:

IP address example:  

10.10.16.1 - ip
255.255.240.0 - subnet

10.10.32.1.
255.255.240.0
0
 
dimi67Author Commented:
in the sequence of x.y.0.0, x.y.16.0 ...x.y.240.0 we have 16 subnets and not 14...the question is : is 16.0 and 240.0 valid subnets?
thanks
0
 
pavaneeshkumarCommented:
255.255.26.0 is an invalid subnet
and
255.255.240.0 is a valid sunbet for class B.

please have a look on the table posted previously.
0
 
pavaneeshkumarCommented:
also there are only 14 valid subnet under Class B network not 16.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now