THAT NETMASK MAN
(Getting Network Technical)
Here's a temporary example Gateway setup that works for me on a mini
LAN. I'm using 2 Amigas & a PC on the LAN. I'll call the
machines A1200, A2000, & PC4333 based on the different models.
Here's the simplified topography of the setup:
(cable) (cable)
A1200 <------------------------> A2000 <----------------> PC4333
(AmigaLink on floppy port) (10Base2 Ethernet)
Here's the Host List:
192.168.0.1 pc4333.deker.net pc4333 ; Ethernet
192.168.0.3 a2000.deker.net a2000 ; Ethernet
192.168.0.11 a2000.deker.net a2000 ; AmigaLink
192.168.0.12 a1200.deker.net a1200 ; AmigaLink
The A2000 acts as a Gateway for the other computers. PC4333 uses
192.168.0.3 as its gateway while A1200 uses 192.168.0.11 as its
gateway. Both IP addresses are associated with a specific hardware
interface on the A2000.
Here's the corresponding NetMask & associated SubNet setup:
IP Address NetMask Subnet Addr Broadcast Addr
------------- --------------- ------------ --------------
192.168.0.1 255.255.255.248 192.168.0.0 192.168.0.7
192.168.0.3 255.255.255.248 192.168.0.0 192.168.0.7
192.168.0.11 255.255.255.248 192.168.0.8 192.168.0.15
192.168.0.12 255.255.255.248 192.168.0.8 192.168.0.15
Any LAN has a Network Address & a Broadcast Address when using
TCP/IP. For a standard ALL ETHERNET LAN using 192.168.0.? as the
range of IP addresses, the Network address is 192.168.0.0, the bottom
of the range of addresses. The Broadcast address is at the top of
this range, or 192.168.0.255. Both the network address &
broadcast address are reserved addresses and cannot be assigned to
any computer. The default Netmask for the LAN in this case would be
255.255.255.0.
By varying the netmask, the number of computers that can be in the
subnet can be changed. Acceptable netmask values include 0, 128,
192, 224, 240, 248, and 252. 254 is an unusable netmask value
because it restrains a subnet to only 2 addresses, the Network
Address & the Broadcast Address, and leaves no addresses for
computers or other hardware. Can you determine why there are only a
few acceptable netmask values? If you express them in binary form, I
think you'll understand why.
When dividing a network into smaller groups when different interfaces
are being used, the Subnet address corresponds to the Network
address, and the subnet has a corresponding broadcast address at the
top of each subnet.
So, how does the netmask get determined? Here's an example for the
above situation for my LAN. We will work with the last number in the
IP address. For example, the "?" in 192.168.0.? is the number we'll
focus on. We'll also be converting this number to BINARY format.
- In!BINARY, decimal 255 looks like 11111111; and decimal 0
looks like 00000000.
- We want the binary form of the subnet address to end in "0" as in
11111110; and the broadcast address to end in "1" as in 00000001.
- For each subnet, we need to allow enough addresses for the number
of machines on the subnet by selecting a proper netmask.
- The binary form of the netmask number will always be allocated
1's starting from the left position.
For the network example given above, the ethernet will accommodate IP
addresses 192.168.0.0 to 192.168.0.7, including the subnet &
broadcast addresses. In binary form the first and last available
address numbers look like this:
0 0 0 0 0 0 0 1 = 1 decimal; host address of first computer on subnet
0 0 0 0 0 1 1 0 = 6 decimal; host address of last subnet computer
1 1 1 1 1 0 0 0 = 248 decimal in netmask 255.255.255.248
---------------
0 0 0 0 0 0 0 0 = 0; we AND the 6 (last machine in subnet) & 248
(Netmask) to get our subnet or network address.
IN FACT, ANY IP ADDRESS IN THE SUBNET ANDED WITH THE NETMASK RESULTS IN THE SAME SUBNET ADDRESS!
For the AmigaLink subnet our IP addresses, including subnet &
broadcast addresses, range from 192.168.0.8 to 192.168.0.15. In
binary they look like this:
0 0 0 0 1 0 0 1 = 9 decimal; first computer host address available
0 0 0 0 1 1 1 0 = 14 decimal; last computer host address available
1 1 1 1 1 0 0 0 = 248 decimal in netmask of 255.255.255.248
---------------
0 0 0 0 1 0 0 0 = 8; we AND the 14 & 248 together to get our
subnet address.
NOTE the patterns. The Netmask has 1's on the left & 0's on the
right. Only the 1's on the right side of the IP addresses change. A
subnet address range begins with an even value & ends with an odd
value just as if we weren't using a smaller subnet than the standard
IP addressing provides. The netmask value determines the maximum
number of device addresses that can be used!on a subnetwork.
TED'S MEANER A4000
After last month's meeting, Ted Dean and I spent some time working on
his A4000 tower. For whatever reason, Ted's A4000 has not been the
speediest of Amigas and he had been unable to get SHAPESHIFTER
running since his "upgrade" to an A4000 with PPC.
I'm happy to report that Ted's machine now "flies", and that
SHAPESHIFTER works again. How we got there I'm not quite sure, but
we did re-install all the Phase5 software and upgraded to the latest
library files using downloaded updates from the Phase5 Web site.
Somewhere along the way, Ted's A4000 took on a new personality.
Normal screen updates and directory accesses with the embedded 50MHz
68060 makes most Win95 400MHz PC's look like they're standing still when
doing comparable tasks.
To enable SHAPESHIFTER to run with Ted's Phase5 hardware, we removed
the PREPAREEMUL (it was already disabled since it slowed the system
down) command from the beginning of his STARTUP-SEQUENCE file and
substituted uhe following command using the Phase5 software:
SYS:CYBERTOOLS/CYBERMAP ROM PATCHMAC
We also added 3072 buffers to the existing 256 buffers on the
partition containing the SHAPESHIFTER Mac HardFile. We used an
ADDBUFFERS command in the USER-STARTUP file to make the additional
allocation.
When we were done, SHAPESHIFTER was booting and running from the
hardfile very nicely.
======================================
_ __ _ <>_ __ _
/\\ |\ /|| || / ` /\\
/__\\ | \ / || || || ___ /__\\
/ \\_| \/ ||_||_ \__//_/ \\_
======================================
FUTURE MEETINGS
If you have either software or hardware for your Amiga that has taken
your fancy, please bring it to our attention. I'm sure your specific
interests will be of interest to others. Let me know if this is the
case at the next meeting, or leave me email on our BBS. Remember, a
user group is only as rewarding as the sum of the efforts of its
individual members.
DIRECTIONS FOR ST. AUGUSTINE CENTER MEETING ROOM
Meetings are in the St. Augustine Center at Villanova University. The 8-bit
and PC sessions will be in Room 110 (Amigans at John Deker's house).
Enter from the ITHAN AVENUE main gate, then proceed to the 2-level parking
building adjacent to St. Augustine, on the Ithan Avenue side.
NOTE: maps on our webpage - http://astro4.ast.vill.edu/mlcug/
64/128/PC/Amiga Meetings 2000 Steering Committee Meetings
January 8 January 19
February 12 February 16
March 11 March 15
* = first Saturday ** = second Wednesday
**********************************************************
EDITOR: Emil J. Volcheck, Jr. 1046 General Allen Lane West Chester, PA
19382-8030
(Produced with C-128D/SCPU 128, RAMlink, HD-40/85, 1571, FD-4000, THE WRITE
STUFF 128, XETEC Super Grafix, Canon BJ-200ex, Swiftlink and Motorola 288
modem)
MLCUG BBS: 610-828-1359 (300 --> 33600 bps), 24 hr/day
WWW: http://astro4.ast.vill.edu/mlcug
PUBLICITY: Robyn Josephs 610-565-4058
DISK ORDERS: Charlie Curran 610-446-5239
VILLANOVA SPONSOR: Prof. Frank Maloney, Dept. of Astronomy
MLCUG STEERING COMMITTEE:
PRESIDENT: Emil Volcheck 610-388-1581
SECRETARY: Charles Curran 610-446-5239
TREAS./MEMBERS:Dewitt Stewart 610-623-5145
AMIGA SIG/SYSOP: John Deker 610-828-7897
INTERNET/Linux:Peter Whinnery 610-284-5234
DATABASE: Layton Fireng 610-688-2080
AT LARGE: Tom Johnson 610-525-3440