Solved

windows static route

Posted on 2013-05-27
6
331 Views
Last Modified: 2013-06-12
I have two networks and two LAN cards installed on my PC, i have static routes for specific networks on my PC(windows). my ping is working fine for all networks.
my problem is i have some software exe file when i run exe it will not run, i think it confuse to take right gateway.
i want to add some static routes for applications specific too.

thanks,
0
Comment
Question by:nainasipra
  • 3
  • 2
6 Comments
 
LVL 4

Expert Comment

by:MMe12
ID: 39198652
You should only configure one default gateway on one of the NICs (the one which connects your PC to the internet).
For static routes use the "route add" command in a command prompt window (use "route add /?" for help). To make such static routes permanent (surviving reboots), you have to add the "/p" option to each "route add" command. To check existing routes, use "route print" command.
0
 
LVL 11

Expert Comment

by:marek1712
ID: 39199402
You can't add application-specific routes. Your only (I think) option is to lower the metric for the preferred networks. Check the help of the route add command for syntax
0
 

Author Comment

by:nainasipra
ID: 39199418
how the application will now that its server/gateway on which LAN card. is there anyway to do this?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 11

Expert Comment

by:marek1712
ID: 39199435
It's Windows' role to guide layer 7 transmission through the proper route.
As I've said - either change the metric or rearrange the interfaces' priorities in the ncpa.cpl.
BTW - are these routes correct? Can you post the routing table?
0
 

Author Comment

by:nainasipra
ID: 39199484
i want to run only one application with one LAN card and rest of all applications including internet with second LAN card.
if i will change priority of 1st LAN card high then all applications and internet will effect or not?
0
 
LVL 11

Accepted Solution

by:
marek1712 earned 500 total points
ID: 39199504
Probably yes.
Please post the routing table - it'll help diagnose the problem.
BTW - what OS do you use? You may try ForceIPBind - but beware - it modifies EXEs.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

747 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

13 Experts available now in Live!

Get 1:1 Help Now