Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need info

Status
Not open for further replies.

gporter

MIS
Mar 21, 2002
49
0
0
US
Need help I'm trying to figure out what the "/24means"
example 192.168.1.1/24. . As you might see if you did a show command on a router.
 
The /24 mean that it is subnetted with 24 bits. As you know the ip address consist of 32 bit. That mean that it is a Class B network.

xxxx.xxxx.xxxx.xxxx
8 . 16. 24 . 32
 
This may seem rudimentary but if you wanted to find the valid host range of an address with 192.168.1.10/24 how would you do it?? It was a CCNA question I missed..

I can find if I know the subnet i.e. 255.255.255.224
 
/24 = 255.255.255.0

255 just means there are 8 1's. 11111111.11111111.11111111.00000000 = 255.255.255.0

255.255.255.0 = 24 1's, which is where the /24 comes from.

That probably just confused you even more right?
shnypr-small.gif
 
Since the subnet mask (which is indicated by the /24) indicates the NETWORK portion of the address, and the question is asking for the HOST portion, you have the last 8 bits for host addresses.

Unless I'm missing something really easy, the available hosts for that address should be 192.168.1.1 thru 192.168.1.254

But the question should really have said 192.168.1.0/24, that's what has me wondering.

Maybe if you typed out the question exactly as it appears, we could be sure we're not misunderstanding.
 
"Speaker" I beleive your right. It must have been- 0/24
 
You have to find what range that ip address is in and figure out then you can find how big the range is.

Alrite they give you 192.168.1.10/24 rite.

Bits: 8 7 6 5 4 3 2 1
Ranges: 1 2 4 8 16 32 64 128
Mask: 255 254 252 248 240 224 192 128

It seem kinda like a trick question. If it's /24 then you don't have any bit mask since it is a Class C. So i think it would be in the 255.255.255.128 Subnet.

Do you happen to remember the choices they gave you?

 
This is a special notation (Shorthand) for CIDR (Classless InterDomain Routing) and classful addresses.
(Class A = /8, Class B = /16, and Class C = /24)

192.168.1.1/24.

IP Address : 198.168.1.1
Address Class : C
Network Address : 198.168.1.0

Subnet Address : 198.168.1.0
Subnet Mask : 255.255.255.0
Subnet bit mask : 110nnnnn.nnnnnnnn.nnnnnnnn.hhhhhhhh[/red]
Subnet Bits : 24
Host Bits : 8
Possible Number of Subnets : 1
Hosts per Subnet : 254

h = host values[/red]
 
IP Address : 198.168.1.10
Address Class : C
Network Address : 198.168.1.0

Subnet Address : 198.168.1.0
Subnet Mask : 255.255.255.0
Subnet bit mask : 110nnnnn.nnnnnnnn.nnnnnnnn.hhhhhhhh[/red]
Subnet Bits : 24
Host Bits : 8
Possible Number of Subnets : 1
Hosts per Subnet : 254
h = host values[/red]

IP Address : 198.168.1.10
Address Class : C
Network Address : 198.168.1.0

Subnet Address : 198.168.1.0
Subnet Mask : 255.255.255.0
Subnet bit mask : 110nnnnn.nnnnnnnn.nnnnnnnn.hhhhhhhh
Subnet Bits : 24
Host Bits : 8
Possible Number of Subnets : 1
Hosts per Subnet : 254

Selected Subnet : 198.168.1.0/255.255.255.0
Usable Addresses : 254
Host range : 198.168.1.1 to 198.168.1.254[/red]
Broadcast : 198.168.1.255

Used Solarwinds Advanced Calculator free tool
Link:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top