Oracle Solaris Networking (MOSC)

MOSC Banner

Configuring the default gateway in Solaris 11 without /etc/defaultrouter

edited Jan 3, 2012 3:35AM in Oracle Solaris Networking (MOSC) 5 comments
Hi,
It seems that in Solaris 11 the best way to configure the default gateway is not anymore with the /etc/defaultrouter.
I started to look for how to do it and I think I've founded the information in How to Add a Static Route to the Routing Table.

But note that Example 3-4 has a typo as we should not specify the CIDR notation after the -gateway IP_Address.

Furthermore, I haven't noticed an specific instruction for the default gateway.
I think there should be such an explicit instruction documented there.
What seems to have worked for me was:
# route -p add -net default -gateway X.Y.Z.W

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center