On Sat, 21 Apr 2012, in the Usenet newsgroup alt.os.linux, in article
<
XnsA03CA31208...@216.196.97.131>, Ohmster wrote:
>Moe Trin <ibup...@painkiller.example.tld.invalid> wrote
>> Ah, you have to tell it what you're looking for:
>> [fermi ~]$ ipcalc -bmnp
192.168.15.0/24
>> NETMASK=255.255.255.0
>> PREFIX=24
>> BROADCAST=192.168.15.255
>> NETWORK=192.168.15.0
>> [fermi ~]$
>I can see how that would work, as to how to figure it out with ipcalc,
>that is something that even I must admit is not going to happen.
The "ipcalc" program goes back a bit - I think Eric Troan created it
for Red Hat 5.0 (hurricane) back in 1997, and it was used as part of
the installation program. It's really meant as a sanity checker to
verify you are plugging in the "right" values for network parameters.
Actually, this was an improvement on the earlier programs that assumed
you'd only have a Class C network. "Classless Inter-Domain Routing"
(CIDR) goes back to 1992 when the Internet Engineering Steering Group
(an advisory group) decided we needed more than three network sizes
(the old so-called classful A, B and C sizes of 16777216, 65536 or 256
addresses). There was a lot of hand waving, but CIDR more or less
defined 30 (actually 32) network sizes with masks of 255.255.255.254
(a "/31") to 1.0.0.0 (a "/1"). This was an extension of the concept of
dividing up your "big" network into functionally usable "subnets" (the
original RFC0894 Ethernet had a _practical_ limit of 1024 hosts on the
wire, but 150 of them trying to talk at the same time would cause
gridlock). In practice, a lot less of the 30 or 32 binary sizes have
been put to use - currently, the five Regional Internet Registries
(AfriNIC, APNIC, ARIN, LACNIC amd RIPE) are only using 22 sizes from
255.0.0.0 (/8) down to 255.255.255.248 (/29). They also use
_non_binary masks to allocate or assign netspace, but that's an extra
confusion computer operating systems don't deal with.
In practice, most computers are set to deal with a limited number of
networks or sub-nets - I'd bet that more than 3/4 of the computers are
set up on a /24 - and that simplifies a lot of things. It means that
the network mask is 255.255.255.0 (which are also known as /24s or
having a hexidecimal mask of 0xFFFFFF00 depending on the O/S), and
all hosts on this network will have the same first three numbers of
the IP address. The "network" address will have a zero as the last
digit, and the "broadcast" will have 255 as the last digit. That
makes things simple. The problem is where (for some reason) the
network is NOT a /24. In that case, you have to think harder, and
the RFC1878 shows these values. But again, in practice, the world
is on a /24 and the question becomes "which one".
>I know a lot about electronics and if someone wanted me to show them
>how to bridge a powerful audio amplifier, say a stereo amp that
>pushes 200 WRMS into 8 ohms, they had two of them (I did this when I
>was younger and it worked great.), they make a small bridge box to run
>both amps in each unit, on with an inverted signal and then use the
>two hot terminals for one speaker set. Hence, you get a single 400
>WRMS amplifier at 8 ohms.
Of course, that assumes you had speakers that could handle that much
power. No, the first amp I built, I only had two speakers - a 12 and
a 5 inch. So I built a hi-fi amp... a 12AU7 as input amp and split
load phase inverter, and a pair of 6L6GBs for the output - don't forget
the 5U4 rectifier. Didn't _everyone_ play with those old 5 tube AC/DC
radios (series filament string)? Either the older ones with an octal
tube base, or the _modern_ ones with 7 or 9 pin miniatures.
>Like in middle school, I *hated* multiplication tables. Because there
>was no way to "cheat", it was rote memorization, period. We got "times
>tables" cards of all numbers up to 12 and had to memorize ALL of them.
A lot of learning at that stage was all memory. It started out by
learning to spell - I remember catching hell in first grade because
I very carefully spelt my own name (fifty times I think) wrong. I'm
sure you remember the dread you had of spelling tests, and going
through the crap of learning to add and subtract. And geography! Oh,
please don't ask me what the capital of Nebraska is... and I can't
even _spell_ Tallahassee!
>1-5 was easy, anyone can do it, once I got to 6, 7, & 8, it got hard
>because these are "in between numbers" that do not round off to ten
>or anything easy to remember. 56, 64, & 49 just did not come easy for
>me.
About the first week of 8th grade, I first saw a test that had a
square root problem - hadn't been taught that. A more knowledgeable
kid explained that the square root symbol was asking "what times
itself makes this number"... light goes on - I knew 8x8 was 64 ;-)
Old guy