troubleshooting Question

How to set default gateway for two network cards

Avatar of Edward van Nijmweegen
Edward van NijmweegenFlag for Netherlands asked on
Network ArchitectureNetwork ManagementServer Hardware
11 Comments1 Solution959 ViewsLast Modified:
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)
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros