Computing.Net > Forums > Networking > Routing between subnets using Windows XP Pro

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Routing between subnets using Windows XP Pro

Reply to Message Icon

Name: PLCDave
Date: July 23, 2009 at 16:09:39 Pacific
OS: Windows XP Pro SP2
Subcategory: Routers and Hubs
Comment:

I'm looking to route data through an XP Pro machine with two network cards. A diagram of what I'm try to do can be seen here:

http://i26.tinypic.com/10hw1oh.jpg

Someone else asked a similar question, but in two years, got no replys:

http://www.computing.net/answers/ne...

I think I need to make some route table edits. Just not sure which edits to make. Any suggestions would be appreciated.

Dave



Sponsored Link
Ads by Google

Response Number 1
Name: guapo
Date: July 23, 2009 at 18:13:08 Pacific
Reply:

I've always considered dual homed windows machines a big pain in the butt & not worth the hassle, especially on a home network.

However, I'm glad you asked that question because I just learned something from the diagram that you posted. The caption showing the line ipenablerouter=1 is a registry change. I searched it on Google & there are a lot of hits. The registry key is:

HKLM\SYSTEM\CurrentControlSet\Services\Parameters\IPEnableRouter=1

(default is IPEnableRouter=0).

My guess that the registry change allows the NICs to communicate based on the routing tables you create using the route add command. I would have to actually try it to have a complete understanding of the procedure but it might be enough to get you started. Let me know how far you get.

How do you know when a politician is lying? His mouth is moving.


0

Response Number 2
Name: PLCDave
Date: July 23, 2009 at 18:56:06 Pacific
Reply:

I had already made that regedit, I only included the last part of the key for brevity.

The network is a model of one that exists in a plant. That pain you speak of would have me use different hardware could I.

My problem is that I don't know half what I should about routing. While waiting to see what others have to suggest I'm madly trying to teach myself to properly read a route table, a skill I wish I'd aquired sooner.


0

Response Number 3
Name: guapo
Date: July 23, 2009 at 19:57:10 Pacific
Reply:

Then the next step is understanding the route command. Looking at it, I see that you need to add routes for each NIC & the -p switch has to be used for windows to remember it after it reboots.

So far we have:
route -p add destination_IP netmask gateway metric

Let's say there are 2 NICs each on a different subnet, one is 192.168.0.2 & the other is 192.168.1.2 The way I understand it, if we were configuring 192.168.0.2 we would use:
route -p add 192.168.1.2 255.255.255.0 192.168.0.2 [metric] [if]

The metric is the number given to the NIC you are configuring which can be seen in the route print command.

[if] is the IP of the same interface. It's only used if you want to be sure that windows is using a particular interface.

That's my best guess. Change the command as you see fit & let me know what works.

How do you know when a politician is lying? His mouth is moving.


0

Response Number 4
Name: legitsys
Date: August 18, 2009 at 09:05:10 Pacific
Reply:

Well I came across your question while looking for an option to my own problem.
I came across the following link :

http://www.petri.co.il/configuring_...

However, I you only want to restrict pc 192.168.254.1 & 10.10.10.12 to only sent emails, you might try (for the mean time) :
a. set all the computer in the same network (192.168.50.0)
b. use "Local Security Setting" (IPSec - I think) to only allow the pc to access only email server ip address.

I hope that can give some help


0
Reply to Message Icon

Related Posts

See More


Unplugging laptop means l... Security at risk if I sha...



Post Locked

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


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Routing between subnets using Windows XP Pro

Remote Desktop Windows XP Pro to Wi www.computing.net/answers/networking/remote-desktop-windows-xp-pro-to-wi/31313.html

windows xp pro iis problems www.computing.net/answers/networking/windows-xp-pro-iis-problems/16120.html

Bandwidth Limits using Windows XP? www.computing.net/answers/networking/bandwidth-limits-using-windows-xp/12904.html