----- Original Message -----
From: "Ina Patricia Lopez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 10:54 AM
Subject: [plug] private ip


> hi!
>   holiday season took my math out!  how many hosts are there in the
> private ip addresses? :)
>
> 10.0.0.0 - 10.255.255.255 (10/8 prefix)
> 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
> 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

class A private ip address 10.0.0.0/8 =  2^(32-8) - 2 = 16777214 hosts
class B private ip address 172.16.0.0/12 = 2^(32-12) - 2 = 1048574 hosts
class C private ip address 192.168.0.0/16 = 2^(32-16) - 2 = 65534 hosts

minus 2 because of network and broadcast address which is not part of a host
ip address....

> how did we come to that number of hosts?

because of subnetting...

fooler.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to