Using a multihomed Win98SE box as a router between wired & wireless networks
Posted on 2003-03-08
I've got what I hope will be an interesting question for the experts.
I have a wireless network in my home with a SpeedStream WAP/router with 3 wired ports and built-in DHCP wired to my desktop Win98 box in the family room and also to my broadband "cable modem", and a couple of notebooks with PCMCIA wireless cards. I have a shop building 50-60 feet away from my WAP where I store all my computer "junk" (my wife's term) and spend my spare time working on (or playing with - depending on who you ask) computers.
In the shop I have a 98SE desktop box with an integrated NIC. This is connected to various other computers through a 5 port 10baseT hub. I bought a USB wireless adapter, installed it on the shop computer and got it to hook up to the wireless network in the house - so far so good. It also connects just fine to the wired network in the shop.
Now I am trying to configure the 98SE desktop box out in the shop to route between the computers on the wireless network in the house and the wired network in the shop. I've read what I could find on the subject and added "EnableRouting=1" in the HKLM\.....\Vxd\MSTCP registry key and that looked like it would work (a check mark appeared in the "IP Routing Enabled" checkbox when I run Winipcfg.exe) but I still couldn't ping from one network to the other. I also assigned static IPs for both NICs (I understand this is a requirement for IP forwarding to work, right? If not just let me know - I'd rather use DHCP for the wireless USB adapter) in the Network TCP/IP properties as outlined below
Subnet Mask 255.255.255.0
USB Wireless Adapter
Subnet Mask 255.255.255.0
Gateway 192.168.254.254 (WAP's IP)
At this point I still couldn't access the wireless network or the internet from the wired network, and I couldn't access the wired network from any of the PCs on the wireless network either. I still couldn't even ping between the networks - and I thought I should have been able to with IP forwarding enabled. Next I tried executing the following two commands
route add 169.254.225.0 mask 255.255.255.0 192.168.254.40
route add 192.168.254.0 mask 255.255.255.0 169.254.225.134
But that didn't seem to help either. Next I ran the Win98SE Internet Connection Sharing Wizard and pointed it at the Wireless USB Adapter as the NIC connected to the internet. Still no dice.
What am I doing wrong here, and/or what else do I need to do?
Looking forward to your answers.........