Hello Daniel,
Thanks for the quick response.
By changing the above lines in the xml file, when applying/saving the changes, it reverts back. Still I could notice the FORWARDING mode as routed, not as NAT for IPv6. Please find the attached screenshot for your reference.
Please share your observations.
Regards,
Vaishnavi
On Tue, Aug 23, 2022 at 8:29 PM Daniel P. Berrangé <berrange@xxxxxxxxxx> wrote:
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 :|
Attachment:
ip6.png
Description: PNG image
Attachment:
Routed_ipv6.png
Description: PNG image