Koozali.org: home of the SME Server

Making routing changes stick

Kevin

Making routing changes stick
« on: April 19, 2001, 03:39:58 AM »
I'm using route statements to tell the e-smith gateway to go to another segment of my network through a different router when IP's specific to that segment are requested by clients. I can get the desired results without a problem but when e-smith reboots, the route statements have to be reentered. Where is the master route table so I can make these entries permanent?

Thanks,

Kevin

zac

Re: Making routing changes stick
« Reply #1 on: April 23, 2001, 08:20:05 AM »
here's what i did in a similar situation:

stick the route statements in /etc/rc.d/rc.local at the end of the file, then perform a signal-event console-save at the command line, inspect the carnage when it's finished to make sure that the route statements are still there (they were for me)

reboot, and it should all be happy ;)

zac

Charlie Brady

Re: Making routing changes stick
« Reply #2 on: April 23, 2001, 08:55:43 AM »
Kevin wrote:
 
> I'm using route statements to tell the e-smith gateway to go
> to another segment of my network through a different router
> when IP's specific to that segment are requested by clients.

Have a look at:

http://www.e-smith.org/docs/manual/4.1/admin-localnetworks.html

Note that this does more than set up routing. This also marks the additional segments as "local", meaning that they have permission to view samba shares, use the squid proxy, relay SMTP mail etc.

Charlie