Networking Forums

Networking Forums > Computer Networking > Windows Networking > Route add help on Windows Server 2003

Reply
Thread Tools Display Modes

Route add help on Windows Server 2003

 
 
Aaron Humperdoomperdinker
Guest
Posts: n/a

 
      04-05-2006, 03:41 PM
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


 
Reply With Quote
 
 
 
 
Jean Bourassa
Guest
Posts: n/a

 
      04-05-2006, 04:54 PM
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
>
>
>

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      04-06-2006, 12:37 AM
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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable dynamic route entries in Windows 2003? MikeS@MLS Windows Networking 3 09-18-2008 04:14 PM
Route Back in - Windows 2003 DNS and Pix Firewall Jordan Turner Windows Networking 2 09-30-2005 02:07 AM
TCP/IP Stack Improvements in Windows Server 2003 and Windows Server 2003 Service Pack 1 Deepak Bansal [MS] Windows Networking 0 06-14-2005 01:14 AM
Webcast on TCP/IP Stack Improvements in Windows Server 2003 and Windows Server 2003 Service Pack 1 Deepak Bansal [MS] Windows Networking 0 06-13-2005 11:55 PM
Unable to access Windows 2003 file server in a Windows 2003/XP Active Directory Domain Edward Ray Windows Networking 0 11-21-2003 03:03 AM



1 2 3 4 5 6 7 8 9 10 11