routing table

hi all...
i need to know, where is locate the routing table on sun solaris, how i can saved the configuration....
because when i restart the server, lost the configuration....
thank you...
Regards...

netstat -rn to view the routing table

I create a script under /etc/rc.2/ with the appropriate route statements in it to add static routes.

Cheers
ZB

eyyy...thanks for response me....
but how i can create the script.....can you explain me?
thanks you

OK, all the route statements you typed that were lost when you rebooted.... add them to a script.

Just fire up vi (or whatever) as root

vi /etc/rc2.d/S99_localroutes # or whatever you want to call it

You can start this earlier in the boot sequence if you want, but after networking has come up.

In this file, make sure the first line is
#! /sbin/sh

Then add your route statements

Save the file, make it executable. That's only one way of doing it.....

Cheers
ZB