Add a default route

Contributor Icon Contributed by vaiism  
Tag Icon Tagged: Solaris networking  

This command will add a default route (gateway). You should create an /etc/defaultrouter file with the IP to have it set to this for each boot.


route add default xxx.xxx.xxx.xxx

 

2 Comments -


  1. Sur_hodge said on November 7, 2010

    is it possible to change defaultroute while system is running ?

  2. Steven Xie said on November 23, 2010

    yes. route add default xxx.xxx.xxx.xxx does it while system is running.

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -