[Gllug] Help with setting up a Router

Xander D Harkness xander at harkness.co.uk
Tue Sep 17 12:45:39 UTC 2002


>
>
>All you need to do is set up the box with appropriate addresses on each
>NIC (and implicit routes) and then a default route pointing out through
>the outer interface (you'll need to know what the next machine in the
>chain of steps to the outside world is).
>
>You then just enable forwarding, either with:
>
>    echo 1 >/proc/sys/net/ipv4/ip_forwarding
>
>or by taking the appropriate option in RH's graphical network
>configurator.
>
To make this withstand a reboot ensure that:

net.ipv4.ip_forward = 1 is 1 and not 0 (and that it exists in file)

/etc/sysctl.conf

Please shout again if you are looking for actually defining static 
routes i.e. for such a subnet use router X.

If you set the internal machines to have the RH box as their gateway and 
the RH box is routing okay then all internally should be fine :-)

Kind regards
Xander


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list