On Oct 28, 2009, at 7:35 AM, Mike DeMarco wrote:
I need to setup a vnic using dladm and need to have a sun valid mac
address assigned to it.
If I do:
dladm create-vnic -l rge0 -m factory vnic0
Sun manages the allocation of addresses from its reserved pool (IEEE
OUI). If you generate an address out of that pool then you run the
risk of introducing a collision with an existing NIC on your network.
That space of MAC address values (the IEEE OUI) is managed by Sun and
you should not allocate addresses from that pool, or you risk having
collisions.
Some NICs such as the Sun 10G NIC come out of the factory with
multiple Sun MAC addresses burned-in. By default we first try to
allocate one of these addresses to the created VNICs, and if none is
available we fallback to random MAC addresses. Or you can explicitly
ask for a factory MAC address, and if none are available we fail the
operation.
For random VNIC MAC addresses by default we use prefix corresponding
to a Sun OUI with the local bit set, which avoids potential conflicts
with real devices. You can provide your own prefix if you'd like, but
if you specify an existing IEEE OUI as-is such as Sun's, you risk
conflicts with physical devices.
Nicolas.
dladm: vnic creation over rge0 failed: operation not supported
dladm create-vnic -l rge0 -m random vnic5
works and created a vnic but with a mac address that does not belong
to sun.
At work they have detection software running that flags non vendor
mac addresses so I need to be able to assign a valid sun mac address
to this vnic.
How can I get this to work?
--
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]
--
Nicolas Droux - Solaris Kernel Networking - Sun Microsystems, Inc.
[email protected] - http://blogs.sun.com/droux
_______________________________________________
networking-discuss mailing list
[email protected]