JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Network Interfaces and Network Virtualization     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information


1.  Overview of the Networking Stack

Network Configuration in This Oracle Solaris Release

The Network Stack in Oracle Solaris

Network Devices and Datalink Names

Administration of Other Link Types

Part I Network Auto-Magic

2.  Introduction to NWAM

3.  NWAM Configuration and Administration (Overview)

4.  NWAM Profile Configuration (Tasks)

5.  NWAM Profile Administration (Tasks)

6.  About the NWAM Graphical User Interface

Part II Datalink and Interface Configuration

7.  Using Datalink and Interface Configuration Commands on Profiles

8.  Datalink Configuration and Administration

9.  Configuring an IP Interface

About IP Interface Configuration

The ipadm Command

IP Interface Configuration (Tasks)

SPARC: How to Ensure That the MAC Address of an Interface Is Unique

Configuring IP Interfaces

How to Configure an IP Interface

Setting IP Address Properties

How to Set the Property of an IP Address

Setting IP Interface Properties

Enabling Packet Forwarding

Administering Protocol Properties

Setting TCP/IP Properties

How to Restrict a Port's Access to root User Only

How to Implement Symmetric Routing on Multihomed Hosts

Monitoring IP Interfaces and Addresses

How to Obtain Information About Network Interfaces

Troubleshooting Interface Configuration

The ipadm command does not work.

IP address cannot be assigned with the ipadm create-addr command.

The message cannot create address object: Invalid argument provided is displayed during IP address configuration.

The message cannot create address: Persistent operation on temporary object during IP interface configuration

Comparison Tables: ipadm Command and Other Networking Commands

ifconfig Command Options and ipadm Command Options

ndd Command Options and ipadm Command Options

10.  Configuring Wireless Interface Communications on Oracle Solaris

11.  Administering Bridges

12.  Administering Link Aggregations

13.  Administering VLANs

14.  Introducing IPMP

15.  Administering IPMP

16.  Exchanging Network Connectivity Information With LLDP

Part III Network Virtualization and Resource Management

17.  Introducing Network Virtualization and Resource Control (Overview)

18.  Planning for Network Virtualization and Resource Control

19.  Configuring Virtual Networks (Tasks)

20.  Using Link Protection in Virtualized Environments

21.  Managing Network Resources

22.  Monitoring Network Traffic and Resource Usage



IP Interface Configuration (Tasks)

This section describes basic configuration procedures on an IP interface. The following table describes configuration tasks and maps these tasks to their corresponding procedures.

Table 9-1 Configuring IP Interfaces (Task Map)

For Instructions
Set a system to support unique MAC addresses.
Configures a SPARC based system to allow unique MAC addresses for interfaces.
Perform basic IP interface configuration by using the ipadm command.
Creates an IP interface and assigns valid IP addresses, either static or DHCP.
Customize an IP address by using the ipadm command.
Sets the network ID of a given IP address.
Obtain interface information by using the ipadm command.
Lists different properties of interfaces, addresses, and protocols and their corresponding settings.

SPARC: How to Ensure That the MAC Address of an Interface Is Unique

Some applications require every interface on a host to have a unique MAC addresses. However, every SPARC based system has a system-wide MAC address, which by default is used by all interfaces. Here are two situations where you might want to configure the factory-installed MAC addresses for the interfaces on a SPARC system.

The EEPROM parameter local-mac-address? determines whether all interfaces on a SPARC system use the system-wide MAC address or their unique MAC address. The next procedure shows how to use the eeprom command to check the current value of local-mac-address? and change it, if necessary.

  1. Become an administrator.

    For more information, see How to Obtain Administrative Rights in Oracle Solaris Administration: Security Services.

  2. Determine whether all interfaces on the system currently use the system-wide MAC address.
    # eeprom local-mac-address?

    In the example, the response to the eeprom command, local-mac-address?=false, indicates that all interfaces do use the system-wide MAC address. The value of local-mac-address?=false must be changed to local-mac-address?=true before the interfaces can become members of an IPMP group. You should also change local-mac-address?=false to local-mac-address?=true for aggregations.

  3. If necessary, change the value of local-mac-address? as follows:
    # eeprom local-mac-address?=true

    When you reboot the system, the interfaces with factory-installed MAC addresses now use these factory settings, rather than the system-wide MAC address. Interfaces without factory-set MAC addresses continue to use the system-wide MAC address.

  4. Check the MAC addresses of all the interfaces on the system.

    Look for cases where multiple interfaces have the same MAC address. In this example, all interfaces use the system-wide MAC address 8:0:20:0:0:1.

    # dladm show-linkprop -p mac-address
    LINK   PROPERTY       PERM VALUE             DEFAULT           POSSIBLE
    net0   mac-address    rw   8:0:20:0:0:1      8:0:20:0:0:1      --
    net1   mac-address    rw   8:0:20:0:0:1      8:0:20:0:0:1      --
    net3   mac-address    rw   0:14:4f:45:c:2d   0:14:4f:45:c:2d   --

    Note - Continue to the next step only if more than one network interface still has the same MAC address. Otherwise, go on to the final step.

  5. If necessary, manually configure the remaining interfaces so that all interfaces have unique MAC addresses.
    # dladm set-linkprop -p mac-address=mac-address interface 

    In the example in the previous step, you would need to configure net0 and net1 with locally administered MAC addresses. For example, to reconfigure net0 with the locally administered MAC address 06:05:04:03:02, you would type the following command:

    # dladm set-linkprop -p mac-address=06:05:04:03:02 net0 

    Refer to the dladm(1M) man page for details about this command.

  6. Reboot the system.