Linux help requests that don't fit into any of the other technical areas go in this forum
2 posts • Page 1 of 1
Hello Everyone. I have posted many replies to others questions and this is my first post seeking help I am trying to setup a RedHad 9 Linux box as router. I have searched documentation and even have a few Linux books. But they are lacking (or more than likely I am lacking since I am fairly new to Linux). I cant seem to get traffic from one network to traverse to the other. My Config eth0 IP 184.108.40.206 (Default gateway 220.127.116.11 Firewall) this is the primary network. eht1 192.168.1.254 default gateway 18.104.22.168 (I presume the gw is correct) secondary network. I have read were IP forwarding must be enabled with echo "1" > /proc/sys/net/ipv4/ip_forward I have done this I cant seem to get (ping) from the 192.168.1.0 network to the 22.214.171.124 network and vice versa. I can ping from the eth0 IP 126.96.36.199 from the 192.168.1.0 network And I can ping eth1 IP 192.168.1.254 from the 188.8.131.52 network, but not to any other computer on either network. Now from all that I have read this is a pretty simple process and I am probably over looking something easy. If someone could point me in the right direction I would appreciated it. Thanks in advance The HumbleNetAdmin
If I read your post correctly, your setup looks something like this (pardon the shortened IP addresses for simplicity). 192.168.1.0 +-------Linux Box-------+ +------------+Eth1 Eth0+---+ FW +1.254 111.160+ +111.1 +-----------------------+ If this diagram is correct, the default gateway for the Linux box needs to point to 111.1 (FW) or it will just go in circles until the TTL expires. If I've not understood your description correctly, then please repost and correct the picture.