Solved

route add cmd

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

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 14

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now