I am trying to make set up router on redhat linux 7.2 and no luck. Here i smy situation:
linux box with two NICs (REALTEK) with public IPs. Let say on one NIC has ip 18.104.22.168 with mask 255.255.255.0 and second NIC has ip 22.214.171.124 with mask 255.255.255.0. Now thereis a 126.96.36.199 network on one side an 188.8.131.52 on the oter.
Here is where i get stuck. I ping from 184.108.40.206 network the router and i get respons from both 220.127.116.11 AND 18.104.22.168. But this is where it ends. I can't ping any further. Let's say a ping from host 22.214.171.124 host with ip 126.96.36.199 no luck, ping won't go through. What I am doing wrong?
i tried enabling ip_forward - still no luck. Please help.