Linux gateway can't ping LAN workstations
I got a Linux gateway, which has the following:
WAN1 - eth0 - 126.96.36.199, connecting through gateway 188.8.131.52, mask 255.255.255.0
WAN1 - eth0 - 184.108.40.206, connecting through gateway 220.127.116.11, mask 255.255.255.0
LAN - eth2 - 192.168.0.1, mask 255.255.255.0, no gateway (as this IS a gateway linux)
Basically I have setup some rules using ip route and iptables to have port forwarding to internal machines and to do weight based load balancing of outgoing connections. What happend is: LAN workstations can ping 192.168.0.1 (Linux gateway), they can ping the 18.104.22.168 and 22.214.171.124 and the whole internet. What they can't ping is each other. Also, the linux gateway (I believe that's the reason the machines can't ping each other as well) can't ping any of the workstations. I have used tcpdump and all it returned is that arp works well and then there is no response to the ICMP packages. I also tried other connections, not only ICMP. It all gets no reply.
What can be wrong on the gateway linux that makes it impossible for it to ping the LAN network on the eth2? It can ping all other networks on eth1 and eth0 as well (they are masqueraded for LAN). Or otherwise: what needs to be in ip route and ip rules and in iptables for it to start working?
If you need additional info let me know. I will parse it immediately.