Carl Lowenstein wrote:
> On Fri, Jun 6, 2008 at 10:51 AM, Karl Cunningham <[EMAIL PROTECTED]> wrote:
>> On 6/6/2008 9:07 AM, Todd Walton wrote:
>>> 167.190.45.0 (address) and 255.255.255.0 (mask)
>>>
>>> which yields an IP range of 167.190.45.1 up to 167.190.45.254.  That's
>>> fine.  But then some of them are of the type:
>>>
>>> 167.190.1.24 (address) and 255.255.255.248 (mask)
>>>
>>> which yields an IP range of... ?
>> If you think of the IP address and subnet mask as dotted-quad
>> representations of binary numbers it might make more sense.
>>
>>> Sometimes the mask is like 255.255.240.0 or 255.255.255.192.  Aagh!
>>> What the heck is going on?  Is there a calculator for this stuff?
>> ipcalc is a Linux calculator for this stuff.
>>
>> $ ipcalc 167.190.1.24 255.255.255.248
>> Address:   167.190.1.24         10100111.10111110.00000001.00011 000
>> Netmask:   255.255.255.248 = 29 11111111.11111111.11111111.11111 000
>> Wildcard:  0.0.0.7              00000000.00000000.00000000.00000 111
>> =>
>> Network:   167.190.1.24/29      10100111.10111110.00000001.00011 000
>> HostMin:   167.190.1.25         10100111.10111110.00000001.00011 001
>> HostMax:   167.190.1.30         10100111.10111110.00000001.00011 110
>> Broadcast: 167.190.1.31         10100111.10111110.00000001.00011 111
>> Hosts/Net: 6                     Class B
>>
> 
> There are 10 types of people in the world.  Those who understand
> binary and those who don't.
> 

LOL << 1 :-)

..j


-- 
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to