reconfiguring a two vms bridge to two vms + the host with proper iface naming

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

 



Greetings,

I have two vms (vm1 and vm2) connected via a bridge named br1.
libvirt creates two taps, tap0 and tap1

I'm trying to rename them to some thing more meaningful for starts.
I assume that I cannot use vnet-vm1 or vnet-vm2 so I decided to configure it like this:
vm1:
  <interface type='bridge'>
    <source bridge='br1'/>
    <target dev='vnet1'/>
  </interface>

vm2:
  <interface type='bridge'>
    <source bridge='br1'/>
    <target dev='vnet2'/>
  </interface>

but when start the vms, the iface names are still tap1 and tap2. am I doing something wrong?

in addition, I want to add the host to br1, so I ran this after the bridge exists: ip link set dev tap3 master br1

I see it when I run brctl show br1, but I'm unable to get ip, am I doing something wrong here too?

Thanks,

Dagg.



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux