Wolfgang Schwurack wrote: > Hi all > > How do I make a permanent entry in the routing table? I can do a "route > add -host ip-address" I can see that it add the route in with a netstat > -r. Then when I reboot it's gone, were do I make the change so that > every time I reboot I don't have to do the route add command? > > thanks > > -- > Wolfgang Schwurack > Unix System Administrator > University of Utah/Utah Education Network > Tel: (801) 587-9444 > _______________________________________________ > sunmanagers mailing list > sunmanagers@sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers Thanks to all that replied Most said to create a script in /etc/rc2.d to add the route or add it to the bottom of /etc/init.d/inetsvc. I created a script in /etc/rc2.d to fix the problem. #!/sbin/sh # # static route table ndd -set /dev/ip ip_forwarding 1 echo " Setting static routes " route add -host host-ip gateway > /dev/console echo " Done with setting static routes " -- Wolfgang Schwurack Unix System Administrator University of Utah/Utah Education Network Tel: (801) 587-9444 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Feb 4 15:02:36 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:02 EST