Link to home
Start Free TrialLog in
Avatar of helppari
helppari

asked on

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?
Avatar of marioerceg
marioerceg
Flag of Montenegro image

if you know which port that application uses you can add routing for that port on NIC you want
Avatar of helppari
helppari

ASKER

I know the port. How do I add the routing?
ASKER CERTIFIED SOLUTION
Avatar of marioerceg
marioerceg
Flag of Montenegro image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start 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