In the name of Allah, Most Gracious, Most Merciful.
In this article I will describe the configuration command to add default Router temporally and permanently to Oracle Solaris 10.
You can see currently configured routes by following command
netstat -nr
You can delete currently configured default Route by following command
route delete default 192.168.10.251
You can add default router temporarily by following command
route add default 192.168.10.249
You can add default router permanently by following commands
route -p add default 192.168.10.249
Or
echo 192.168.10.249 > /etc/defaultrouter
It will create /etc/defaultrouter file if not already available. Next time you restart you system 192.168.10.249 will be automatically added to default router.
Insha-Allah this will help and serve the purpose. For any corrections and improvements please suggest.
In this article I will describe the configuration command to add default Router temporally and permanently to Oracle Solaris 10.
You can see currently configured routes by following command
netstat -nr
You can delete currently configured default Route by following command
route delete default 192.168.10.251
You can add default router temporarily by following command
route add default 192.168.10.249
You can add default router permanently by following commands
route -p add default 192.168.10.249
Or
echo 192.168.10.249 > /etc/defaultrouter
It will create /etc/defaultrouter file if not already available. Next time you restart you system 192.168.10.249 will be automatically added to default router.
Insha-Allah this will help and serve the purpose. For any corrections and improvements please suggest.
thank you sir
ReplyDeleteThis comment has been removed by the author.
ReplyDelete