Solved

windows static route

Posted on 2013-05-27
6
336 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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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!
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

856 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