[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH v2 07/19] ts-host-install: don't use the new nic naming scheme

Wei Liu writes ("Re: [Xen-devel] [OSSTEST PATCH v2 07/19] ts-host-install: 
don't use the new nic naming scheme"):
> On Fri, Jan 19, 2018 at 05:08:09PM +0000, Ian Jackson wrote:
> > 1. persistent-net.rules contains information saying "if nic with
> > address aa:bb:cc:dd:ee:ff shows up, call it eth2; also, do not call
> > anything else eth2".  So it has nothing to do with ip addresses.
> The rule is generated by osstest, which says "please make this nic have
> mac address XXXX". That would cause the guest to have the same mac
> address as the host. When the guest is up and asks DHCP server for an
> IP, it gets the host's IP.

persistent-net.rules (at least the parts of it generated by
persistent-net-generator) does not change the mac addresses of nics.
It matches according to the mac address and changes their "names".

I hope the osstest-generated one is no different.  I'm not even sure
it's possible to change the mac address from a udev rule and if it is
certainly nothing near us should do it.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.