[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What the 8 in 10.0.0.0/8 means and how to compute this number for my network?



Shaul Karl <shaulk@israsrv.net.il> writes:

> I guess that the 8 in 10.0.0.0/8 is somehow connected to the subnet mask. What 
> is the exact relation? How would I compute the appropriate number for my 
> network?
> Pointers which explain it and/or full explanation will be appreciated.

The number after the slash represents how many bits to use for the
subnet mask. In this case, /8 means to use the first 8 bits for the
netmask, leaving 24 for the node, translating to dotted decimal of
255.0.0.0 (11111111 00000000 00000000 00000000). Similarly, a /24
would represent 255.255.255.0, or a /28 would be 255.255.255.240.

-- 
Jakob 'sparky' Kaivo - jkaivo@ndn.net - http://jakob.kaivo.net/


Reply to: