[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 said:
> I guess that the 8 in 10.0.0.0/8 is somehow connected to the subnet mask. What 
> is the exact relation?

It's the number of 1s in the netmask.

> How would I compute the appropriate number for my 
> network?

If your netmask is 255.0.0.0, it's 8, 255.255.0.0 is 16, 255.255.255.0 is 24.
For other values, just render it in binary and count 1s until you reach a 0.

-- 
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P+>+++ L++>++++ E- W--(++) N+ o+ !K
w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI++++ D G e* h+ r++ y+


Reply to: