Solved

route add cmd

Posted on 2010-09-12
3
962 Views
Last Modified: 2012-05-10
route add 172.17.2.50 MASK 255.255.255.0 66.196.218.149
The route addition failed: The parameter is incorrect.

Any reason why. i don't really know how this works and little help will be great.

I even tried the following on my local
route add 192.168.1.8 MASK 255.255.255.0 192.168.1.1
The route addition failed: The parameter is incorrect.
0
Comment
Question by:timgreen7077
3 Comments
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 33658254
What does:
route add 172.17.2.50 MASK 255.255.255.0 66.196.218.149 METRIC 2
return to you?
0
 
LVL 5

Accepted Solution

by:
Mechanic_Kharkov earned 250 total points
ID: 33658292
Parameter is incorrect because the network mismatch the mask.
Mask is for network class C (/24), so last 8 bits of network address must be zeroes.

try in this way
172.17.2.0  MASK 255.255.255.0 66.196.218.149
if you're adding network  172.17.2.0/24

or

172.17.2.50  MASK 255.255.255.255 66.196.218.149
if you're adding the single host
0
 
LVL 15

Assisted Solution

by:DonConsolio
DonConsolio earned 250 total points
ID: 33658320
your netmask does not match the destination IP

> route add 172.17.2.50 MASK 255.255.255.0 66.196.218.149
probably should be:
route add 172.17.2.0 MASK 255.255.255.0 66.196.218.149

and make sure one of your network interfaces is directly connected to  66.196.218.149

example:

your IP : 172.17.18.119/24
your gateway to the destination net: 172.17.18.1  (probably a router, your provider default gw, etc.)

route add 66.196.218.0 MASK 255.255.255.0 172.17.18.1
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question