On 10/28/09 10:59, mike demarco wrote:
Thanks Girish:
dladm create-vnic -l rge0 -m random -r 'allowed vendor OUI address' vnic5
dladm: invalid MAC address
Well that command wasn't supposed to be used 'as-is'. You are supposed to fill
in the value for -r option with a prefix that is allowed at your work.
A mac address, which is 6 bytes long, is divided into two equal parts. First
part is OUI specific (vendor specific) and 2nd part is NIC specific. So to the
-r option above specify the first part.
dladm create-vnic -l rge0 -m random -r 0:3:ba vnic5.
Note: don't use '0:3:ba', you have to find out what is that value in your case.
~Girish
PS: Note that mac-address 'collision' detection, outside the system, is not yet
available. So there is a possibility that you might create VNIC with a mac
address that belongs to other system in that network. Things might go wrong with
such a setup.
_______________________________________________
networking-discuss mailing list
[email protected]