Tom's Hardware > Forum > General Networking > Network General Discussions > XP box as a gateway to a wireless network
Word :    Username :           
 

Hi,

I have an Windows XP box with 2 NICs, one which connects to the Internet, and the other connects to a network router over Ethernet. I have other pcs which are connected to that router, and I want them to be able to connect to the Internet.

The overall setup looks something like this:

http://wiki.untangle.com/index.php [...] uter_b.png

How do I do this? I'm not sure if Internet Connection Sharing or Bridging should be used.

Thanks,
Ray

Sponsored Links
Register or log in to remove.

Hi,

figured this out.

1. Set static IP details for the NIC (the one that connects to the router).

IP address: 192.168.<x>.1
Netmask: 255.255.255.0
Gateway: <blank>

2. Configure the router's WAN settings.

Router's IP address: 192.168.<x>.10
Netmask: 255.255.255.0
Gateway: 192.168.<x>.1

Be sure to check that your LAN and WAN are on different subnets. For example, if your router is at 192.168.10.10, it should give out addresses in the range, say, 192.168.20.100-199.

This is because some routers don't allow the LAN to be on the same subnet as the WAN (mine didn't); even if yours allows this, you should still use different subnets as a precaution against collisions.

3. Edit the registry value of IPEnableRouter to 1:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters

You might need to reboot for the registry changes to take effect.

4. Make sure that the cable from your NIC connects to the WAN/Internet port on the router, not a LAN port.

You should be all set.

Reply to rctay

Wow.. bravo on going about it the hard way. :)

You could have hooked everything up to your Router and allowed it to do all the work for you. Now you have to keep that PC on in order for other computers to have internet access.

The purpose of a router is to connect to the internet. If DHCP is enabled in the router, all computers would need to hook up to the router. If you have a WAP in place, you would simply need to configure that with a static IP address and make the Gateway the IP address of the router. Problem solved.

------------------------------ "Alcoholism is a disease, but it's the only one you can get yelled at for having. Goddammit Otto, you are an alcoholic. Goddammit Otto, you have Lupus... one of those two doesn't sound right." M. H.
Reply to Riser
Tom's Hardware > Forum > General Networking > Network General Discussions > XP box as a gateway to a wireless network
Go to:

There are 1100 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them