This webpage contains instructions on how you can configure Windows 95 to connect to the Internet, using IPRoute/ISPA as a software router. For lots of information on IPRoute and ISPA, and some background on sharing an Internet connections (modem, ISDN etc.) with multiple computers, click here.
These Windows95 setup instructions were to a large extend 'borrowed' from the WinGate instructions on www.windows95.com. Or, I should rather say that I used the "look and feel" of that page. That's because the actual configuration itself is easier, compared to WinGate.
Using special software, you can configure a DOS machine (with a modem or ISDN card) as a gateway machine that allows Windows 95, OS/2 Warp machines, Linux machines etc. that are connected by network adapters and cables to access the Internet through the same connection. You MUST have network cards in order to make this work.
Configure the network adapter's settings: the IRQ (interrupt), DMA and I/O port. For older cards you may have to rearrange some jumpers on the card itself. The newer ones (even the cheap NE2000 clones) come with a DOS configuration program which allows you to change the settings through software. In most cases the default settings should work. Sometimes the DOS configuration programs warns if the adapter's settings are conflicting with other hardware.
Power down your machine and install the network adapter card according to the instructions provided by the manufacturer.
You have to obtain a so-called DOS "packet driver" for the adapter. In most cases, the network card comes with a floppy disk containing such a driver. If not, you can download a set of drivers from several places, including this site.
IPRoute is an application written by Dave Mischler. If you don't have a copy of IPRoute, you can download it from his site.
Because of the way IPRoute works, you'll need to assign some special (known as "private" or "dummy") IP addresses to each of the machines on your LAN, including the Gateway machine.
Next, use 255.255.255.0 as the subnet mask.
Power down each Workstation and install the network adapter card according to the instructions provided by the manufacturer. Connect your network cables and make sure that they are properly terminated. You cannot simply connect one end of an ethernet cable to the Gatway machine, and the other to the Workstation. If you use Ethernet (10Base2, coax cable) you must use "T-connectors" with terminators on one end of the T-connector at both "end" machines in the string of computers. If you have 10BaseT, TokenRing, 100BaseX or whatever, you need a "hub". Do not install any software drivers for the network adapter - there is a good chance that Windows 95 will auto-configure the adapter when you turn on the machine.
Restart Windows 95 and watch to see if it auto-configures (you'll see a message telling you what it is doing and it will reboot). If it does not auto-configure your network adapter, press the button, select Settings..., then Control Panel. Double-click the Add New Hardware icon. Follow the prompts and Windows 95 will install your adapter and reboot.
Press the button, select Settings..., then Control Panel. Double-click the Network icon. You'll see a dialog box like this. To install TCP/IP, hit the Add... button, double-click Protocol, then select Microsoft, then TCP/IP, and hit OK.
As was stated before, you'll need to assign some private IP addresses to each of the machines on your LAN. Since you've already given a private IP address to the Gateway machine (192.168.0.1), you'll need to provide unique IP addresses in the same subnet to the Workstations on the LAN. If you don't know what that means, don't worry. Just number all your LAN worksations consecutively, starting from 192.168.0.2, then 192.168.0.3 and so on. For example, since you used 192.168.0.1 for the Gateway machine, use 192.168.0.2 for the first Workstation, 192.168.0.3 for the second, etc. Make sure you choose a different private IP address for each machine, and remember which number you chose.
On each of the Workstations, press the button, select Settings..., then Control Panel. Double-click the Network icon. You'll see a dialog box like this. Select the TCP/IP properties. Press the Properties... button. You should get the TCP/IP Properties box.
There are six sections in this dialog box. We'll deal with them in order. In each case, you can click on the section title to get a picture of the dialog box with the correct options selected.
Select the Specify an IP address option. Then type in the unique private IP address you chose for this machine. It must not be the same as any other machine on the LAN, including the gateway machine. If you accidently do use the same address as some other machine, Windows95 will popup a message saying that somebody else is using the same address and that you will have to do something about that. Next, fill in the Subnet Mask text area with 255.255.255.0.
You may want to set up a HOSTS file if you want to reach the other machines on your LAN using their name and not their number (192.168.0.x). This is explained in the next step.
This is an important step. Without a DNS specified, the Workstations will not be able to use Internet names (like ftp.microsoft.com) but only Internet numbers (like 184.108.40.206). In the DNS Server Search Order field, enter the IP number(s) of the Domain Name Servers (DNS) used by your ISP. If you don't know what these are, call their helpdesk, they should be able to give you this essential information. Click on Add (no, if you click on OK it won't be added!). Normally, I don't bother with Domain Suffix Search Order.
A HOSTS file acts as a local database that tells your computer where to go when it's looking for a certain address, kind of like a "mini-domain name server." Use NOTEPAD, EDIT or whatever to create a new text file. You can add entries in this file for the IP addresses and the names you gave to your Workstations, separated by at least one space. You can also add an entry for the Gateway machine if you want. Here's an example of the structure of this file:
Make sure you press ENTER at the end of the last line of text, otherwise
Windows 95 may have trouble recognizing it. Save your file in the
\WINDOWS directory with the filename HOSTS with NO file
extension (for those who care, the HOSTS file entries do not replace or
interact with NetBIOS names in any way). Notepad is a braindead program, so
in order to save a file name with no extension in Notepad, you have to surround
the name in quotes, and add a dot to the end. Crazy. You might want to use
good old EDIT from DOS instead.
Fire up all the machines (including the Gateway machine). Do not dial your Internet Service Provider yet; you still have a couple more things to set up. However, now is a good time to make sure that everything is working smoothly up to this point.
From the Windows 95 command prompt, type
from each of your Workstations. If you get a response back, then the TCP/IP connection between the machines is working. If you get a Request timed out message, or a Bad IP Address response, check your physical connection between the machines, then go back and check all previous steps.
Once the Gateway machine replies to pings from each of the Workstations, it is time to test your DNS setup.
Fire up ISPA and IPRoute by executing the batch file. Next, go to a Workstation, and type
ping ftp.microsoft.comYou should get a message back similar to the following:
Pinging [220.127.116.11] with 32 bytes of data 40 bytes from ftp.microsoft.com (18.104.22.168): icmp_seq=0. time=236. ms 40 bytes from ftp.microsoft.com (22.214.171.124): icmp_seq=1. time=306. ms 40 bytes from ftp.microsoft.com (126.96.36.199): icmp_seq=2. time=284. ms 40 bytes from ftp.microsoft.com (188.8.131.52): icmp_seq=3. time=277. msThis means that your Workstation was able to look up the name and that the host is reachable. If you don't get the first line, there is something wrong with your DNS settings, and you should check the previous steps.
In contrast with WinGate, you will not have to tell all your Internet software to use proxy servers. Most programs will run out of the box with IPRoute. However, you will of course still need to follow your ISPs guidelines to access their newsserver, mailserver, webserver, FTP server, what have you, but this will be exactly the same as if the Workstation was connected to the ISP using a modem/ISDN card.
Some ISPs offer a cached proxy server for the WWW. You can configure your browser to take advantage of that. (The proxy server runs on an machine of your ISP, not on yours).,
WARNING: I have no idea if the following is requiring. Just try without it, and if WS_FTP doesn't work, enable it and see if it solves the problem: for each FTP session name you create, select Advanced and select the User with no logon option.
Everything should be ready to go! Fire up the Workstations and try using some Internet apps. The Gateway machine should dial out since there is some traffic directed to the Internet. If the Internet apps aren't working correctly, but you're sure they can access the Gateway (you can ping the gateway), double check the Gateway and Subnet Mask settings in TCP/IP configuration of Windows95.
If you have support questions concerning IPRoute, you should register the software and direct your questions to Dave Mischler. For more information about features and/or options with IPRoute, please refer to the IPRoute documentation.