How do I add a route to a Windows XP PC when the PC and gateway have different network ranges?

A

anctech

Hello. I'm a relative novice at networking , and I hope I can get some
help with this issue.
I have to add a route on a Windows XP PC to a network segment.
However, the PC and the router which is being used as the gateway,
while physically on the same network, are not in the same IP address
range.
The IP address of the PC is 10.2.a.x , the IP address of the gateway
is 192.168.x.x. I am trying to add a route to a video server with IP
address 10.2.b.x.
When I use 'route add' to add the route directly, I get the error:

'The route addition failed: Rither the interface index is wrong, or
the gateway does not lie on the same network as the interface. Check
the IP address for the machine.'


How do I go about adding the route?


Thanks for any help.
 
S

Steve Winograd [MVP]

Hello. I'm a relative novice at networking , and I hope I can get some
help with this issue.
I have to add a route on a Windows XP PC to a network segment.
However, the PC and the router which is being used as the gateway,
while physically on the same network, are not in the same IP address
range.
The IP address of the PC is 10.2.a.x , the IP address of the gateway
is 192.168.x.x. I am trying to add a route to a video server with IP
address 10.2.b.x.
When I use 'route add' to add the route directly, I get the error:

'The route addition failed: Rither the interface index is wrong, or
the gateway does not lie on the same network as the interface. Check
the IP address for the machine.'


How do I go about adding the route?


Thanks for any help.

Communicating between two subnets requires a computer or router that
has physical connections to both subnets and IP addresses in both
subnets.

If both subnets connect to the same physical network as the XP PC, you
can assign two static IP addresses to that PC's network adapter: one
in 10.2.x.x, and one in 192.168.x.x.

Otherwise, I'd have to know the network topology to be able to suggest
a solution.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
J

jameshanley39

Hello. I'm a relative novice at networking , and I hope I can get some
help with this issue.
I have to add a route on a Windows XP PC to a network segment.
However, the PC and the router which is being used as the gateway,
while physically on the same network, are not in the same IP address
range.
The IP address of the PC is 10.2.a.x , the IP address of the gateway
is 192.168.x.x. I am trying to add a route to a video server with IP
address 10.2.b.x.
When I use 'route add' to add the route directly, I get the error:

'The route addition failed: Rither the interface index is wrong, or
the gateway does not lie on the same network as the interface. Check
the IP address for the machine.'

How do I go about adding the route?

Thanks for any help.

why not put them on the same range?

people usually let the "router" act as a dhcp server and it'll give
out ips on the same range tat its interface is. I don't see the point
of having ips on different ranges on a subnetwork. I'm also a novice
at networking though ;-)

how did you get into a situation of comps on one subnet (ip range
kinda thing) connected to a router interface on another subnet?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top