SPLAT - Route / Static ARP startup Script

To create a static route script, create a file in /etc/init.d/ with the routes included.

Below is an example,


/sbin/route add -host gateway
/sbin/route add -host gateway

exit 0

Then link this to the startup script, by running,

ln -s /etc/init.d/staticroutes /etc/rc3.d/S68Staticroutes

You can then do the same for the static arp entries.

Please Note : that this is the none standard way of adding routes to a SPLAT device. A much easier way is to add your routes via the command line (SSH) using the `/sbin/route add` command and then use the command `route --save` to make the routes permenant post reboot.