Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having problems getting my network to play nice, despite it working previously. Here are the main system details;

  • CentOS box as a router / firewall (firewall currently disabled while I get the network operating)
  • eth0 used for internal network with ip, gateway set to
  • eth1 used for external network with ip, gateway set to
  • ip forwarding enabled in sysctl.conf
  • external gateway to internet available at - tested and working.
  • Windows machine, Windows server and eth0 connected to a hub. eth1 connected to another hub which connects out to the external gateway.

From my CentOS box I can ping the external gateway but not the internal network, if I disable the eth1 it can then find everything again. Now this was all functioning fully until I began using IPTABLES to try and configure rules, when I had some issues I flushed all rules, disabled everything and stopped the service.

Any ideas or things to try? Thanks for any help.

share|improve this question
up vote 0 down vote accepted

Remove the gateway for the internal network. There should be no gateway for the internal network. Also you don't mention the network masks for the internal and external subnets. You may have overlapping subnets configured.

share|improve this answer
Thanks for the reply. While not exactly the problem you shunted me towards it. I was using only one subnet so I had the same subnet for internal and external - how could the system decide which interface to ping from? Short of setting a static route anyway. So I changed the internal network to a network - all is well again. – Draineh Apr 30 '11 at 16:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.