How to choose the NIC a software uses to connect to the internet?

Hello experts,

Is there a software or a way to choose or define which NIC a program uses to connect to the internet?

I have both, wireless and ethernet available and I need to use the wireless connection for one software to connect and the ethernet for all the other connections. Can this be done?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

if you know which port that application uses you can add routing for that port on NIC you want
helppariAuthor Commented:
I know the port. How do I add the routing?
Sorry, you have to know the destination IP address for that application

First you have to enable routing in Windows XP because it is disabled by default.

1. Go to Start -> Run, type regedit, and click on OK
2. Navigate to HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. Double click on IPEnableRouter and enter value 1

To add route in Windows open cmd (Start -> Run, type cmd, OK)
and something like this if you have the exact IP address

route add NETWORK mask NETMASK GATEWAY metric 10 if 2
(route add mask metric 10 if 2) - interface 2

You don't have to put interface because Windows will choose the right one, but if don't add it


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
and to add permanent route add -p switch after "route add"
and for port routing you should set marks and it is more complicated, but i only did this in Linux
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.