how do I make sure that the entry in the routing table on Solaris 8 stay permanent after rebooting the server.
For example
route add 172.20.1.60 -netmask 255.255.255.0 172.20.255.253
Each time the server reboots the entry disappears when using the command netstat -nr
Add the route in your init script, create a init script for the routes
eg:
vi /etc/rc2.d/S76static-routes
chmod 755 /etc/rc2.d/S76static-routes
Reboot and check the routes are added or not
Add the route in your init script, create a init script for the routes
eg:
vi /etc/rc2.d/S76static-routes
chmod 755 /etc/rc2.d/S76static-routes
Reboot and check the routes are added or not
[u]which entry i should add in the file.the below command should i add or should i create a emp.ty file.
suppose if i create a empty file how it will recognized the 172.20.1.60 .
route add 172.20.1.60 -netmask 255.255.255.0 172.20.255.253