We help IT Professionals succeed at work.
Get Started

How to set default gateway for two network cards

Last Modified: 2012-05-05
I've the following situation:
One server two networkcards. One is connected to the outside world to retrieve data via port 3000. The other is connected to the internal network, to let people connect to the database on the server.
Sometimes the proces outside, that should connect to this server via port 3000 can't see the server, because the server uses the internet connection that is used via the internal networkcard. So, when i run www.canyouseeme.org, i connects via the internal networkcard and not via the one that is connected to the outside world. When i turn of the internal card, it goes well, at that moment www.canyouseeme.org uses the external card.
How can i connect this server so, that people from the inside network can see the database on the server, and the process from the outside, can access the same server via the other network card. With other words, the internet connection should always and only go via the external network card, only communication to internal clients (to acces the database should go via the other network card)
Watch Question
Technology and Business Process Advisor
Most Valuable Expert 2013
This problem has been solved!
Unlock 1 Answer and 11 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE