Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

### #1 SallyMae Posted 24 October 2011 - 06:03 AM

SallyMae

Member

• Member
• 88 posts
Because I'm drowning in information right this second, I'm having a bit of a hard time formulating my question. Perhaps I can start this the best I can and a little "back and forth" with someone will help me sort and file all the information I have and eventually figure out what I'm trying to figure out. Here's where I'd like to start:

Using CIDR notation for the following address: 192.168.5.130/24, I found some statements and a chart stating the following information for the address:

IP address: (binary - 11000000.10101000.00000101.10000010) (dotted decimal - 192.168.5.130)
Subnet mask: (binary - 11111111.11111111.11111111.00000000) (dotted decimal - 255.255.255.0)
Network prefix (binary - 11000000.10101000.00000101.00000000) (dotted decimal - 192.168.5.0)
Host part (binary - 00000000.00000000.00000000.10000010) (dotted decimal - 0.0.0.130)

The information I'm reading states, in part, "an address (192.168.5.130) and its associated /24 network mask (255.255.255.0)"

I understand the /24 comes from the 24 leftmost "1" bits in the subnet mask. What I can't figure out is how one knows that 255.255.255.0 is associated with 192.168.5.130 as a subnet mask. I do understand that certain address class ranges use from 8 to 24 bits in the leftmost bits to designate a mask but something is lost upon me about how the algorithm(?) is applied to the address so that you know which address goes with which mask. Maybe I'm getting deeper than I need to get and can just use a subnet calculator to get the information I need? I don't know. Does anybody out there understand what I'm trying to get at and can maybe help me out here?

Thanks.
• 0

### #2 Neil Jones Posted 25 October 2011 - 03:19 PM

Neil Jones

Member 5k

• Member
• 8,476 posts
This is all very well but what exactly are you trying to do with this information?
• 0

### #3 SallyMae Posted 26 October 2011 - 05:38 AM

SallyMae

Member

• Topic Starter
• Member
• 88 posts

Any way, thanks for the reply.
• 0

### #4 SallyMae Posted 27 October 2011 - 01:31 PM

SallyMae

Member

• Topic Starter
• Member
• 88 posts
OK, I think I can ask a more concrete question now. I've been doing some more digging on the internet and found the following information:

"Let's say your ISP has assigned you 16 IP addresses. Your workstation is set to an address of 192.168.1.9, with a mask of 255.255.255.240. Just from that, you can calculate the rest of the addresses that belong to you: 192.168.1.8 through 192.168.1.23."

Using this information,can someone break down for me and be more explicit about just how from a mask of 255.255.255.240 and an address of 192.168.1.9 one can calculate the rest of the addresses in the above example.

Thanks.

Edited by SallyMae, 27 October 2011 - 01:34 PM.

• 0

### #5 SallyMae Posted 13 November 2011 - 04:10 PM

SallyMae

Member

• Topic Starter
• Member
• 88 posts
Well, I've been digging and scrounging. I think maybe I'm getting "warm", here. Can someone tell me if the answer to my question lies somewhere in what is called "bitwise operations"?
• 0

### #6 LouZiffer Posted 16 November 2011 - 06:39 PM

LouZiffer

New Member

• Member
• 1 posts
.

Edited by LouZiffer, 16 November 2011 - 06:44 PM.

• 0

### Similar Topics

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users