Solved

windows routing

Posted on 2015-02-03
2
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 82

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 58

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A procedure for exporting installed hotfix details of remote computers using powershell
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

622 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