From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Off topic... but couldn't get any help...
Date: Wed, 21 Oct 1998 10:55:52 -0600 (MDT) [thread overview]
Message-ID: <199810211655.KAA05116@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.BSI.3.95.981021103605.3329B-100000@shell1.cybercom.net> from "Keith Baker" at Oct 21, 98 10:40:59 am
Keith Baker wrote:
>
> Those damn subnet masks got me.
IPv4 address is really a 32-bit long unsigned number. It is divided
into four octets, separated by dots, simply for a better readability
by humans. :-) Netmask splits your address into a "fixed" (all those
bits in your address which have a bit "on" in your netmask) and
"movable" parts. If you 'and' your machine address with a netmask
you should get your network address. Replacing in this address all
those bits which in netmask are 0 with 1's will give you your broadcast
address. Other combinations of bits in the "movable" part provide
valid addresses for hosts on your subnetwork. It follows from that
that a minimal subnetwork may have four addresses (two bits, one
network address, one broadcast and two hosts) and that you may split
a C class address into 28 subnetworks of that kind wasting 198
host addresses in the process.
Of course nothing says that all your subnetworks have to be of the same
size. :-)
Michal
next prev parent reply other threads:[~1998-10-21 17:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-21 5:37 Off topic... but couldn't get any help Keith Baker
1998-10-20 4:30 ` Rich Payne
1998-10-21 22:03 ` Maurice Hilarius
1998-10-22 2:03 ` sm@cs.sdu.edu.cn
1998-10-21 7:14 ` Steve G
1998-10-21 13:58 ` Scott Lewis
1998-10-21 14:40 ` Keith Baker
1998-10-21 16:55 ` Michal Jaegermann [this message]
1998-10-21 20:22 ` Keith Baker
-- strict thread matches above, loose matches on Subject: below --
1998-10-21 15:24 dr john halewood
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox