Koozali.org: home of the SME Server

Static Routes and SME

lilkev

Static Routes and SME
« on: March 14, 2005, 06:57:18 AM »
Hi All
Just looking for a little guidance. I need to set up a Static route on my SME Box to a Private WAN we have here. I used the command route add -net 10.10.0.0 netmask 255.255.0.0 gw 10.10.1.252 and it all works fine until I reboot of course. Now Normally I would edit /etc/sysconfig/static-routes to make this change permanent but in that file I find the following notation:


#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------


So Where should I be modifying to add a static route?

Guidance would be appreciated. Many thanks in advance.

Kev

duncan

Static Routes and SME
« Reply #1 on: March 14, 2005, 07:45:14 AM »
Security -> Local Networks

lilkev

Thank You. Problem Solved
« Reply #2 on: March 14, 2005, 11:13:31 PM »
Thanks Duncan. You're a Legend!!

I knew there'd be an easy solution there somewhere. A distro like SME is just so Unbelievable Brilliant that they would not have missed something like that. Bravo to the whole team!! Brilliant!!

Thanks again Duncan

Kev