
On Thu, Oct 24, 2024 at 06:18:26PM +0200, daggs via Users wrote:
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?
I didn't think libvirt created devices with 'tapXXX' naming, all our generated names should be 'vnetXXX', and we reserve 'vnet' as a prefix for our own use and will thus discard any such name if the user specifies it in the XML. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|