By default, your network settings are automatically configured during installation by the NWAM process. You can modify the way NWAM works by using the options in the NWAM Manager Icon Menu, as explained in [Managing a System's Automatic Network Configuration (Tasks)]. Or, you can change aspects of the configuration by editing NWAM's configuration file, {{/etc/nwam/llp}}.
The following procedure explains how to directly modify the {{/etc/nwam/llp}} file.
# {include:root_step}
# *Stop the NWAM service.*
{code}
# svcadm disable network/physical:nwam
{code}
# *Open the {{/etc/nwam/llp}} file by using a text editor.*
The file contains the following parameter definition for each network interface on the system:
{code}
interface dhcp
{code}
where {{interface}} is the network interface such as {{bge0}}. If you have one interface each for a wired connection and a wireless connection, the interface for the wired connection is listed first, as follows:
{code}
(wired)-interface dhcp
..
(wireless)-interface dhcp
{code}
# *Modify NWAM's configuration process by performing the following steps, as needed:*
## *Force NWAM to configure wireless networks before wired networks.*
If separate interfaces for wired and wireless connections exist in the system, reverse the file's definitions, as follows:
{code}
(wireless)-interface dhcp
..
(wired)-interface dhcp
{code}
## *Force NWAM to use static IP addressing instead of DHCP.*
To cause NWAM to assign a static IP address, replace the {{dhcp}} option with the {{static}} option and an IP address. For example:
{code}
interface static 192.168.10.3/24
{code}
# *After you save the new settings, restart the NWAM service.*
{code}
# svcadm enable network/physical:nwam
{code}
{include:bottom_navigation}
The following procedure explains how to directly modify the {{/etc/nwam/llp}} file.
# {include:root_step}
# *Stop the NWAM service.*
{code}
# svcadm disable network/physical:nwam
{code}
# *Open the {{/etc/nwam/llp}} file by using a text editor.*
The file contains the following parameter definition for each network interface on the system:
{code}
interface dhcp
{code}
where {{interface}} is the network interface such as {{bge0}}. If you have one interface each for a wired connection and a wireless connection, the interface for the wired connection is listed first, as follows:
{code}
(wired)-interface dhcp
..
(wireless)-interface dhcp
{code}
# *Modify NWAM's configuration process by performing the following steps, as needed:*
## *Force NWAM to configure wireless networks before wired networks.*
If separate interfaces for wired and wireless connections exist in the system, reverse the file's definitions, as follows:
{code}
(wireless)-interface dhcp
..
(wired)-interface dhcp
{code}
## *Force NWAM to use static IP addressing instead of DHCP.*
To cause NWAM to assign a static IP address, replace the {{dhcp}} option with the {{static}} option and an IP address. For example:
{code}
interface static 192.168.10.3/24
{code}
# *After you save the new settings, restart the NWAM service.*
{code}
# svcadm enable network/physical:nwam
{code}
{include:bottom_navigation}