There is an error in the 1.6 version of 'vnic_setup.sh' when running on opensolaris b81. Not sure if this is build specific, but /usr/lib/vna returns only the vnic id and not the device name. 'vnic' needs to be prepended to the id.
The following patch should help:
Code: Select all
*** vnic_setup.sh Sat May 3 21:17:23 2008
--- vnic_setup.sh_orig Sat May 3 20:47:23 2008
***************
*** 41,47 ****
fi
# To use a specific physical NIC, replace $phys_nic with the name of the NIC.
! vnic_name="vnic"`/usr/lib/vna $phys_nic $mac`
if [ $? != 0 ]; then
exit 1
fi
--- 41,47 ----
fi
# To use a specific physical NIC, replace $phys_nic with the name of the NIC.
! vnic_name=`/usr/lib/vna $phys_nic $mac`
if [ $? != 0 ]; then
exit 1
fi