Re: router

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anand Buddhdev wrote:

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.

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.

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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux