We have recently changed our domain from https://abouthack.com to https://libretips.com. As a result all the traffic from our old domain is being redirected to this domain.

Linux Box as a Router

Linux help requests that don't fit into any of the other technical areas go in this forum
Posts: 20
Joined: Tue Aug 28, 2012 6:12 pm

Linux Box as a Router

Post by i2landscape » Mon Sep 03, 2012 8:12 pm

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 (Default gateway Firewall) this is the primary network. eht1 default gateway (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 network to the network and vice versa. I can ping from the eth0 IP from the network And I can ping eth1 IP from the 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

Posts: 20
Joined: Tue Aug 28, 2012 6:13 pm

Re: Linux Box as a Router

Post by iafaneh » Mon Sep 03, 2012 8:14 pm

If I read your post correctly, your setup looks something like this (pardon the shortened IP addresses for simplicity). +-------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.

Post Reply Previous topicNext topic

Return to “Others”