Hi,
it´s allways the same ...
Create a custom config for /etc/sysconfig/static-route:
1. Create a directory:
/etc/e-smith/templates-custom/etc/sysconfig/static-routes
2. In this directory create a file (e.g. 99my_routes)
3. Edit this file and add your routes:
eth0 192.168.99.0 netmask 255.255.255.0 gateway 192.168.1.5
(This add´s a static route to 192.168.99.0 with the gateway 192.168.1.5)
Save your work.
4. expand your custom-template:
/sbin/e-smith/expand-template /etc/sysconfig/static-routes
5. restart the network daemons:
/etc/rc.d/init.d/network restart
Your can review your work by using:
# netstat -rn
By this way you can customize nearly all settings.
Regards,
Peter Schubert