Force a website to use the second network card

Hello,

I've got the following case:

Setting:
Network Interface  1: IP 192.168.5.x (Main network card because of the faster internet connection)
Network Interface 2: IP 192.168.1.x

Network Interface 1 is a fiber connection.
Network Interface 2 is a VDSL connection.

I need to connect to a website through Network Interface 2 because it is not allowed to reach the website through Network Interface 1.

As example:
Ill go to the website example.com but it doesn't connect because it's using the network interface 1 of my PC.
If i disable network interface 1, and I browse to example.com it works just fine, because it's forced to use network interface 2.

Is there a way to force the website to use network interface 2 while network interface 1 is still up?

Kind Regards,

Agrippa
AgrippaSenior IT ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Andy MIT Systems ManagerCommented:
If you know the IP address of the website you are trying to reach you might be able to do it using a static route. Basically just instruct the PC that when trying to connect to IP xxx.xxx.xxx.xxx use gateway of the second network interface rather than the first.  

https://www.sevenforums.com/tutorials/320978-static-routes-create-remove.html
1

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
ANUPKUMAR NAIRManager IT InfrastructureCommented:
On A windows Server in IIS you have option to select the IP, this should help resolve your problem.
0
AgrippaSenior IT ConsultantAuthor Commented:
This solved the problem, adding a route into Windows!
0
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
Windows 10

From novice to tech pro — start learning today.