Tom's Guide | Tom's Hardware | Tom's Games | PC Safety Suite
![]() |
![]() |
![]() |
Comment:
Ok, I'm trying to get my housemates laptop to connect through my pc to the Internet.
My pc connects to the Internet by wireless through my neighbours Router/AP, I'm using an amplifier and external antenna to do this. My housemates laptop has a wired connection to my PC through a router. All IP addresses are static.
My housemates XP Pro laptop –IP address: 10.10.160.6
Subnet mask: 255.255.255.240
Default gateway: 10.10.160.3My Router/AP –
IP address: 10.10.160.1
Subnet mask: 255.255.255.240My XP MCE 2005 PC with IP Routing Enabled -
(Wired)
IP address: 10.10.160.3
Subnet mask: 255.255.255.240(Wireless)
IP address: 192.168.0.155
Subnet mask: 255.255.255.0
Default gateway: 192.168.0.1Neighbours Router/AP Internet Gateway
IP address: 192.168.0.1
Subnet mask: 255.255.255.0So what am I missing?
+1 | ![]() |
If I enable ICS it changes my IP to 192.168.0.1 which is the IP of the AP which I get my internet through, so that really isn't an option.
IP forwarding sounds like a better option works fine under Linux just can't get it to work under XP.
+1 | ![]() |
Ok, I think this is what I have to do –
Enable IP forwarding using the registry editor. – already done that.
Enable Routing and Remote Access. Change its status from disabled to automatic and then start it. This can do from Administrative Tools. – done that.
Open a Command Prompt and type -
netsh routing ip nat install
netsh routing ip nat add interface "Wireless Network Connection" full
netsh routing ip nat add interface "Local Area Connection 3" privatenow here’s the problem – (see picture below)
+1 | ![]() |
Ok, I this worked –
Enable IP forwarding using the registry editor.
Enable Routing and Remote Access. Change its status from disabled to automatic and then start it. This can do from Administrative Tools.
Open a Command Prompt and type -
netsh routing ip nat install
now reboot xp
Open network connections in the control panel to find the name of your network connections.
Open a Command Prompt and type -
netsh routing ip nat add interface "Wireless Network Connection" full
netsh routing ip nat add interface "Local Area Connection 3" privatenow reboot xp
Now Disable Routing and Remote Access. Change its status from automatic to disabled and then stop it.
Now right click on the wireless network connection (the internet connection) on the taskbar and click repair.
+1 | ![]() |
After disabling Routing and Remote Access from Administrative Tools you have to reboot XP.
Routing will be enabled again after reboot.
In fact I'm not convinced you even have to enable Routing and Remote Access from Administrative Tools in the first place, maybe just enabling routing using regedit.exe does the job, I dunno.
+1 | ![]() |
Alright, I got it wrong, you gotta use Administrative Tools Enable Routing and Remote Access.
All working now, best I leave it alone.
+1 | ![]() |
If I enable ICS it changes my IP to 192.168.0.1 which is the IP of the AP which I get my internet through, so that really isn't an option.
There's nothing stopping you from changing that IP statically to whatever you want you know....it's just the default when you enable ICS is 192.168.0.1. If you had done it that way, it would have saved you a lot of playing around.
The good news is you got it working regardless and learned something doing so.
![]() |
Wifi & LAN (same time...
|
inst.W-less router in HUB...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.