Link to home
Start Free TrialLog in
Avatar of mswarbrick
mswarbrick

asked on

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
Avatar of Kerem ERSOY
Kerem ERSOY

Hi,

You don't need a route over your router. Since it already has an interface attached to your system and all you do is to add a DG in the 20 network if this is wnhat you need.

The real problem here is normally XP disables routing between interfaces. So this is normal that your PC's can't ping targets located in the 20 network. You need to enable routing on XP first.  Here's how:

http://www.wikihow.com/Enable-Windows-XP-Routing

Cheers,
K.
Hello mswarbrick,

You need to use the relay function of the router (page 72) : http://www.draytek.co.uk/support/userguides/Vigor2820%20User%20Guide%20V3.0.zip

<<
If you want to use another DHCP server in the network other than
the Vigor Routers, you can let Relay Agent help you to redirect the
DHCP request to the specified location.
>>

Regards.
Avatar of mswarbrick

ASKER

To KaremE - You apparently didn't notice in my post that I have enabled routing in the registry already. And what is a DG?

To LeakIM71 - Why are you sending me info on a Vigor router and info on a relay agent and DHCP? I am not even using DHCP and what has that got to do with routing? I don't want to buy a Vigor outer, I want to make the xp box route.
lol oups bad thread, sorry...
ASKER CERTIFIED SOLUTION
Avatar of Kerem ERSOY
Kerem ERSOY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@leakim971: ok at least we know how to relay DHCP. Thanks :)
You Sir, are a GENIUS!  Thanks so much!  It worked perfectly after putting in the return route. I never thought about the ICMP packets not being able to return the ping because of no route back. You have made my day!
You're welcome :) Thanks.

 Now you have 2 options:

- Add the return route to all pcs in 20 subnet manually.
- Add the return route to their default gateway so that when a system in 20 subnet wants to respond to 0 subnet it will send the packet to its default gateway and the default gateway will forward the packet to 20.7. (This is similar to the case with 0 network you did not need to add extra routing becasue routing was handled by their default gateway.

The latter method has an advantage so that it would not require extra route line for each system that will communicate with 0 subnet.

Cheers,
K.