Solved

route add cmd

Posted on 2010-09-12
3
971 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

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

749 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