19.12.2019 20:31, Martin T пишет:
I have six virtual bridges in xen host machine and following virtual
machine configuration file section defining the vifs:
vif = [
'bridge=br40', 'bridge=br50', 'bridge=br60'
This means that in the guest(openSUSE Leap 42.1) I have six vNICs(eth0
- eth5). Can I be sure that eth0 is always connected to br10, eth1 to
I would expect interfaces to be enumerated according to the ordering in
guest definition. Do you have evidence that it does not happen?
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,
mac=00:14:5E:11:C6:F2', 'bridge=br30, mac=00:14:5E:11:C6:F3',
'bridge=br40, mac=00:14:5E:11:C6:F4', 'bridge=br50,
mac=00:14:5E:11:C6:F5', 'bridge=br60, mac=00:14:5E:11:C6:F6'
.. 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? Or maybe there is a better way using
To unsubscribe, e-mail: opensuse+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse+owner(a)opensuse.org