The following procedure describes how to preserve the default route when you configure IPMP.
You must use the console to perform this procedure. If you use the ssh or telnet command to log in, the connection is lost when you perform the subsequent steps.
# netstat -nr
# route -p delete default gateway-address -ifp interface
# route -p add default gateway-address
# netstat -nr
# svcadm restart routing-setup
This example assumes that the default route was defined for net0 during the installation.
# netstat -nr Routing Table: IPv4 Destination Gateway Flags Ref Use Interface ------------- ------------ -------- ----- ----------- -------- default 10.153.125.1 UG 107 176682262 net0 10.153.125.0 10.153.125.222 U 22 137738792 net0 # route -p delete default 10.153.125.1 -ifp net0 # route -p add default 10.153.125.1 # netstat -nr Routing Table: IPv4 Destination Gateway Flags Ref Use Interface ------------- ------------ -------- ----- ----------- -------- default 10.153.125.1 UG 107 176682262 10.153.125.0 10.153.125.222 U 22 137738792 net0