[Gllug] Help with setting up a Router

John Winters john at linuxemporium.co.uk
Tue Sep 17 12:00:41 UTC 2002


On Tue, 2002-09-17 at 12:49, Bush, Jonathan wrote:
> John 
> 
> Well I have three in there but I'm think of only using two. As one would
> connect to our firewall( reason why I don't need firewalling, but would
> still like to learn), the other connect to the other lease line and the
> third connect to our local LAN. Think of using only two as I might have a
> problem with NAT's.
> 
> I have tried echo 1 >/proc/sys/net/ipv4/ip_forward but every time I reboot
> it goes back to 0.

Yes, it will.  All the contents of /proc are transitory.  To get the
effect every time you boot (assuming RH7.3) edit /etc/sysctl.conf and
change the obvious field.  This will cause the "echo 1..." bit to be
done for you as the system boots.

> other thing is my static route disappear when I reboot.

Likewise.  You need to put them in the relevant configuration file. 
This is probably easiest done with the RH network configuration tool.

Why do you need separate static routes?

John

-- 
The Linux Emporium - the source for Linux CDs in the UK
See http://www.linuxemporium.co.uk/

Evolution is now exciting.


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




More information about the GLLUG mailing list