Add an iSCSI Interface to a Subnet

You can add (assign) an iSCSI interface to a subnet using the Draft network configuration profile to validate and activate the interface.
  1. Create a Draft network configuration profile from the Active profile.
    netconfig --create_draft_from active
  2. Add an iSCSI interface to a subnet.
    nic --assign nic --netconfig draft [--array {name | serial}] [--subnet subnet-label] [--tagged {yes | no}] [--data_ip addr]
  3. Validate the Draft network configuration profile.
    netconfig --validate draft
    The array OS validates the configuration. If an error exists, the array OS returns an error message. Resolve all errors before proceeding to the next step.
  4. Activate the Draft network configuration profile.
    netconfig --activate draft --force_ip_update

Adding the eth1 interface to the sub5 subnet using the Draft network configuration profile:

$ netconfig --create_draft_from active
$ nic --assign eth1 --netconfig draft --array prod22 --subnet sub5 --tagged yes --data_ip 192.168.50.50     
$ netconfig --validate
INFO: Configuration is valid.
$ netconfig --activate