Re: Support for IPv6 NAT Mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux