Solved

windows routing

Posted on 2015-02-03
2
160 Views
Last Modified: 2015-02-03
machine has two nics, but instead of connections to 192.168.170.105 being made via 192.168.170.99 on the local subnet they go via another interface.

what do I need to change? I need to be able to connect to 192.168.170.105 on the local subnet otherwise the tool I am trying to use will not work...

Tracing route to 192.168.170.105 over a maximum of 30 hops

  1    <1 ms    <1 ms    <1 ms  192.168.17.253
  2    <1 ms    <1 ms    <1 ms  192.168.170.105

Ethernet adapter 170 network:

   Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter #5
   IPv4 Address. . . . . . . . . . . : 192.168.170.99(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter VMNetwork:

   Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter #2
   IPv4 Address. . . . . . . . . . . : 192.168.17.105(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.17.1

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.17.1   192.168.17.105    261

     192.168.17.0    255.255.255.0         On-link    192.168.17.105    261
   192.168.17.105  255.255.255.255         On-link    192.168.17.105    261
   192.168.17.255  255.255.255.255         On-link    192.168.17.105    261
    192.168.170.0    255.255.255.0         On-link    192.168.170.99    261
   192.168.170.99  255.255.255.255         On-link    192.168.170.99    261
  192.168.170.255  255.255.255.255         On-link    192.168.170.99    261

===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
       172.16.0.0      255.240.0.0     172.19.0.145       1
          0.0.0.0          0.0.0.0     192.168.17.1  Default
===========================================================================
0
Comment
Question by:ee-gd
2 Comments
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40585889
route delete 0.0.0.0 192.168.17.
route add 192.168.170.0 mask 255.255.255.0 192.168.170.99

easier to just change the metrics from auto and assign the x.x.170.x nic to have a lower metric
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 40585966
That very open persistent route is gonna kill everything else. Somebody went and declared static routed that shouldn't have been declared.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove Extension 3 37
Windows Server Folder Access Control 6 35
Problem to setup GUI 11 32
I need to find the GPO setting to change for macros in Excel 4 22
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
An article on effective troubleshooting
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

770 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