In addition, just adding a route at your end doesn't mean that routing
will work. Routing is a two-way process. It will only work if the target
machine has enough routing info to know how to route the reply to your
machine.
Jean Bourassa wrote:
> Because you are putting the address in wrong. You dont want to route
> to a specific host you want to route to a class A network. The
> command should look more like this
>
> route add 10.0.0.0 mask 255.0.0.0 192.168.0.252
>
>
>
> "Aaron Humperdoomperdinker" wrote:
>
>> Hello,
>>
>>
>>
>> I wonder if all you gurus can give me a bit of help with routing in
>> Windows 2003.
>>
>>
>>
>> We have a server here in my office with an IP 192.168.2.20
>>
>>
>>
>> The routers IP is 192.168.2.252
>>
>>
>>
>> I want to talk to a server at the other end of the city with an IP
>> 10.49.50.140
>>
>>
>>
>> I thought it would be simple enough to open a command prompt and add
>> a route by typing:
>>
>>
>>
>> route add 10.49.50.140 mask 255.0.0.0 192.168.0.252
>>
>>
>>
>> When I do this I get an error saying The route addition failed: The
>> specified mask parameter is invalid. (Destination
>>
>> & Mask) != Destination.
>>
>>
>>
>> I though I would put a class A subnet mask as 255.0.0.0 as I was
>> trying to talk to a class A network? When I put the class C subnet
>> in as 255.255.255.0 it will accept the route? Why does it work like
>> this?
>>
>>
>>
>> Any info or help would be gratefully received whilst I try to get my
>> head round this. Thank you.
>>
>>
>>
>> Aaron Humperdoomperdink
|