Solved

ROUTE.EXE Windows 2012 Server Not Working

Posted on 2014-04-22
3
578 Views
Last Modified: 2014-04-22
Hello, I need to route all traffic to this IP via the private interface:

190.148.68.22

The same way all traffic to 10.x.x.x is getting routed... here is the routing table:

===========================================================================
Interface List
 22...00 25 90 5a 01 ea ......Microsoft Network Adapter Multiplexor Driver #2
 21...00 25 90 5a 01 eb ......Microsoft Network Adapter Multiplexor Driver
  1...........................Software Loopback Interface 1
 19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
 25...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0  184.172.1.137  184.172.1.142    266
         10.0.0.0        255.0.0.0     10.106.51.65     10.106.51.68     11
     10.106.51.64  255.255.255.192         On-link      10.106.51.68    266
     10.106.51.68  255.255.255.255         On-link      10.106.51.68    266
    10.106.51.127  255.255.255.255         On-link      10.106.51.68    266
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  184.172.1.136  255.255.255.248         On-link   184.172.1.142    266
  184.172.1.142  255.255.255.255         On-link   184.172.1.142    266
  184.172.1.143  255.255.255.255         On-link   184.172.1.142    266
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link      10.106.51.68    266
        224.0.0.0        240.0.0.0         On-link   184.172.1.142    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link      10.106.51.68    266
  255.255.255.255  255.255.255.255         On-link   184.172.106.142    266
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
         10.0.0.0        255.0.0.0     10.106.51.65       1
          0.0.0.0          0.0.0.0  184.172.1.137  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    306 ::1/128                  On-link
 21    266 2607:f0d0:1901:50::/64   On-link
 21    266 2607:f0d0:1901:50:9578:400d:2aa:5855/128
                                    On-link
 22    266 fe80::/64                On-link
 21    266 fe80::/64                On-link
 22    266 fe80::9dc:2a9e:43ad:dd20/128
                                    On-link
 21    266 fe80::9578:400d:2aa:5855/128
                                    On-link
  1    306 ff00::/8                 On-link
 22    266 ff00::/8                 On-link
 21    266 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

Open in new window



I tried doing ->

route -p add 190.148.68.22 255.255.255.255 10.106.51.65 metric 1 if 22

i tried this, but i keep getting

C:\Windows\system32\ROUTE.EXE: bad argument 10.106.51.65

Any thoughts?
0
Comment
Question by:nm_mario
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Schuyler Dorsey earned 500 total points
ID: 40014797
Try this instead:

route -p add 190.148.68.22 mask 255.255.255.255 10.106.51.65 metric 1 if 22

You need the word mask in there.
0
 
LVL 10

Expert Comment

by:Schuyler Dorsey
ID: 40014800
0
 

Author Closing Comment

by:nm_mario
ID: 40014817
thank you! that worked...
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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

746 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

8 Experts available now in Live!

Get 1:1 Help Now