On Thu, Dec 19, Martin T wrote:
Or should I specify a MAC address for each vNIC created like this: vif = [ 'bridge=br10, mac=00:14:5E:11:C6:F1', 'bridge=br20,
.. and then configure udev rules which make sure that interface associated with MAC 00:14:5E:11:C6:F1 and br10 is always named eth0, interface associated with MAC 00:14:5E:11:C6:F2 and br20 is always named eth1, etc?
To make sure the frontend can identify a certain network interface at least one identifier must be provided by the backend. According to xl-network-configuration(5) mac= is the only way to specify such identifier. A udev rule must be used to map identifiers to interface names. It is important to use a different namespace for interface names. In other words: do not rename them to ethN in such rules. A rename will happen while the kernel still enumerates the remaining interfaces. This leads to clashes. Olaf