2011-11-14

Solaris 11 default route

Q: How to add a default gateway on a Solaris 11 system?

A:
      route -p add default 192.168.1.1



Explanation: If you happened to be a Solaris administrator since version 2.3, like me, you were used to create a file
 
      /etc/defaultrouter 

But not any more! The "route -p" certainly is a good thing, I'll remember that.

No comments:

Post a Comment