troubleshooting Question

Need to add static routes in Windows

Avatar of sa_novice
sa_noviceFlag for South Africa asked on
Networking ProtocolsInternet ProtocolsNetwork Operations
8 Comments1 Solution843 ViewsLast Modified:
Hi guys,

I have a question regarding static routes and I need some assistance.

We have 2 sites (A and B)... and between the 2 sites we have 2 links, one is via a Diginet Link and the other via a Wireless link. We use the Diginet as our PRIMARY link between the to sites, and the Wireless as a SECONDARY, as a fail over incase th Diginet goes down (lately this happens often).

Site A is our HQ, and site B users connect over these links to access our ERP system.

Now we have added a script to add a static route for ALL our users at site B to access the ERP system over the PRIMARY Diginet link

This is an example:

route add 192.168.1.251 mask 255.255.255.255 192.168.2.254 -p

We also added a Batch File on the desktops to delete the route mentioned above, when the PRIMARY link goes down, to add a route so that all traffic route over the SECONDARY link.

This is the example:

route delete 192.168.1.251

route add 192.168.1.251 mask 255.255.55.255 192.168.2.253 -p


My question is the following...

How can we add both these static routes, and specify which one as the PRIMARY route, and as soon as that line goes down, that it route all traffic over the SECONDARY link... and then when the PRIMARY link is restored, traffic must then again go over the PRIMARY link.

All users are running Windows 7.

Can someone please help me?
ASKER CERTIFIED SOLUTION
sa_novice

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

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros