View previous topic :: View next topic |
Author |
Message |
leonchik1976 Apprentice

Joined: 24 Jan 2010 Posts: 225
|
Posted: Wed Nov 01, 2017 9:58 am Post subject: Cannot create bridge interface |
|
|
I'm trying to create a bridge interface with "Virtual Machine Manager", and no matter what i try, is gives me the following error
Error creating interface: 'Could not define interface: this function is not supported by the connection driver: virInterfaceDefineXML'
Code: | Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createinterface.py", line 1145, in do_install
self.interface.install(meter, create=activate)
File "/usr/share/virt-manager/virtinst/interface.py", line 258, in install
raise RuntimeError(_("Could not define interface: %s") % str(e))
RuntimeError: Could not define interface: this function is not supported by the connection driver: virInterfaceDefineXML
|
any help would appreciated, thanks
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 2668 Location: Frankfurt, Germany
|
Posted: Wed Nov 01, 2017 10:08 pm Post subject: |
|
|
Hi leonchik1976,
you could try to set up the bridge manually -- in order to see whether the problems come from your kernel, your configuration tools or from your "Virtual Machine Manager":
Code: | tunctl -u kvm -t tap0
tunctl -u kvm -t tap1
brctl addbr br0
brctl addif br0 tap0
brctl addif br0 tap1
brctl show br0 | Mike |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 7866 Location: almost Mile High in the USA
|
Posted: Thu Nov 02, 2017 5:50 pm Post subject: |
|
|
As far as I know, VMM/libvirt/qemu can't create bridges, nor would it be proper for it to create bridges to nowhere. So yes, you have to make the bridge outside of VMM.
It can create an exit/tap off the bridge however, which is what I suppose was the intent of the option in VMM. _________________ Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
bbgermany Veteran


Joined: 21 Feb 2005 Posts: 1799 Location: Oranienburg/Germany
|
Posted: Fri Nov 03, 2017 5:33 am Post subject: |
|
|
eccerr0r wrote: | As far as I know, VMM/libvirt/qemu can't create bridges, nor would it be proper for it to create bridges to nowhere. So yes, you have to make the bridge outside of VMM.
It can create an exit/tap off the bridge however, which is what I suppose was the intent of the option in VMM. |
Hi, this is correct. You need to configure your bridge in /etc/conf.d/net first and start it, with the tap interface already connected to the bridge, before running vmm and creating a new vm.
greets, bb _________________ 1st: i5-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|