Friday, November 16, 2012 5:54 PM
i have a network and want PCs in range 192.168.2.1 connect to PCs in range for 192.168.3.1 with a windows 7 as a router.
Is there any solution?
Friday, November 16, 2012 9:44 PM
It depends on your router. Generally privit subnets are not routable, but in practice, if you have "real" router, you can configure router table. It does nothing with Windows 7.
Friday, November 16, 2012 11:30 PM
You can enable IP routing in Windows 7 by modifying the relevant registry key.
The IPEnableRouter registry entry:
Set registry entry to 1 (data type is REG_DWORD)
This will enable IP forwarding on the workstation. However traffic will only move from one subnet to the other if the routing is set up correctly. It will "just work" if the router is the default gateway for both subnets.
192.168.2 x dg 192.168.2.254
192.168.2.254 dg blank
Win 7 router
192.168.3.254 dg blank
192.168.3.x dg 192.168.3.254
It gets harder if either subnet uses a different gateway. You need extra routing to get the traffic to the Win 7 router (and these routes are not set up on the router workstation itself).
The Win 7 router can only forward traffic which actually reaches it! It can do nothing about traffic which goes to a different gateway.
- Marked As Answer by Juke ChouMicrosoft Contingent Staff, Moderator Tuesday, December 04, 2012 3:30 PM
Tuesday, November 20, 2012 9:31 AMModerator
Before you want to consider Windows 7 as a router, you must make sure this computer is equipped with 2 network cards. One network card connect to 192.168.2.1, one connect to 192.168.3.1.
There is an tutorial about how to make Windows XP as a router( It’s same with Windows 7), more information refer to the link below:
TechNet Community Support