Force a website to use the second network card

Agrippa
Agrippa used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Systems Manager
Commented:
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
ANUPKUMAR NAIRManager IT Infrastructure

Commented:
On A windows Server in IIS you have option to select the IP, this should help resolve your problem.
AgrippaSenior IT Consultant

Author

Commented:
This solved the problem, adding a route into Windows!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial