On Tue, Mar 14, 2000 at 04:44:06AM +0200, Shaul Karl wrote:
> Any pointer and/or full explanation about the 8 in 10.0.0.0/8 and the way to
> compute it for my network?
> I guess that it has much to do with the subnet mask but isn't subnet masks of
> the form 255.255.0.0?
10.0.0.0 consists of 32 bits (8 bits for each number).
/8 means 8 significant bits - thus, when an IP is compared
to 10.0.0.0, it's enough for it to match the first 8 bits
(= 1st IP number part, one byte).
This is equivalent to:
10.0.0.0/255.0.0.0
/255.0.0.0 is a logical-AND mask.
It will be logical-ANDed to 10.0.0.0 (or whatever subnet IP
you specify) and to each and every IP which should be checked
whether it is in your network (like 10.0.0.5 etc.).
If after the subnet IP and the checked IP had the subnet
mask applied to them, both IPs do match,
then the checked IP is in the "subnet".
--
Best regards,
Ilya Konstantinov a.k.a Toastie
[http://toast.demon.co.il]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]