No, there is no such option for the route command available (as
with nearly all unix variants). You will have to put your command
into some rc-file.
Either take en existing one and add the line or (better) create a
new file
/etc/init.d/staticroutes
and (hard) link it to
/etc/rc2.d/Sxystaticroutes
and
/etc/rc0.d/Kxystaticroutes
with xy being some number to get it sorted into order with the
files that do already exist on your system.
Main Topics
Browse All Topics





by: omarfaridPosted on 2008-06-19 at 13:36:09ID: 21826209
you need to add
route add 192.168.100.0 192.168.0.1
to one of the startup scripts in /etc/rc3.d
or run
scoadmin
and go to network setup