0

I've got a server with two network cards. The first one is configured with an internal IP and everything works just fine. The second one is configured with an external IP and is causing me some trouble: if I try and reach that address from inside the network everything is fine, if I try and reach that address from outside the network there's no way I can access the service on that server.

A traceroute from outside the network stops when reaching the gateway of the second network card. There must be something wrong either in the server configuration or in the gateway one, but I only have access to the server (and the gateway should be fine): what can I do to make sure that my configuration is correct?

Thank you, I'll provide any further information that can help you help me.

5
  • 2
    Does the second NIC have the correct Default Gateway configured?
    – joeqwerty
    Mar 25, 2015 at 15:33
  • The first NIC has the correct internal gateway, the second one has the correct external gateway (the one where the external requests stop).
    – edmael
    Mar 25, 2015 at 18:18
  • What operating system is this server running?
    – joeqwerty
    Mar 25, 2015 at 18:20
  • Ubuntu, I'm checking if it's a default gateway problem as @Rex said.
    – edmael
    Mar 25, 2015 at 18:51
  • Does the machine act as a (NATing) router? If not, why would you need two interfaces? If an interface has an "external" (did you mean public) IP, it has to be routed to it properly. Assuming a traditional setup, the public interface would have to have the gateway configured properly to know where to send internet traffic. You need to tell us what you are trying to do because people often make false assumptions on how to solve a problem and then stick to that instead of accepting an actual solution.
    – Zdenek
    Oct 6, 2019 at 16:25

1 Answer 1

0

Your default gateway on the server will need to point to the outside gateway.

This may cause you to lose access to the external IP from your internal networks. Without knowing more about your network and configurations, it's hard to say for sure if this will happen.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .