How to build 2 network interfaces in centos

0

I have a server that has 2 network interfaces. One to a public IP and another to a private ip. The one in the private IP has to look at a proxy.

When I lift any of the 2 IPs in one of the interfaces it works fine. That is to say. If I raise the public IP it gives me access to the internet, or if I raise the private IP, I see the proxy.

However, I have problems raising 2 at the same time. Any advice on this? and, also, why, when I raise the private IP, I can not see other machines that are supposed to be on the same LAN?

Greetings and thanks

    
asked by Azrael Estrada 20.04.2017 в 19:08
source

2 answers

1

Knowing what is the version of CentOS is fundamental: The network in 7 is configured differently than in 6 and earlier.

Pasting the configuration of the files you have in /etc/sysconfig/network-script/ifcfg-* can help too.

    
answered by 08.05.2017 в 02:52
0

Hello check the log to see problems with the interfaces when lifting them and on the other hand when you raise the public ip check that you get to your gateway.

    
answered by 21.04.2017 в 19:35