Roll your own router with an old PC

Last Updated on April 18, 2017 by Dave Farquhar

Freesco works. Yesterday was D-Day. I brought a copy of Freesco over to Gatermann’s, set it up, and watched it go. Well, at first it didn’t–it got the two Ethernet cards confused. So I switched the cards and it fired up. Absolutely smashing, as they’d say in Britain. I dumped it to his old 1.2-gig Quantum Bigfoot hard drive, and it boots up in about 35 seconds. When living on a hard drive, Freesco wants to dual-boot with MS-DOS. He didn’t have DOS on that drive, so Tom dug out an old Windows 95 boot disk, with which I SYSed the drive. Then I just took the file router.bat that Freesco dumped to the drive and copied it to autoexec.bat. Then I rebooted and we got a laugh.

Starting Windows 95…. Then it briefly displayed the Windows 95 splash screen. Then the splash screen went away. Loading Linux, it said. Ah, Linux comes and kicks Windows aside. We both got a chuckle.

And Tom had a great observation. “The only time I ever have to reboot Linux is when I take the system down to try a different distribution,” he said. That’s about right.

I was talking about what a great use this would be for old, no-longer-useful PCs–as long as it can run Linux, it can be a caching DNS, a router, or something else useful. That means any 386 with 8 MB of RAM is a candidate.

But don’t throw away the 286s yet. Then someone had to one-up me. Dev Teelucksingh, master of DOS utilities, sent me a link: http://www-acc.scu.edu/~jsarich/ieweb/main.htm .

What is it? A DOS-based router. System requirements: DOS 5 or higher, 286 CPU, 1 MB RAM. Astounding. So even a 286 can be useful, even in this day and age. Licensed under GPL, so it’s free. No caching DNS, but hey, on a 286 with a meg of RAM and running DOS, whaddya want? And just giving the program a quick look, a hard disk should be optional–the program is 430K zipped, so it should fit on a high-density floppy along with DOS, HIMEM.SYS, and packet drivers for the NICs. Boot it off a 5.25″ 1.2-meg drive just to see what looks you’ll get. 🙂

Come to think of it, I have a 286 with a meg of RAM around here somewhere. Part of me (the insane part, surely) wants to give it a go. The question is, can I get two NICs working in 8-bit slots, since I know that 286 only had one or two 16-bit slots and I think they’re occupied by the disk controller and video card…

Here’s Dev (his site’s definitely worth a look even if you have no interest in IP masquerade–I’ve never seen a better collection of DOS programs):

Been reading your posts regarding IP masquerading and I found two DOS solutions (just waiting to get a ISA networking card to try either of them 😉 )

IProute v1.10          http://www.mischler.com/iproute/IPRoute is PC-based router software for networks running the Internet Protocol (IP). It can act as a demand-dial router between your LAN and a PPP or SLIP link, and allow transparent access from your LAN to the Internet using a single IP address through network address translation (NAT). It can also act as a PPP server for dial-in connections, or route between LANs. Other features include routing between multiple ethernet and serial interfaces, packet filtering, RIP, and event and packet logging to a remote syslog daemon. More recent features include proxy ARP, remote management via telnet and ftp, support for RealAudio & RealVideo, a RADIUS client, and a DHCP client. Shareware. (1 hour demo available for download)

Internet Extender     http://www-acc.scu.edu/~jsarich/ieweb/main.htm

The Internet Extender is a DOS based program designed to function as an Internet Gateway Router that performs Network Address Port Translation. The program must be used in an multi-homed machine, or a machine with two network interface adapters connecting to separate networks. The two possible configurations are: 1.) Connected to the Internet through a Modem 2.) Connected to the Internet through a Network Interface Card

Freeware, (published under GNU license) so source code is also available

Dev Anand Teelucksingh
Interesting DOS programs at
http://www.opus.co.tt/dave
Trinidad and Tobago Computer Society at http://www.ttcsweb.org

— This mail was written by user of The Arachne Browser —
—                
http://arachne.cz/                   —

If you found this post informative or helpful, please share it!