Solved

windows static route

Posted on 2013-05-27
6
339 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
[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
  • 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

728 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