On Mon, 30 Jul 2012 10:24:31 -0500, Bruce Dubbs <bruce.du...@gmail.com> wrote:

> According to the udev-182 rule, the vmware nics have a mac address of
> 00:0c:29:xx:xx:xx or 00:50:56:xx:xx:xx.  That matches the only version
> of vmware that I have access to.  That rule,
> 75-persistent-net-generator.rules, skips running the write_net_rules
> script for vmware:
> 
> # ignore VMWare virtual interfaces
> ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*",
> GOTO="persistent_net_generator_end"
> 
> My supposition is that vmware generates the last 3 bytes of the mac
> addresses randomly at each boot, but I really don't know.  I speculate
> that they could also be set explicitly by the admin.

Ah yes.  The last 3 bytes are determined by a heuristic and can change if,
for example, you copy the VM from one host to another.  They can also be
explicitly set by the admin, but I've not seen that done yet.

I can only assume from experience and from the above rule that VMWare will
guarantee that the NICs will appear on the bus in the same order across
reboots, therefore meaning that there is no need for a persistent udev rule.
I therefore think it's probably safer to keep that 'ignore VMWare virtual
interfaces' rule in there.

Regards,

Matt.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to