Support for IPv6 NAT Mode

vaishu venkat vaishu071998 at gmail.com
Wed Aug 24 04:52:29 UTC 2022


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 at redhat.com>
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 :|
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20220824/56cf1397/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ip6.png
Type: image/png
Size: 74628 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20220824/56cf1397/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Routed_ipv6.png
Type: image/png
Size: 56998 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20220824/56cf1397/attachment-0001.png>


More information about the virt-tools-list mailing list