Support for IPv6 NAT Mode
Daniel P. Berrangé
berrange at redhat.com
Tue Aug 23 14:59:52 UTC 2022
On Tue, Aug 23, 2022 at 08:07:57PM +0530, vaishu venkat wrote:
> Hi Team,
> We currently experiment with the IPv6 application inside the
> QEMU/KVM. But by default, Ipv6 is only enabled in the route mode, not able
> to figure out how to change this NAT mode. I have attached the screenshot
> for your reference.
>
> Could you please guide us for changing the IPv6 in NAT mode.
You need to use the XML editting UI to change to set the 'ipv6=yes'
attribute on the <nat> element, eg
<network>
<name>demo</name>
<uuid>.....</uuid>
<forward mode="nat">
<nat ipv6="yes">
<port start="1024" end="65535"/>
</nat>
</forward>
....
<ip address="192.168.100.1" netmask="255.255.255.0">
</ip>
<ip family="ipv6" address="fd23:3333:3333:2222::" prefix="64">
</ip>
</network>
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 :|
More information about the virt-tools-list
mailing list