Question : Make XP Route

I want to use XP as a router to route traffic from network 192.168.0.0 to network 192.168.20.0

I have 3 PCs we will call....SOURCE-PC, ROUTER-PC, DESTINATION-PC.
All PCs are physically wired though the same switch. In other words, physically on same network, but two different subnets running on this wire.

On ROUTER-PC, I have it set as follows...
I have set IPEnableRouter to 1 in the registry and rebooted.
I have two NIC cards on it set static as:
192.168.0.254
192.168.20.7
I have set route on this PC with this command:
route add 192.168.20.0 mask 255.255.255.0 192.168.0.254

SOURCE PC: I have it on the 192.168.0.0 network I have given it a default gateway of 192.168.0.254

TARGET PC. It has an address of 192.168.20.50

From SOURCE-PC, I try to ping 192.168.20.50  It fails, and that is my problem. My XP router is not routing traffic to the 20.0 network even though I have followed all the instructions that everyone says will make it work. I can ping 0.254 and I can ping 20.7, but I cannot ping the DESTINATION-PC.  And Yes, all software firewalls are off. Tracert shows the traffic dies at the ROUTER-PC and isn't passed beyond the ROUTER-PC.

Please Help!!  I have been trying for weeks to make this work. Thanks in advance.

Mark

Answer : Make XP Route

Ok yeah I've missed it. Don't blame me all the information is organized rather poorly : ) and I needed to examine the initial posting for several minutes to locate you told you've enabled it.

another problem is how will PC's in the 20 subnet know how to respond back ?? So you need to add a route to 20.50 to let it know that they can reach 0 subnet through 20.7:

route -p add 192.168.0.0 mask 255.255.255.0 192.168.20.7

If you don't when 20.50 gets the icmp packet it will send the response to its Default gateway. Not the router. This route corrects it.

-p makes the route permanent and it will stay there after a reboot.

Cheers,
K.



Random Solutions  
 
programming4us programming4us