|Skip Navigation Links|
|Exit Print View|
|Transitioning From Oracle Solaris 10 to Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library|
The following commands are used to manage network configuration:
dladm – Configures datalinks. The command creates persistent configuration that is applied to the currently active profile on the system (fixed and reactive).
ipadm – Configures IP interfaces and addresses. The command creates persistent configuration that is applied to the currently active profile on the system (fixed and reactive).
netcfg – Administers reactive network configuration on the system for both active and non-active NCPs.
netadm – Displays information about the system's network profiles; enables and disables NCPs and Locations.
Starting with Oracle Solaris 11.1, you can use fixed networking commands to manage reactive NCPs, provided that the NCP is currently active. This change applies generally to all fixed networking commands. You can still use the netcfg and netadm commands to manage any reactive NCP (active and non-active).
Note the following additional information about using networking commands in this release:
The dladm and ipadm commands are used to configure datalinks and IP interfaces, respectively, for the currently active NCP (fixed and reactive).
The netcfg command is used to configure other properties of reactive NCPs (active and non-active).
You cannot use the netcfg and netadm commands to administer the DefaultFixed NCP, which is the system's only fixed NCP. However, you can view the properties and the status (online or offline) of this NCP by using these commands.
Configure and view properties that refer to the default route, as follows:
For both fixed and reactive NCPs, you can use the route -p add command to create a static route (default or otherwise) that is applied to the currently active NCP. This command directly sets the default route in the system's routing table. See Creating Persistent Routes (Fixed and Reactive).
For reactive NCPs only, you can use the netcfg command to create a single, per-interface default route. To view the default route for the NCP, use the netcfg command.
To view the currently active routes on a system for any NCP, use the netstat -rn command.