Comment 13 for bug 341006

Revision history for this message
Scott Moser (smoser) wrote :

I just re-read the above and see that xen devices are currently ignored. Given that, I do think it makes sense to also handle vmware (and possibly even virtio devices the same way).

That said, we don't want xen, vmware, or any systems with multiple network interfaces to give non-deterministic ordering. If its not already common, I would expect virtual machines with multiple interfaces to be common in the future. It would be nice to something to handle that correctly.

Would it be possible to do add persisitent rules based not on MAC addr, but on bus location? The idea would be that in a new VM, the devices would be attached the same, but different MACs. if the rule said:
  "device on pci bus at 0000:00:19.0 is eth0"
  "device on pci bus at 0000:00:19.1 is eth1"
That might be persistent across VMs (or at very least could be made to be), and would be deterministic for multiple network devices.