On Sun, Nov 14, 1999 at 05:02:37PM -0800, Steve Lee wrote:
> I have a block of 8 ip address.
> from a class C. for example.
>
> x.x.x.128 to 135
>
> I make my network address x.x.x.128
> my broadcast address x.x.x.135
> but what do i set for my netmask? 255.255.255.???
>
> how do i figure out the netmask for
> something like this?
To calculate the netmask, you need to calculate how many bits you have
available for your own network nodes, then subtract that from 32.
In your case, you have 8 addresses, which require 3 bits. So your netmask
is 29 bits long. The first 24 bits define the first three bytes, the last
5 define the first half of the last byte:
FF.FF.FF.F8
Or, in decimal: 255.255.255.248
(or, if you think backwards, 248 = 256 - 2^3)
--
Steve Borho
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.