Solved

Help understanding subnet addressing

Posted on 2007-12-05
9
234 Views
Last Modified: 2010-04-21
Hello -

Sorry is this is a simple request - but I am not a networking person...

I am provided a Subnet address of 10.xx.xx.0/24

Does this mean I can have a host range of 10.xx.xx.0 - 10.xx.xx.254

Thanks
0
Comment
Question by:newtontech4
9 Comments
 
LVL 1

Accepted Solution

by:
tonux earned 125 total points
ID: 20413910
Hi,
in this subnet, there must be at least one address for the Router (I.e. default Gateway for hosts)
So you have 2^8 adresses, minus 1 for the router. so it's 255 addresses.
By convention the ".0" address is not use for hosts. and the ".255" is used for broadcasting on this subnet.
So if you have a default GW address on ".254" (which is a common convention to) then you have .1 -> .253 addresses available for hosts.

hope this helps
Tonux
0
 
LVL 8

Assisted Solution

by:Jeff Perry
Jeff Perry earned 125 total points
ID: 20413920
Yes and No

the /24 means your subnet mask is 255.255.255.0 so your Network is 10.xxx.xxx.0 Your first valid host is 10.xxx.xxx.1 and your last valid host is 10.xxx.xxx.10.xxx.xxx.254 with a broadcast address of 10.xxx.xxx.255
0
 
LVL 77

Assisted Solution

by:Rob Williams
Rob Williams earned 125 total points
ID: 20414181
Some times a "picture" is worth 1000 words, a very useful on-line tool that will outline all of the above in a very clear list is:
http://tstools.co.uk/ipcalc.php

Should you want a better understanding the following site is great:
http://www.learntosubnet.com
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 51

Assisted Solution

by:Keith Alabaster
Keith Alabaster earned 125 total points
ID: 20415142
Hey Rob - Merry Chrsitmas (or nearly)

Newton, no - it does not mean that <<Does this mean I can have a host range of 10.xx.xx.0 - 10.xx.xx.254>>

Standard IPv4 ip addresses are 32 bits long and split into 4 'octets', each being 8 bits long. IP addresses are broken down into a network portion and a host portion. The subnet mask or bit mask tells you how many of the 32 bits are part of the network and how many can be used as hosts.

In your example of /24, this tells us that the first 24 bits of the ip address given are for the network and the rest are hosts.
so 10.0.0 is the network (3 x 8-bit octets) and the last octet is the host portion (0 - 255 = 256 addresses). You always take 2 off this number as Rob mentions for the Network ID and the broadcast leaving 254 useable start ing at .1 in this example.

Keith
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 20415415
Hi Keith ! Same to you. It's approaching quickly.
For the record that was not my post <G>.  ==>""You always take 2 off this number as Rob mentions "
0
 
LVL 51

Expert Comment

by:Keith Alabaster
ID: 20415434
lol - I'm getting old. I'm sure you would have pointed it out though as it is correct :)
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 20415570
I was thinking it. Does that count :-)
0
 

Author Closing Comment

by:newtontech4
ID: 31412930
thanks for your help -
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 20415734
Thanks newtontech4.
Cheers !
--Rob
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question