Configuring the default gateway in Solaris 11 without /etc/defaultrouter
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:
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
1