[libvirt] [Qemu-devel] ipv6 slirp network

Samuel Thibault samuel.thibault at gnu.org
Mon Jul 21 11:49:11 UTC 2014


Vasiliy Tolstov, le Mon 21 Jul 2014 15:42:54 +0400, a écrit :
> 2014-07-21 15:41 GMT+04:00 Samuel Thibault <samuel.thibault at gnu.org>:
> > ? The support was submitted to the list, but not commited.
> > You can find the patches on
> > http://lists.gnu.org/archive/html/qemu-devel/2014-03/msg05731.html
> > and later.
> > Unfortunately, nobody has yet found the time to review them.
> > Documentation is added by patch 18, you can choose the prefix being
> > exposed to userland just like with ipv4.
> 
> In case of ipv4 i have some default settings like network, dns and so.
> In case of ipv6 does i have some default?

Yes, see the added documentation:

+ at item ip6-net=@var{addr}[/@var{int}]
+Set IPv6 network address the guest will see. Optionally specify the prefix
+size, as number of valid top-most bits. Default is fec0::/64.
+                         
+ at item ip6-host=@var{addr}
+Specify the guest-visible IPv6 address of the host. Default is the 2nd IPv6 in
+the guest network, i.e. xxxx::2.

+ at item ip6-dns=@var{addr}
+Specify the guest-visible address of the IPv6 virtual nameserver. The address
+must be different from the host address. Default is the 3rd IP in the guest
+network, i.e. xxxx::3.

Most probably you'll want to set ip6-net to something else than
fec0::/64 since OSes usually prefer IPv4 over fec0::/64.

Samuel




More information about the libvir-list mailing list