On Friday 27 February 2004 09:09, Roger Grosswiler wrote:
for just having basic routing functions, check in /proc/sys/net/ipv4 whether your ip_forward is set to 1. if no, do echo 1 > ip_forward and your fedora box should immediately handle as a router.
The "RedHat (tm)" way of doing this is putting it in /etc/sysctl.conf AFAIK. --- cut --- # Controls IP packet forwarding net.ipv4.ip_forward = 1 --- cut ---
if you need some more control over the routing, please read /usr/share/doc/initscripts-x.xx/* to see how to change/add files in your /etc/sysconfig/network-scripts
I personally like to have: --- /etc/sysconfig/network-scripts/route-lo --- unreachable 10.0.0.0/8 unreachable 172.16.0.0/12 unreachable 192.168.0.0/16 --- end --- to make sure I will not route unknown private nets to the whole internet. The private subnets I use are shorter routes, so they take precedence.