ip6 for VM
diversity
virt-tools-list at diversity.nl
Tue Aug 16 10:53:20 UTC 2022
using virt machine manager 3.2.0
on a debian 11 host running a gnome desktop
I'd like to have the VM's get a global ip6 address.
The host is getting a global ip6 address from the DHCP server through a
wireless access point that creates a 'wlp4s0' interface on the host.
To confirm the ip6 is indeed global I first use
ip a to see what is the global ip6 address with scope global dynamic
noprefixroute on the host.
Then see if that ip6 address is detected when visiting whatismyip.com
using a browser on the host and the detected ip6 address matches the
global ip6 address listed using ip a command
I have 3 options in the virt manager GUI for networking options
NAT, Bridge, Macvtap device
NAT, if I am not mistaken, is IP4 so not relevant.
Bridge with 'wlp4s0' as device name result in this error.
"
Error starting domain: Unable to add bridge wlp4s0 port vnet2: Operation
not supported
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in
cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 101, in
tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py",
line 57, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line
1329, in startup
self._backend.create()
File "/usr/lib/python3/dist-packages/libvirt.py", line 1353, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: Unable to add bridge wlp4s0 port vnet2: Operation
not supported
"
Macvtap device, with 'wlp4s0' as device name does not result in an
error. However what ever I try in the VM (ubuntu 20.4 desktop) no ip6
lease is being gotten.
Can anyone please direct me to documentation on how to set this up? or
perhaps if documentation does not exist yet give some hints on how to
proceed?
More information about the virt-tools-list
mailing list