UNDER CONSTRUCTION!!and therefore is an outline and is incomplete and unchecked!!
An example: A Linux server/router on a ethenet network with two Win95 and one Win98 computers. The Linux server/router will connect to an ISP as needed or on a timed basis.
Knowledge/Experience needed: Setting up a dual boot Linux and Windows 95 and reconfiguring the Linux Kernel...
How presented: Just the steps needed to get it going and not much on the theory behind it...
How Tested: On a home/office 10Base-T network.. "Professor" is a triple boot AMD-K6(Win98, Linux and FreeBSD)..The intial Linux Kernel was compiled on the Professor and then using either NFS, floppy or ftp to move the new kernel/files over to Godzilla.. Godzilla is an old 386sx and takes all day to compile a kernel.. Professor does a Linux kernel compile in minutes.. So the testing varies a bit from the directions below... Hopefully, your Godzilla is not a extinct dinosaur like mine.
David Decker -- July 1998

A dual boot Linux and Win95 computer for Godzilla
Two win95 computers; Fred and Ginger.
Godzilla, Fred and Ginger networked with ethernet under Win95.
A Linux kernel that supports your ethernet card V2.0.34 is latest..
and has drivers for the NE2000 and DEC 21140 NIC..
Apache 1.3 The current version for Web Serving.
Diald for the Dial On Demand to the net
Use Diald instead of using the kerneld method.
An account with an ISP.
1) Boot up Godzilla under Win95 and make sure that you can see Fred, Ginger and Professor in the Network Neighborhood.
2) From Godzilla, connect to the Internet and download the needed files from above.
3) On Godzilla, Fred, Ginger and Professor go to the Control Panel then Network and double click the TCP/IP --> ethernet adapter .. then click on IP address tab then click on the IP address tab and enter in the below IP's and Netmasks:
Godzilla's IP
Subnet MaskFred's IP
Subnet MaskGinger's IP
Subnet MaskProfessor's IP
Subnet Mask192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0
Now click on the Gateway tab and in New gateway enter in the following:
Godzilla's
GatewayFred's
GatewayGinger's
GatewayProfessor's
GatewayNA 192.168.0.2 192.168.0.2 192.168.0.2
4) Once you have entered the IP address for each computer and rebooted, it's now time to test it. Reboot Godzilla, Fred,Ginger and Professor back to Win95 and go to Start then Programs then MSDOS prompt...Now type in at the MSDOS Prompt.
From Godzilla
C:>\WINDOWS> ping 192.168.0.3and you should get four replies form Fred.C>\WINDOWS> ping 192.168.0.3and you should get four replies from Ginger..
From Fred, Ginger and Proffessor
C:>\WINDOWS> ping 192.168.0.2 and you should get four replies form Godzilla
1) Reboot Professor under Linux and reconfigure the kernel with either #make config or #make menuconfig (this is the easier). Under Network Options select Network Firewalls, TCP/IP Networking, IP forwarding, IP firewalling, IP masquerading and (optional) under Protocol specific, select optimize as router not host... Under Network device support select the correct driver for your ethernet card..
2) Do a #make dep then a #make zImage..or whatever is needed for your installation to compile without/with modules. At least for now, my preference is to compile everything in the kernel and no modules.. Copy the zImage to /vmlinuz and don't forget to rerun #lilo to install the new kernel... (You do have a boot diskette incase the new kernel does not work?)
3) Do a #shutdown -r now and reboot into your new kernel.. Check the error messages as you boot..Linux should see your ethernet card.
4) Let's add everyone to our local network by editting the following files. Make sure the below additions are in them.
/etc/networks
loopback 127.0.0.0 #Leave this!!!
localnet 192.168.0.0 #for our local net..
/etc/hosts
127.0.0.1 localhost
192.168.0.2 godzilla
192.168.0.3 fred
192.168.0.4 ginger
192.168.0.5 professor
/etc/rc.d/rc.inet1
# loopback interface
ifconfig lo localhost
route add -net localnet eth0
#and now for the IP aliasing forwarding rules
FW=/sbin/ipfwadm
${FW} -F -f
${FW} -F -a m -P tcp -S localnet/8 -D default /0
${FW} -F -a m -P udp -S localnet/8 -D default /0
#Now for masquerading timeout-values (tcp tcpfin udp) defaults
${FW} -M -s 3600 0 0
#The two masquerading rules wil translate UDP and TCP traffic to the IP address used
#as the default gateway(PPP interface). Ping uses the ICMP protocol and
# will fail from hosts other than from the router.You can ping hosts on the localnet..
5) Reboot Godzilla with a #shutdown -r now.
6) When Godzilla reboots, see if you can ping fred by name #ping fred and IP number #ping 192.168.0.3
Now do the same for ginger #ping ginger and #ping 192.168.0.4 and then ping godzilla #ping godzilla and #ping 192.168.0.5
7) Now on to the Diald install.