Troubleshooting Network Administration Issues in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Error Message: cannot create address object: Invalid argument provided Displayed During IP Address Configuration

The address object identifies a specific IP address that is bound to an IP interface. The address object is a unique identifier for each IP address on the IP interface. You must specify a different address object to identify a second IP address that you assign to the same IP interface. If you want to use the same address object name, you must delete the first instance of the address object before assigning it to a different IP address.

    Use one of the following methods:

  • Specify a different address object to identify a second IP address as follows:

    # ipadm show-addr
    ADDROBJ   TYPE     STATE   ADR
    lo0       static   ok      127.0.0.1/10
    net0/v4   static   ok      192.168.10.1
    
    # ipadm create-addr -T static -a 192.168.10.5 net0/v4b
    # ipadm show-addr
    ADDROBJ   TYPE     STATE   ADR
    lo0       static   ok      127.0.0.1/10
    net0/v4   static   ok      192.168.10.1
    net0/v4b  static   ok      192.168.10.5
  • Delete the first instance of the address object, then assign the same address object to a different IP address, as follows:

    # ipadm show-addr
    ADDROBJ   TYPE     STATE   ADR
    lo0       static   ok      127.0.0.1/10
    net0/v4   static   ok      192.168.10.1
    # ipadm delete-addr net0/v4
    # ipadm create-addr -T static -a 192.168.10.5 net0/v4
    # ipadm show-addr
    ADDROBJ   TYPE     STATE   ADR
    lo0       static   ok      127.0.0.1/10
    net0/v4   static   ok      192.168.10.5