Anand Buddhdev wrote:
This change may also be immediately activated by the 'sysctl -p' command. And of course you could accomplish the same by setting the corresponding proc value, but the sysctl command is a surer way to test that you altered sysctl.conf correctly for the change to persist at next boot.Edit the file /etc/sysctl.conf, and change the line that reads: net.ipv4.ip_forward = 0 to: net.ipv4.ip_forward = 1
At the next reboot, packet forwarding will be enabled between the 2 network cards.
Don't forget to alter your iptables configuration to accept the permissible routed traffic on the FORWARD chain of the filter* table.
You may also need to add routes on the systems on the two networks if you want them to know how to reach each other via your new Linux router.
If you need router to router protocols then check out the quagga rpm which comes with FC.
-- ----------------------------------------------------------- "Spend less! Do more! Go Open Source..." -- Dirigo.net Chris Johnson, RHCE #807000448202021