XP box as a gateway to a wireless network

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/Image:Small_office_router_b.png

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

Thanks,
Ray
2 answers Last reply
More about gateway wireless network
  1. 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.
  2. 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.
Ask a new question

Read More

Wireless Network Windows XP Internet Networking