Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Windows Ignoring Static Route

Avatar of isol8
isol8 asked on
Windows NetworkingNetworking Protocols
15 Comments1 Solution6404 ViewsLast Modified:
We have a network setup as follows.

Location A
ServerA (192.168.0.3)
Gateway: 192.168.0.92

Location B
ServerB (192.168.2.2)
Gateway: 192.168.2.1

There is a software VPN setup between these two gateways.  So from ServerA I can ping ServerB.  We're attempting to migrate the connection between the two locations to an MPLS connection.

MPLS RouterA - 192.168.0.2
MPLS RouterB - 192.168.2.250

So on ServerA I've added the following route:
route add 192.168.2.2 mask 255.255.255.255 192.168.0.2 metric 1 /p

And on ServerB:
route add 192.168.0.3 mask 255.255.255.255 192.168.2.250 metric 1 /p

The problem is....on ServerA just after I add the route....if I run a tracert to ServerB, the first hop is the static route and then next hop is immediately ServerB.  I do a route print after this and see that the server has automatically added a new route that uses a different gateway.

It doesn't do this on ServerB.  ServerB maintains the correct route and follows it.
Why is this route being automatically added?  How can I avoid it?
Is it adding this route because the default gateway is our main router and it has a VPN connection to LocationB (and thus, ServerB)?


ServerA
IPv4 Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 30 48 a0 08 d7 ...... Intel(R) PRO/1000 PL Network Connection
0x10004 ...00 30 48 a0 08 d6 ...... Intel(R) PRO/1000 PM Network Connection
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.0.92     192.168.0.30     30
          0.0.0.0          0.0.0.0     192.168.0.92      192.168.0.3     10
        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1      1
      192.168.0.0    255.255.255.0      192.168.0.3      192.168.0.3     10
      192.168.0.0    255.255.255.0     192.168.0.30     192.168.0.30     30
      192.168.0.3  255.255.255.255        127.0.0.1        127.0.0.1     10
     192.168.0.30  255.255.255.255        127.0.0.1        127.0.0.1     30
    192.168.0.255  255.255.255.255      192.168.0.3      192.168.0.3     10
    192.168.0.255  255.255.255.255     192.168.0.30     192.168.0.30     30
      192.168.2.2  255.255.255.255     192.168.0.92      192.168.0.3      1
        224.0.0.0        240.0.0.0      192.168.0.3      192.168.0.3     10
        224.0.0.0        240.0.0.0     192.168.0.30     192.168.0.30     30
  255.255.255.255  255.255.255.255      192.168.0.3      192.168.0.3      1
  255.255.255.255  255.255.255.255     192.168.0.30     192.168.0.30      1
Default Gateway:      192.168.0.92
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      192.168.2.2  255.255.255.255      192.168.0.2       1
ASKER CERTIFIED SOLUTION
Avatar of isol8
isol8

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 15 Comments.
See Answers